On Wed, Aug 08, 2007 at 02:15:49PM -0700, ilya wrote: > hello, > > my name is ilya, i am a kernel newbie, and i just > joined the list in hopes of getting some insight on > linux device driver development. > > i am writing a kernel-mode driver for a pci card and > i need a mechanism to control the device via user-space > application. at first i had an additional character driver > initialized along with my driver and using fread/fwrite > i would transfer info back and forth. then i found out > about sysfs, so now i am using files in sysfs to > send "commands" to the driver and receive data back. Ick, don't do that, it will not scale and you will get very confused very quickly :) Try using the new UIO iterface, it sounds like it might be a better thing for this type of device. thanks, greg k-h -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ