From: Oliver Neukum <oliver@neukum.org>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org
Subject: Re: question on LEDs on keyboards
Date: Tue, 14 Oct 2008 20:13:59 +0200 [thread overview]
Message-ID: <200810142014.00517.oliver@neukum.org> (raw)
In-Reply-To: <alpine.LNX.1.10.0810141530220.26779@jikos.suse.cz>
Am Dienstag, 14. Oktober 2008 15:32:41 schrieb Jiri Kosina:
> On Tue, 14 Oct 2008, Oliver Neukum wrote:
>
> > I found an error in the hid autosuspend patches. Keyboards can have more
> > than one LED. Is there a way to query the HID layer about active LEDs?
>
> Hi Oliver,
>
> you can either get the information from the underlying input device, or
> you can use hidinput_find_field() to find the fields of EV_LED type, and
> obtain the value from the offset that this function gives you.
What is the prefered way of doing that? There seems to be no hid_get_field().
Regards
Oliver
next prev parent reply other threads:[~2008-10-14 18:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-14 13:20 question on LEDs on keyboards Oliver Neukum
2008-10-14 13:32 ` Jiri Kosina
2008-10-14 18:13 ` Oliver Neukum [this message]
2008-10-16 0:06 ` Jiri Kosina
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=200810142014.00517.oliver@neukum.org \
--to=oliver@neukum.org \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox