android_kernel_samsung_sm8650/drivers/usb/misc
Melchior FRANZ 73bc7d315f USB: add support for Dream Cheeky DL100B Webmail Notifier (1d34:0004)
So far the USBLED driver only supports Delcom's "USB Visual Signal
Indicator" (http://www.delcomproducts.com/products_USBLMP.asp). The
driver generates virtual files "red", "green", and "blue" under the
device's /sys/ directory, where color values can be read from and
written to.

This patch adds support for Dream Cheeky's "DL100B Webmail Notifier"
(http://www.dreamcheeky.com/webmail-notifier -- available from several
shops, such as http://www.conrad.at/ce/de/product/777048/USB-WEBMAIL).
This device isn't as pretty as Delcom's, but it's *far* cheaper, and
its 3 LEDs can be set in 32 brightness steps each. The grey envelope
contour can easily be removed, leaving a rather neutral white box (with
a few small holes), which is useful for generic signalling purposes.
Of course, the small circuit board can easily be put into a prettier
case.

The DL100B device pretends to be a HID, but the HID descriptor shows
that it's not overly useful as such (see below). The patch therefore
removes the "HID-ness" (hid-core.c, hid-ids.h), and adds the necessary
commands to usbled.c. The protocol info comes from the developer's
manual that Dream Cheeky kindly provided (815DeveloperManual.pdf).

HID descriptor:

  0: 05 01   Usage Page 'Generic Desktop Controls'
  2: 09 10   Usage 'Reserved'
  4: a1 01   Collection 'Application (mouse, keyboard)'
  6: 05 00           Usage Page 'Undefined'
  8: 19 10           Usage Minimum = 16
 10: 29 11           Usage Maximum = 17
 12: 15 00           Logical Minimum = 0
 14: 25 0f           Logical Maximum = 15
 16: 75 08           Report Size = 8
 18: 95 08           Report Count = 8
 20: 91 02           Output data *var abs lin pref-state null-pos non-vol bit-field
 22: 19 10           Usage Minimum = 16
 24: 29 11           Usage Maximum = 17
 26: 15 00           Logical Minimum = 0
 28: 25 0f           Logical Maximum = 15
 30: 75 08           Report Size = 8
 32: 95 08           Report Count = 8
 34: 81 00           Input data array abs lin pref-state null-pos non-vol bit-field
 36: c0      End Collection

Signed-off-by: Melchior FRANZ <mfranz@aon.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-21 20:48:21 -08:00
..
sisusbvga usb: misc: sisusbvga: fix information leak to userland 2010-11-11 07:14:06 -08:00
adutux.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
appledisplay.c USB: rename usb_buffer_alloc() and usb_buffer_free() users 2010-05-20 13:21:38 -07:00
cypress_cy7c63.c USB: misc: cypress_cy7c63: fix up some sysfs attribute permissions 2010-11-15 14:04:14 -08:00
cytherm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
emi26.c USB misc: make USB device id constant 2010-03-02 14:54:17 -08:00
emi62.c USB misc: make USB device id constant 2010-03-02 14:54:17 -08:00
ftdi-elan.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
idmouse.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
iowarrior.c usb: misc: iowarrior: fix information leak to userland 2010-11-11 07:14:07 -08:00
isight_firmware.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
Kconfig USB: add driver for Meywa-Denki & Kayac YUREX 2010-10-22 10:21:51 -07:00
ldusb.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
legousbtower.c USB: misc: Remove unnecessary casts of private_data 2010-08-10 14:35:39 -07:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
rio500_usb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rio500.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
trancevibrator.c USB: misc: trancevibrator: fix up a sysfs attribute permission 2010-11-15 14:04:15 -08:00
usb_u132.h Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 2006-12-01 16:41:58 -08:00
usblcd.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
usbled.c USB: add support for Dream Cheeky DL100B Webmail Notifier (1d34:0004) 2010-12-21 20:48:21 -08:00
usbsevseg.c USB: misc: usbsevseg: fix up some sysfs attribute permissions 2010-11-15 14:04:15 -08:00
usbtest.c USB: usbtest - ensure correct isoc data length 2010-10-22 10:22:01 -07:00
uss720.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
yurex.c USB: yurex: add .llseek fop to file_operations 2010-11-30 10:24:50 -08:00