Thread (11 messages) 11 messages, 3 authors, 2012-03-13

Re: [PATCH 1/2] HID: hid-lg4ff add support for G27 LEDs

flat view

From: Mark Brown <hidden>
Date: 2012-03-12 18:32:40
Also in: lkml

On Mon, Mar 12, 2012 at 02:19:25PM -0400, simon@mungewell.org wrote:
quoted
On Mon, Mar 12, 2012 at 02:04:14PM -0400, simon@mungewell.org wrote:
quoted
quoted
At the moment you'd just drive the LEDs simply, ie:
$ echo 31 > /sys/bus/hid/devices/.../leds
quoted
Shouldn't this be using the LED subsystem the kernel already has?
The LED subsystem appears to be aim at controller chips (ie. lp3944) which
are connected to a bus (I2C) in a generalised form. I guess people might
be doing 'blinken light' type systems.
Not really, it's aimed at supporting LEDs in general.  Obviously most of
the drivers are for specific controller chips which makes them more
visible but there's also things like the triggers.
The LEDs on the G27 are very much more specific, mounted on the yoke of
the gaming wheel.
Would this require the use/complexity of the LED subsystem?
Well, it'd mean that applications that know how to drive LEDs will be
able to use the LEDs on this wheel with less per device knowledge which
seems like a useful thing and if someone wants to remap a LED to "new
mail" or whatever that'll be easier (nethack has the mailer daemon
deliver a scroll of mail!).

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help