About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / ABI / testing / sysfs-driver-hid-thingm


Based on kernel version 3.15.4. Page generated on 2014-07-07 08:59 EST.

1	What:		/sys/class/leds/blink1::<serial>/rgb
2	Date:		January 2013
3	Contact:	Vivien Didelot <vivien.didelot@savoirfairelinux.com>
4	Description:	The ThingM blink1 is an USB RGB LED. The color notation is
5			3-byte hexadecimal. Read this attribute to get the last set
6			color. Write the 24-bit hexadecimal color to change the current
7			LED color. The default color is full white (0xFFFFFF).
8			For instance, set the color to green with: echo 00FF00 > rgb
9	
10	What:		/sys/class/leds/blink1::<serial>/fade
11	Date:		January 2013
12	Contact:	Vivien Didelot <vivien.didelot@savoirfairelinux.com>
13	Description:	This attribute allows to set a fade time in milliseconds for
14			the next color change. Read the attribute to know the current
15			fade time. The default value is set to 0 (no fade time). For
16			instance, set a fade time of 2 seconds with: echo 2000 > fade
17	
18	What:		/sys/class/leds/blink1::<serial>/play
19	Date:		January 2013
20	Contact:	Vivien Didelot <vivien.didelot@savoirfairelinux.com>
21	Description:	This attribute is used to play/pause the light patterns. Write 1
22			to start playing, 0 to stop. Reading this attribute returns the
23			current playing status.
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog