Mail LED on Clevo notebook

modulename: leds-clevo-mail.ko


Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>Mail LED on Clevo notebook
In linux kernel since version 2.6.25 (release Date: 2008-04-16)  
This driver makes the mail LED accessible from userspace
programs through the LEDs subsystem. This LED has three
known modes: 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 its brightness it blinks instead. The brightness
value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
blink at 1Hz.

This module can drive the mail LED for the following notebooks:

Clevo D400P
Clevo D410J
Clevo D410V
Clevo D400V/D470V (not tested, but might work)
Clevo M540N
Clevo M5x0N (not tested, but might work)
Positivo Mobile (Clevo M5x0V)

If your model is not listed here you can try the "nodetect"
module parameter.

To compile this driver as a module, choose M here: the
module will be called leds-clevo-mail.

source code: