Re: [PATCH 2/2] input: Add LED support to Synaptics device

From: Pavel Machek
Date: Fri Apr 16 2010 - 01:23:07 EST


Hi!

> The new Synaptics devices have an LED on the top-left corner.
> This is controlled via the command 0x0a with parameters 0x88 or 0x10.
>
> The detection of the LED isn't clear yet. It should have been the new
> capability bits that indicate the presence, but on real machines, it
> doesn't fit. So, for the time being, the driver checks the product id
> in the ext capability bits and assumes that LED exists on the known
> devices.
>
> The support of LED is controlled via a normal input event with EV_LED
> bit mask. It supports LED_MUTE bit. X driver can detect the LED
> support by checking these bits.

Could we use generic LED API for this? It is not really 'mute' led
after all...
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/