Messages in this thread | | | Date | Thu, 15 Apr 2010 22:29:44 -0700 | From | Dmitry Torokhov <> | Subject | Re: [PATCH 2/2] input: Add LED support to Synaptics device |
| |
On Thu, Apr 15, 2010 at 09:12:18PM +0200, Pavel Machek wrote: > 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...
Yep, LED_MUTE is not for "muting" touchpads.
-- Dmitry
| |