Re: user space device drivers

2013-05-14 Thread Gergely Buday
Prabhu nath wrote: But if the device has to generate an interrupt on the reception of the data then it is best for the driver code to be in the kernel space waiting for the data, rather than in the user space because there is no efficient mechanism till now for the control to be transferred

Re: user space device drivers

2013-05-14 Thread Prabhu nath
One that I know is through proc interface where the interrupt info is lodged in a file in /proc and the user code keeps polling on this file. Exact use of this is to be looked for. On Tue, May 14, 2013 at 3:24 PM, Gergely Buday gbu...@gmail.com wrote: Prabhu nath wrote: But if the device

Re: user space device drivers

2013-05-14 Thread Pietro Paolini
On May 13, 2013, at 9:52 PM, Gergely Buday gbu...@gmail.com wrote: Hi there, I learned, e.g. from here that user space device drivers are indeed possible: http://www.makelinux.net/ldd3/chp-2-sect-9 Are there serious user space drivers in Linux? Could you name a few? Or, is this just

Re: user space device drivers

2013-05-14 Thread richard -rw- weinberger
On Mon, May 13, 2013 at 9:52 PM, Gergely Buday gbu...@gmail.com wrote: Hi there, I learned, e.g. from here that user space device drivers are indeed possible: http://www.makelinux.net/ldd3/chp-2-sect-9 Are there serious user space drivers in Linux? Could you name a few? UIO has lots

Re: user space device drivers

2013-05-14 Thread richard -rw- weinberger
On Tue, May 14, 2013 at 11:54 AM, Gergely Buday gbu...@gmail.com wrote: Prabhu nath wrote: But if the device has to generate an interrupt on the reception of the data then it is best for the driver code to be in the kernel space waiting for the data, rather than in the user space because

Re: user space device drivers

2013-05-14 Thread Prabhu nath
to be in the kernel space. -- Regards, Prabhunath G Linux Trainer Bangalore On Tue, May 14, 2013 at 1:22 AM, Gergely Buday gbu...@gmail.com wrote: Hi there, I learned, e.g. from here that user space device drivers are indeed possible: http://www.makelinux.net/ldd3/chp-2-sect-9 Are there serious user

Re: user space device drivers

2013-05-14 Thread Gergely Buday
Are there serious user space drivers in Linux? Could you name a few? Printer drivers, scanner drivers, file system drivers etc. How can I find them? Are they in the kernel source tree? - Gergely ___ Kernelnewbies mailing list

Re: user space device drivers

2013-05-14 Thread richard -rw- weinberger
On Tue, May 14, 2013 at 10:18 AM, Gergely Buday gbu...@gmail.com wrote: Are there serious user space drivers in Linux? Could you name a few? Printer drivers, scanner drivers, file system drivers etc. How can I find them? Are they in the kernel source tree? They are everywhere except the

Re: user space device drivers

2013-05-14 Thread Sannu K
Are there serious user space drivers in Linux? Could you name a few? Printer drivers, scanner drivers, file system drivers etc. Hope this helps, Sannu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org