Difference between user space drivers and kernel space drivers
Hi All, I have been trying to figure out the difference between user space drivers and kernel space drivers. I have a few questions 1. What are user space drivers? 2. How are they beneficial and when are they usually used? -- Regards Manu Gupta
Hi Manu, Chp -02 in Linux device drivers book, has a section on user space drivers.You will find that useful.Below is the link: http://lwn.net/Kernel/LDD3/ On Mon, Jul 30, 2012 at 9:00 AM, Manu Gupta <manugupt1@opensuse.org> wrote:
Hi All,
I have been trying to figure out the difference between user space drivers and kernel space drivers. I have a few questions 1. What are user space drivers? 2. How are they beneficial and when are they usually used?
-- Regards Manu Gupta
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thanks Ankur You can follow me on twitter @ankurdwi
On Mon, Jul 30, 2012 at 9:00 AM, Manu Gupta <manugupt1@opensuse.org> wrote:
Hi All,
I have been trying to figure out the difference between user space drivers and kernel space drivers. I have a few questions 1. What are user space drivers? 2. How are they beneficial and when are they usually used?
-- Regards Manu Gupta
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
If an application or a library that communicates with device and exposes the device's functionality to the OS then it may be called as User space driver (this is just my own way of telling). These are application in user space so they can be managed easily. If there is a bug in the user space driver it will not crash the system (problems in Kernel mode driver may crash the system). Printers, Scanners, some USB devices usually have User space drivers. If the device does not have much of a real time requirement (no Interrupt etc) then they can have a user space driver (again this is my own way of telling). If I am wrong in please correct. Hope this helps, Sannu K
On 07/30/2012 05:30 AM, Manu Gupta wrote:
Hi All,
I have been trying to figure out the difference between user space drivers and kernel space drivers. I have a few questions 1. What are user space drivers? 2. How are they beneficial and when are they usually used?
Hi! This paper: https://www.osadl.org/fileadmin/dam/rtlws/12/Koch.pdf answers both questions. regards, andi
participants (4)
-
Andreas Platschek -
ankur dwivedi -
Manu Gupta -
Sannu K