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

From: Jiri Kosina
Date: Mon Jan 21 2013 - 11:36:55 EST


On Tue, 18 Dec 2012, Vivien Didelot wrote:

> The ThingM blink(1) is an open source hardware USB RGB LED. It contains
> an internal EEPROM, allowing to configure up to 12 light patterns. A
> light pattern is a RGB color plus a fading time. This driver registers a
> LED class instance with additional sysfs attributes to support basic
> functions such as setting RGB colors, fading and playing. Other
> functions are still accessible through the hidraw interface.
>
> At this time, the only documentation for the device is the firmware
> source code from ThingM, plus a few schematics. They are available at:
>
> https://github.com/todbot/blink1
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
> ---
> Documentation/ABI/testing/sysfs-driver-hid-blink1 | 25 ++
> MAINTAINERS | 5 +
> drivers/hid/Kconfig | 10 +
> drivers/hid/Makefile | 1 +
> drivers/hid/hid-blink1.c | 275 ++++++++++++++++++++++

hid-blink sounds too generic to me, taking into account that this is not
'generic HID blinking' framework, but rather a specific device driver for
a particular device.

So something like hid-thingm-blink sounds more reasonable to me.

[ ... snip ... ]
> diff --git a/drivers/hid/hid-blink1.c b/drivers/hid/hid-blink1.c
> new file mode 100644
> index 0000000..13025a8
> --- /dev/null
> +++ b/drivers/hid/hid-blink1.c
> @@ -0,0 +1,275 @@
> +/*
> + * ThingM blink(1) USB LED Driver
> + * Copyright (C) 2012 Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
> + *
> + * This program is free software: you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation, either version 3 of the License, or

Linux Kernel is being shipped under GPL v2, without "or any later" clause
added. So I am afraid I can't merge the code with this license.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/