diff options
| author | Hans de Goede <[email protected]> | 2017-05-10 15:12:53 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2017-05-11 08:27:48 +0000 |
| commit | f1918be1c1dd6d97390513677f184c4d5e22e2ac (patch) | |
| tree | c2988c70d7a195c822d103ee25a7804504e8a789 /net/unix/af_unix.c | |
| parent | HID: Add mapping for Microsoft Win8 Wireless Radio Controls extensions (diff) | |
| download | kernel-f1918be1c1dd6d97390513677f184c4d5e22e2ac.tar.gz kernel-f1918be1c1dd6d97390513677f184c4d5e22e2ac.zip | |
HID: ite: Add hid-ite driver
The ITE8595 keyboard uses the HID_GD_RFKILL_BTN usage code
from the Wireless Radio Controls Application Collection Microsoft
has defined for Windows 8 and later.
However it has a quirk, when the rfkill hotkey is pressed it does
generate a report for the collection, but the reported value is
always 0. Luckily it is the only button in this collection / report,
and it sends a report on release only, so receiving a report means the
button was pressed.
This commit adds a hid-ite driver which watches for the Wireless Radio
Controls Application Collection report and then reports a KEY_RFKILL event,
ignoring the value, making the rfkill on this keyboard work.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
