diff options
author | Daniel P. Engel <dengel@sourceharvest.com> | 2007-04-03 17:43:46 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-04-11 04:36:03 -0400 |
commit | 66df514b1dbf51a0a02a8abe1219e46e49710aea (patch) | |
tree | 8ce64f477e766e3b24a019d5aaf227ff008f68d2 /drivers/hid | |
parent | daa0bc902c8e9476673b47d3b59c9bb922843563 (diff) |
USB HID: add QUIRK_HIDDEV for Belkin Flip KVM
Add HID_QUIRK_HIDDEV for the Belkin Flip USB KVM, which provides for software
control of switching via a HID class interface. It overloads three HID LED
usages, two of which aren't mapped in the ev_dev input subsection, and which it
doesn't make sense to map. In order to force the creation of a hiddev device
for controlling the Flip, this quirk flag is needed.
Signed-off-by: Daniel P. Engel <dengel@sourceharvest.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/usbhid/hid-core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 5e430813d4d4..823e3dfca003 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c | |||
@@ -106,6 +106,9 @@ MODULE_PARM_DESC(mousepoll, "Polling interval of mice"); | |||
106 | #define USB_DEVICE_ID_ATEN_4PORTKVM 0x2205 | 106 | #define USB_DEVICE_ID_ATEN_4PORTKVM 0x2205 |
107 | #define USB_DEVICE_ID_ATEN_4PORTKVMC 0x2208 | 107 | #define USB_DEVICE_ID_ATEN_4PORTKVMC 0x2208 |
108 | 108 | ||
109 | #define USB_VENDOR_ID_BELKIN 0x050d | ||
110 | #define USB_DEVICE_ID_FLIP_KVM 0x3201 | ||
111 | |||
109 | #define USB_VENDOR_ID_BERKSHIRE 0x0c98 | 112 | #define USB_VENDOR_ID_BERKSHIRE 0x0c98 |
110 | #define USB_DEVICE_ID_BERKSHIRE_PCWD 0x1140 | 113 | #define USB_DEVICE_ID_BERKSHIRE_PCWD 0x1140 |
111 | 114 | ||
@@ -310,6 +313,8 @@ static const struct hid_blacklist { | |||
310 | 313 | ||
311 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_DINOVO_EDGE, HID_QUIRK_DUPLICATE_USAGES }, | 314 | { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_DINOVO_EDGE, HID_QUIRK_DUPLICATE_USAGES }, |
312 | 315 | ||
316 | { USB_VENDOR_ID_BELKIN, USB_DEVICE_ID_FLIP_KVM, HID_QUIRK_HIDDEV }, | ||
317 | |||
313 | { USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_01, HID_QUIRK_IGNORE }, | 318 | { USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_01, HID_QUIRK_IGNORE }, |
314 | { USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_10, HID_QUIRK_IGNORE }, | 319 | { USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_10, HID_QUIRK_IGNORE }, |
315 | { USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_20, HID_QUIRK_IGNORE }, | 320 | { USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_20, HID_QUIRK_IGNORE }, |