I create a simple and small module using char functions to use parport, now i'm ok to create the device with mknod and the file_operations struct with my functions to read, write... I like to know now how in my open function i can take information about the status of the parallel port because i can't understead in rubini's book (I know that the example in the book is not for parport.) how to do. (I know the macro MOD_INC_USE_COUNT and DEC) Kernel 2.4 Thanks to all Claudio Fiorini -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/