diff options
author | Ortwin Glück <odi@odi.ch> | 2012-11-25 09:08:34 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-26 08:25:24 -0500 |
commit | 4cc8541782140e9ccbece5c8ac367fbf659b16d9 (patch) | |
tree | 71fc5885ce04ec537b3bb8cb3b0cf21268d3565a /drivers/hid/hid-input.c | |
parent | 436136cec650d661eb662fcb508a99878606d050 (diff) |
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/hid-input.c')
-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[] = { | |||
299 | 299 | ||
300 | static const struct hid_device_id hid_battery_quirks[] = { | 300 | static const struct hid_device_id hid_battery_quirks[] = { |
301 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, | 301 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, |
302 | USB_DEVICE_ID_APPLE_ALU_WIRELESS_2009_ISO), | ||
303 | HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE }, | ||
304 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, | ||
302 | USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI), | 305 | USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI), |
303 | HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE }, | 306 | HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE }, |
304 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, | 307 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, |