Re: Generic USB LED HID driver

2024-01-19 Thread Kirill Yatsenko
> > Hello Greg, > > > > Thanks for the suggestions! > > Yes, it will be better to implement the communication from the userspace. > > > > However, I was curious if the kernel implements some generic LED HID > > interface already, > > without the need to write custom code. Similarly, as it's done

Re: Generic USB LED HID driver

2024-01-19 Thread Greg KH
On Fri, Jan 19, 2024 at 12:45:52PM +0100, Kirill Yatsenko wrote: > Hello Greg, > > Thanks for the suggestions! > Yes, it will be better to implement the communication from the userspace. > > However, I was curious if the kernel implements some generic LED HID > interface already, > without the

Re: Generic USB LED HID driver

2024-01-19 Thread Kirill Yatsenko
Hello Greg, Thanks for the suggestions! Yes, it will be better to implement the communication from the userspace. However, I was curious if the kernel implements some generic LED HID interface already, without the need to write custom code. Similarly, as it's done for example for the HID

Re: Generic USB LED HID driver

2024-01-19 Thread Greg KH
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