[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d76e4c014234c2f0e8ef1328f0e7572a.squirrel@mungewell.org>
Date: Mon, 21 Jan 2013 13:40:01 -0500
From: simon@...gewell.org
To: "Vivien Didelot" <vivien.didelot@...oirfairelinux.com>
Cc: linux-input@...r.kernel.org,
"Vivien Didelot" <vivien.didelot@...oirfairelinux.com>,
"Jiri Kosina" <jkosina@...e.cz>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] HID: add ThingM blink(1) USB RGB LED support
> +++ 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@...oirfairelinux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists