Thread (7 messages) 7 messages, 3 authors, 2013-01-22

Re: [PATCH v2] HID: add ThingM blink(1) USB RGB LED support

From: <hidden>
Date: 2013-01-21 19:02:40
Also in: lkml

quoted hunk ↗ jump to hunk
+++ b/Documentation/ABI/testing/sysfs-driver-hid-blink1
@@ -0,0 +1,23 @@
+What:		/sys/class/leds/blink(1)::<serial>/rgb
+Date:		January 2013
+Contact:	Vivien Didelot <vivien.didelot@savoirfairelinux.com>
+Description:	The ThingM blink(1) is an USB RGB LED. The color notation is
+		3-byte hexadecimal. Read this attribute to get the last set
+		color. Write the 24-bit hexadecimal color to change the current
+		LED color. The default color is full white (0xFFFFFF).
+		For instance, set the color to green with: echo 00FF00 > rgb
+
Shouldn't the name presented in the sys/class/leds directories change
appropriately too?

Simon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help