Generic USB LED HID driver

Greg KH greg at kroah.com
Fri Jan 19 06:17:20 EST 2024


On Fri, Jan 19, 2024 at 11:21:51AM +0100, Kirill Yatsenko wrote:
> Hello,
> 
> I'm trying to find the Linux kernel driver in the tree that implements the
> HID LED usage table.
> The only driver that I've found is the hid-led.c. However, it seems to
> support only specific devices.
> 
> The device with which I'm trying to interface is the custom-made board with
> atxmega and some LEDS connected to it.
> Currently, the communication is done through the vendor-specific HID
> protocol.
> The custom USB HID kernel module is implemented to communicate with the
> device.

Why not do this from userspace using libusb or the generic hid userspace
api?  Why do you need a kernel driver?

thanks,

greg k-h



More information about the Kernelnewbies mailing list