diff options
author | José Expósito <jose.exposito89@gmail.com> | 2021-11-18 10:29:55 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-11-19 18:04:02 +0300 |
commit | 6e143293e17a73c9313f91c5ca3aaacbaef030cf (patch) | |
tree | 913eb01edfbc1a9a4f673552d7479f5710ce72e0 /drivers/hid/hid-quirks.c | |
parent | 7f52ece242e9714d94d3bab630ea1dd2236e7d54 (diff) | |
download | linux-6e143293e17a73c9313f91c5ca3aaacbaef030cf.tar.xz |
HID: apple: Report Magic Keyboard battery over USB
When connected over USB, the Apple Magic Keyboard 2015 registers 3
different interfaces. One of them is used to report the battery level.
However, unlike when connected over Bluetooth, the battery level is not
reported automatically and it is required to fetch it manually.
Add a new quirk to fix the battery report descriptor and a timer to
fetch the battery level.
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-quirks.c')
0 files changed, 0 insertions, 0 deletions