summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Schedel <r.schedel@yahoo.de>2007-12-26 00:57:40 +0100
committerJiri Kosina <jkosina@suse.cz>2008-01-28 14:51:22 +0100
commitfe56caa97e626cc6d6e18adbd5ccd1a9aa9a4fcf (patch)
treeceeb0dc577e292633dac2a17b28c4e46e7984eb8 /include
parentb0e668240949f69e84d69f998aa9af759e8be635 (diff)
downloadblackbird-op-linux-fe56caa97e626cc6d6e18adbd5ccd1a9aa9a4fcf.tar.gz
blackbird-op-linux-fe56caa97e626cc6d6e18adbd5ccd1a9aa9a4fcf.zip
HID: Support Samsung IR remote
Samsung USB remotes (0419:0001) are rejected by kernel 2.6.23, because the report descriptor from the remote contains a 48 bit HID report field. HID 1.11 states: Fields may span at most 4 bytes. This patch, based on 2.6.23, fixes this by modifying the internal report descriptor in hid-quirks.c. Additional user space support (e.g. LIRC) is required to fetch the information from the hiddev interface. The burden to reconstruct the data is moved into userspace (lirc through hiddev). There is no need to set HID_QUIRK_HIDDEV quirk, as the device has also output applications, which trigger the creation of hiddev device automatically. Signed-off-by: Robert Schedel <r.schedel@yahoo.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 6a70b788ee9c..3902690647b0 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -295,6 +295,7 @@ struct hid_item {
#define HID_QUIRK_RDESC_PETALYNX 0x00000008
#define HID_QUIRK_RDESC_MACBOOK_JIS 0x00000010
#define HID_QUIRK_RDESC_BUTTON_CONSUMER 0x00000020
+#define HID_QUIRK_RDESC_SAMSUNG_REMOTE 0x00000040
/*
* This is the global environment of the parser. This information is
OpenPOWER on IntegriCloud