dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/hid
Robert Schedel 0810b51170 HID: Support new variants of Samsung USB IR receiver (0419:0001)
This patch extends the existing Samsung IrDA (0419:0001) quirk file with newly
reported variants:

* New device variants with 203 byte and 135 byte report descriptors were
  reported to be recognized incorrectly. This patch adds an autodetection for
  those two, using report descriptor size to enable new quirks.

* Any other unknown 0419:0001 variants will now be treated without any quirk
  flags (i.e. IGNORE_HIDINPUT/HIDDEV_FORCE will not be set by default anymore).

More details:

1. Descriptor size 184 bytes ("Satelco bundled remote")
Already supported since kernel 2.6.25 (my old patch).

2. Descriptor size 203 bytes ("Optronix remote")
This receiver mostly works with the regular HID input driver. Only when some
keys are released, another spurious key press event is interpreted due to
incorrect array ranges. According to HID 1.11, section 6.2.2.5, arrays should
return a 0 value when no control is asserted, and ranges should go from 1 to
the number of elements. The patch clips the value with a logical range from
1..15 (instead of originally 0..18).

Ticket with more information available at
https://bugs.launchpad.net/bugs/326986

3. Descriptor size 135 bytes ("Gotview remote")
This receiver has a similar issue than the previous one, i.e. it mostly works
with regular HID input, except some key press events get stuck on key release.
The patch clips the array value from 1..14 (instead of originally 0..17).

Ticket with more information available at
http://bugs.archlinux.org/task/15216

4. Other unknown variants (found one report with 218 bytes,
   but no further information about issues)

For such unknown variants we should refrain from changing any device flags.
Currently, HIDINPUT is suppressed and HIDDEV is enforced (because in 2.6.25 the
quirk table did not yet allow differentiating variants and we
did not expect variants either). Now we should be as strict as
possible and enable it only for the first variant above.

Signed-off-by: Robert Schedel <r.schedel@yahoo.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2009-07-23 01:27:59 +02:00
..
usbhid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2009-07-22 09:30:07 -07:00
Kconfig HID: fix hid-ff drivers so that devices work even without ff support 2009-05-15 15:51:36 +02:00
Makefile HID: fix hid-ff drivers so that devices work even without ff support 2009-05-15 15:51:36 +02:00
hid-a4tech.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-apple.c HID: fix inverted wheel for bluetooth version of apple mighty mouse 2009-06-10 10:25:56 +02:00
hid-belkin.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-cherry.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-chicony.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-core.c HID: Move dereferences below a NULL test 2009-07-20 00:03:35 +02:00
hid-cypress.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-debug.c HID: add new multitouch and digitizer contants 2009-05-20 15:48:35 +02:00
hid-drff.c HID: fix hid-ff drivers so that devices work even without ff support 2009-05-15 15:51:36 +02:00
hid-ezkey.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-gaff.c HID: fix hid-ff drivers so that devices work even without ff support 2009-05-15 15:51:36 +02:00
hid-gyration.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-ids.h HID: force feedback support for SmartJoy PLUS PS2/USB adapter 2009-05-15 14:28:44 +02:00
hid-input.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-kensington.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-kye.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-lg.c HID: Add support for the G25 force feedback wheel in native mode 2009-04-17 11:39:39 +02:00
hid-lg.h HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-lg2ff.c HID: convert to dev_* prints 2008-10-14 23:51:01 +02:00
hid-lgff.c HID: autocentering support for Logitech Force 3D Pro 2009-05-15 16:05:57 +02:00
hid-microsoft.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-monterey.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-ntrig.c HID: Multitouch support for the N-Trig touchscreen 2009-05-20 15:49:35 +02:00
hid-petalynx.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-pl.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-samsung.c HID: Support new variants of Samsung USB IR receiver (0419:0001) 2009-07-23 01:27:59 +02:00
hid-sjoy.c HID: force feedback support for SmartJoy PLUS PS2/USB adapter 2009-05-15 14:28:44 +02:00
hid-sony.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-sunplus.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-tmff.c HID: fix hid-ff drivers so that devices work even without ff support 2009-05-15 15:51:36 +02:00
hid-topseed.c HID: remove compat stuff 2009-03-30 15:12:54 +02:00
hid-wacom.c HID: Wacom Graphire Bluetooth driver 2009-05-13 11:42:11 +02:00
hid-zpff.c HID: fix hid-ff drivers so that devices work even without ff support 2009-05-15 15:51:36 +02:00
hidraw.c HID: hidraw -- fix comment about accepted devices 2009-06-04 15:44:25 +02:00