lkml.org 
[lkml]   [2007]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] leds-clevo-mail: driver for Clevo mail LED
Richard Purdie wrote:
> On Sun, 2007-10-21 at 14:55 +0200, Németh Márton wrote:
>> diff -uprN linux-2.6.23.orig/drivers/leds/Kconfig linux-2.6.23/drivers/leds/Kconfig
>> --- linux-2.6.23.orig/drivers/leds/Kconfig 2007-10-09 22:31:38.000000000 +0200
>> +++ linux-2.6.23/drivers/leds/Kconfig 2007-10-21 12:04:50.000000000 +0200
>> @@ -101,6 +101,39 @@ config LEDS_GPIO
>> outputs. To be useful the particular board must have LEDs
>> and they must be connected to the GPIO lines.
>>
>> +config LEDS_CLEVO_MAIL
>> + tristate "Mail LED on Clevo notebook (EXPERIMENTAL)"
>> + depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI && EXPERIMENTAL
>> + help
>> + This driver makes the mail LED accessible from userspace
>> + programs through the leds subsystem. This LED have three
>> + known mode: off, blink at 0.5Hz and blink at 1Hz.
>> +
>> + The driver supports two kinds of interface: using ledtrig-timer
>> + or through /sys/class/leds/clevo::mail/brightness. As this LED
>> + cannot change it's brightness it blinks instead. The brightness
>> + value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
>> + blink at 1Hz.
>
> Hmm, there really is no way to just turn the LED on? :(

I looked up the printed manual (which can be also found at
ftp://ftp.clevo.com.tw/USRMANUAL/D4x0J/D4x0J_CUG.zip ), page 9 contains
the following information:

LED Power & Communication Indicators:

Icon | Color | Description
-----+------------------+-----------------------------------------------
Mail | Blinking Green & | New mail has arrived
LED | Orange |
+------------------+-----------------------------------------------
| Fast Blinking | New mail has arrived from users defined
| Green & Orange | in the Special Group in the Auto Mail Checker
+------------------+-----------------------------------------------
| Green | The (optional) Wireless LAN module is On
+------------------+-----------------------------------------------
| Orange | The (optional) Bluetooth module is On
+------------------+-----------------------------------------------
| Half Orange/ | Both the (optional) Wireless LAN and Bluetooth
| Half Green | modules are On (see sidebar)
-----+------------------+-----------------------------------------------

Unfortunately I do not have these optional modules so I never saw the LED
just on without blinking. I don't know if there is any hardware limitation
turning on the LED without the optional modules.

I will send a new patch collection which addresses the other mentioned topics.

Márton Németh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-28 11:29    [W:0.079 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site