Question

What is a "USB user Space device driver for a custom device?"

Was it helpful?

Solution

A user-space device driver is a piece of software (a library or a daemon) that is used to get access to a custom device (a gadget). The difference with a kernel driver is that the user-space driver is run from the normal user-space, not from the kernel. That is, it is compiled and run as normal code just as any other program/library.

In order to do this, you need to access the low-level USB features from your program, but the Linux kernel gently provides that. Anyway, do not try to talk to the kernel directly, that is madness. Instead use a USB library, such as libusb

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top