summaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2007-04-06 14:33:18 +0200
committerJiri Kosina <jkosina@suse.cz>2007-04-11 10:36:03 +0200
commit713c8aad6b7202671ce1ac6109f6b48d8223e938 (patch)
tree71409ad76728573d34d07aaf0d528df7d4ae5065 /include/linux/hid.h
parent85cbea3952135ecad4b47cb6cc57e25279129e2d (diff)
downloadop-kernel-dev-713c8aad6b7202671ce1ac6109f6b48d8223e938.zip
op-kernel-dev-713c8aad6b7202671ce1ac6109f6b48d8223e938.tar.gz
USB HID: numlock quirk for dell W7658 keyboard
On Dell W7658 keyboard, when BIOS sets NumLock LED on, it survives the takeover by kernel and thus confuses users. Eating of an increasibly scarce quirk bit is unfortunate. We do it for safety, given the history of nervous input devices which crash if anything unusual happens. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-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 5518441..d73b24b 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -269,6 +269,7 @@ struct hid_item {
#define HID_QUIRK_SONY_PS3_CONTROLLER 0x00080000
#define HID_QUIRK_LOGITECH_DESCRIPTOR 0x00100000
#define HID_QUIRK_DUPLICATE_USAGES 0x00200000
+#define HID_QUIRK_RESET_LEDS 0x00400000
/*
* This is the global environment of the parser. This information is
OpenPOWER on IntegriCloud