yes that is the right way ofcourse they call the kernel API copy_from_user and copy_to_user, anyway i know only LKM's through which u read or write to kernel rather u say device driver whole set of device drivers in Device driver book by rubini are online .along with book,very interesting to try them out Prasanna --- bunty <bunty123_4@rediffmail.com> wrote: > > hello, > can i use a char device driver file to read and > write to it from kernel. > the file is created by me in /proc entry from > kernel. > if any other way is possible please tell me. > also where can i get resources on writing a device > driver file? > regards, > parag. __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/