diff options
author | Ortwin Glück <odi@odi.ch> | 2012-11-25 15:08:34 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-26 14:25:24 +0100 |
commit | 4cc8541782140e9ccbece5c8ac367fbf659b16d9 (patch) | |
tree | 71fc5885ce04ec537b3bb8cb3b0cf21268d3565a /drivers/hid | |
parent | 436136cec650d661eb662fcb508a99878606d050 (diff) | |
download | blackbird-op-linux-4cc8541782140e9ccbece5c8ac367fbf659b16d9.tar.gz blackbird-op-linux-4cc8541782140e9ccbece5c8ac367fbf659b16d9.zip |
HID: add battery quirk for Apple 2009_ISO keyboard
Support battery capacity on another Apple wireless keyboard.
Signed-off-by: Ortwin Glück <odi@odi.ch>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 10248cf548fc..0887b52f804b 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -299,6 +299,9 @@ static enum power_supply_property hidinput_battery_props[] = { static const struct hid_device_id hid_battery_quirks[] = { { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, + USB_DEVICE_ID_APPLE_ALU_WIRELESS_2009_ISO), + HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE }, + { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI), HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, |