From: Greg KH <greg@kroah.com>
To: Kirill Yatsenko <kirill31051997f@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Generic USB LED HID driver
Date: Fri, 19 Jan 2024 12:17:20 +0100 [thread overview]
Message-ID: <2024011939-geologist-manual-8471@gregkh> (raw)
In-Reply-To: <CA+rTsQ5KnowUONBX9fDDZKmceMBdK9G32SPXhBnHs_mDab2rqw@mail.gmail.com>
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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2024-01-19 11:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 10:21 Generic USB LED HID driver Kirill Yatsenko
2024-01-19 11:17 ` Greg KH [this message]
2024-01-19 11:45 ` Kirill Yatsenko
2024-01-19 12:07 ` Greg KH
2024-01-19 12:40 ` Kirill Yatsenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2024011939-geologist-manual-8471@gregkh \
--to=greg@kroah.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=kirill31051997f@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.