2006-12-08 18:41:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
|
|
|
|
|
2006-12-08 18:41:30 +01:00
|
|
|
|
|
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
2006-12-22 17:09:16 +00:00
|
|
|
|
2006-12-08 18:41:30 +01:00
|
|
|
|
|
|
|
|
|
2007-01-03 23:03:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-03 23:03:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-06 10:15:27 +01:00
|
|
|
|
2006-12-08 18:41:30 +01:00
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
|
|
|
|
|
HID: hid-input: add support for HID devices reporting Battery Strength
Some HID devices, such as my Bluetooth mouse, report their battery
strength as an event. Rather than passing it through as a strange
absolute input event, this patch registers it with the power_supply
subsystem as a battery, so that the device's Battery Strength can be
reported to usermode.
The battery appears in sysfs names
/sys/class/power_supply/hid-<UNIQ>-battery, and it is a child of the
battery-containing device, so it should be clear what it's the battery of.
Unfortunately on my current Fedora 16 system, while the battery does
appear in the UI, it is listed as a Laptop Battery with 0% charge (since
it ignores the "capacity" property of the battery and instead computes
it from the "energy*" fields, which we can't supply given the limited
information contained within the HID Report).
Still, this patch is the first step.
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-11-23 00:49:14 -08:00
|
|
|
|
2012-04-24 10:51:30 +02:00
|
|
|
|
2011-12-19 09:16:29 +01:00
|
|
|
|
2012-04-18 10:05:17 -04:00
|
|
|
|
2012-04-24 10:51:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HID: hid-input: add support for HID devices reporting Battery Strength
Some HID devices, such as my Bluetooth mouse, report their battery
strength as an event. Rather than passing it through as a strange
absolute input event, this patch registers it with the power_supply
subsystem as a battery, so that the device's Battery Strength can be
reported to usermode.
The battery appears in sysfs names
/sys/class/power_supply/hid-<UNIQ>-battery, and it is a child of the
battery-containing device, so it should be clear what it's the battery of.
Unfortunately on my current Fedora 16 system, while the battery does
appear in the UI, it is listed as a Laptop Battery with 0% charge (since
it ignores the "capacity" property of the battery and instead computes
it from the "energy*" fields, which we can't supply given the limited
information contained within the HID Report).
Still, this patch is the first step.
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-11-23 00:49:14 -08:00
|
|
|
|
2007-05-14 09:57:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-23 12:07:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
2012-04-23 12:07:07 +02:00
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
|
|
|
|
|
2012-04-23 12:07:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 23:31:09 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-23 23:31:09 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-23 23:31:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-11 00:27:34 -08:00
|
|
|
|
|
|
|
|
|
2010-07-19 12:13:23 +02:00
|
|
|
|
2011-03-11 00:27:34 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-04 00:25:56 -07:00
|
|
|
|
2011-03-11 00:27:34 -08:00
|
|
|
|
2010-07-19 12:13:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-18 23:36:49 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-18 23:36:49 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-18 23:36:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
|
|
|
|
|
2008-06-18 23:36:49 +02:00
|
|
|
|
2012-04-10 19:29:04 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-24 23:24:57 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 23:24:57 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 23:24:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-24 20:42:25 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 20:42:25 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 20:42:25 +02:00
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-06-24 20:42:25 +02:00
|
|
|
|
2008-06-24 22:48:52 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 22:48:52 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 22:48:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-12 15:18:59 +02:00
|
|
|
|
2010-05-12 15:27:00 +02:00
|
|
|
|
2010-05-12 15:18:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 22:54:08 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-23 22:54:08 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-23 22:54:08 +02:00
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-06-23 22:54:08 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2009-03-04 22:12:04 +13:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2011-01-28 14:50:53 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
|
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2009-03-04 22:12:04 +13:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-01 15:13:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-06-28 18:54:25 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2010-06-28 18:54:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-24 21:11:21 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 21:11:21 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-24 21:11:21 +02:00
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-06-24 21:11:21 +02:00
|
|
|
|
2011-06-27 00:07:31 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-17 15:12:45 +01:00
|
|
|
|
2011-03-22 02:29:17 -07:00
|
|
|
|
2011-02-17 15:12:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-11 11:43:27 +01:00
|
|
|
|
2012-02-28 13:01:46 +02:00
|
|
|
|
2009-03-11 11:43:27 +01:00
|
|
|
|
|
|
|
|
|
2012-02-28 13:01:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-11 11:43:27 +01:00
|
|
|
|
2010-08-09 20:44:17 +04:00
|
|
|
|
2010-08-09 19:56:01 +02:00
|
|
|
|
2010-08-09 20:44:17 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-20 19:21:11 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-24 23:35:13 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2008-07-24 23:35:13 +02:00
|
|
|
|
|
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-07-24 23:35:13 +02:00
|
|
|
|
2009-07-13 14:19:58 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2009-07-13 14:19:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-04 16:09:40 +01:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2009-03-04 16:09:40 +01:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2009-03-04 16:09:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-03 16:41:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-05-16 11:49:19 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-05-16 11:49:19 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-05-16 11:49:19 +02:00
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-05-16 11:49:19 +02:00
|
|
|
|
2011-09-15 11:34:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-13 14:13:03 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-15 11:34:49 +02:00
|
|
|
|
2008-07-04 23:06:45 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2008-07-04 23:06:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-23 12:11:31 +02:00
|
|
|
|
2008-07-04 23:06:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-04 15:39:49 +02:00
|
|
|
|
2008-07-04 23:06:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-04 15:39:49 +02:00
|
|
|
|
2008-07-04 23:06:45 +02:00
|
|
|
|
2010-01-13 00:25:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-04 16:24:22 +02:00
|
|
|
|
|
|
|
|
|
2010-09-22 13:19:42 +02:00
|
|
|
|
|
|
|
|
|
2011-08-10 18:11:10 +02:00
|
|
|
|
2010-09-22 13:19:42 +02:00
|
|
|
|
2011-08-04 16:24:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-09-22 13:19:42 +02:00
|
|
|
|
2010-02-06 12:24:36 -05:00
|
|
|
|
2010-02-10 14:59:03 +01:00
|
|
|
|
2010-02-06 12:24:36 -05:00
|
|
|
|
|
|
|
|
|
2010-02-10 14:59:03 +01:00
|
|
|
|
2010-02-06 12:24:36 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-20 21:26:11 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-20 21:26:11 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-20 21:26:11 +02:00
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-06-20 21:26:11 +02:00
|
|
|
|
2008-06-25 00:07:50 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-25 00:07:50 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
2008-06-25 00:07:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-07 23:45:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-22 17:34:01 +01:00
|
|
|
|
2011-05-19 14:18:13 +02:00
|
|
|
|
2011-12-23 15:40:59 +01:00
|
|
|
|
2011-05-20 15:59:34 +02:00
|
|
|
|
2011-05-28 02:03:47 +08:00
|
|
|
|
2011-05-19 14:18:14 +02:00
|
|
|
|
2011-01-11 16:45:54 +01:00
|
|
|
|
2011-05-19 11:37:29 +02:00
|
|
|
|
2011-05-20 15:59:34 +02:00
|
|
|
|
2011-05-19 14:18:15 +02:00
|
|
|
|
2011-01-11 16:45:54 +01:00
|
|
|
|
2011-05-20 15:59:34 +02:00
|
|
|
|
2011-01-31 11:28:22 +01:00
|
|
|
|
2011-08-15 21:12:09 -07:00
|
|
|
|
2011-05-18 15:27:24 +02:00
|
|
|
|
2011-04-22 11:51:48 +02:00
|
|
|
|
2012-02-14 00:50:33 -08:00
|
|
|
|
2011-04-21 16:21:52 +02:00
|
|
|
|
2012-02-04 17:08:50 +01:00
|
|
|
|
2011-12-15 11:09:06 +08:00
|
|
|
|
2011-01-11 16:45:54 +01:00
|
|
|
|
2011-11-29 13:13:10 +01:00
|
|
|
|
2011-05-20 15:59:34 +02:00
|
|
|
|
2011-03-18 14:27:53 +01:00
|
|
|
|
2011-05-19 14:18:16 +02:00
|
|
|
|
2011-05-19 14:18:17 +02:00
|
|
|
|
2011-07-15 16:58:06 +08:00
|
|
|
|
2012-01-05 11:53:46 +09:00
|
|
|
|
2011-01-07 23:45:50 +01:00
|
|
|
|
2011-01-11 16:45:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-19 15:54:46 +01:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2008-11-19 15:54:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-21 14:36:52 +00:00
|
|
|
|
2011-03-21 13:54:22 +01:00
|
|
|
|
2010-01-21 14:36:52 +00:00
|
|
|
|
|
|
|
|
|
2011-03-21 13:54:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-21 14:36:52 +00:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-18 19:43:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2008-09-18 19:43:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-24 23:46:21 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2008-06-24 23:46:21 +02:00
|
|
|
|
|
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-06-24 23:46:21 +02:00
|
|
|
|
2010-03-30 22:33:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-30 22:38:09 +02:00
|
|
|
|
2010-04-11 12:17:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-30 22:34:30 +02:00
|
|
|
|
2010-03-30 22:33:50 +02:00
|
|
|
|
|
|
|
|
|
2010-04-11 12:17:45 +02:00
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
|
|
|
|
|
2010-04-11 12:17:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-14 00:14:11 +09:00
|
|
|
|
2010-04-11 12:17:45 +02:00
|
|
|
|
|
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
|
|
|
|
|
2010-04-11 12:17:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
|
|
|
|
|
2010-04-11 12:17:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-20 14:44:16 -08:00
|
|
|
|
|
|
|
|
|
2010-04-11 12:17:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-14 17:18:54 -07:00
|
|
|
|
2011-10-17 17:04:58 +02:00
|
|
|
|
2011-10-14 17:18:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-19 18:55:16 +02:00
|
|
|
|
2011-12-29 17:20:14 +01:00
|
|
|
|
2010-05-19 18:55:16 +02:00
|
|
|
|
|
|
|
|
|
2011-12-29 17:20:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-29 12:30:18 +02:00
|
|
|
|
2012-02-22 02:10:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-25 22:31:48 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2008-06-25 22:31:48 +02:00
|
|
|
|
|
|
|
|
|
2010-05-17 11:42:39 +01:00
|
|
|
|
2008-06-25 22:31:48 +02:00
|
|
|
|
2008-06-25 23:47:04 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2008-06-25 23:47:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-27 18:40:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 21:56:07 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2008-06-23 21:56:07 +02:00
|
|
|
|
|
|
|
|
|
2008-10-16 01:25:15 +02:00
|
|
|
|
2008-06-23 21:56:07 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2010-08-16 16:26:08 +02:00
|
|
|
|
2008-12-11 22:07:59 +01:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-12-11 22:07:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-26 11:12:25 +01:00
|
|
|
|
2008-12-11 22:07:59 +01:00
|
|
|
|
|
|
|
|
|
2011-11-22 22:52:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-13 11:54:38 +03:00
|
|
|
|
2010-05-21 13:15:17 +02:00
|
|
|
|
2009-05-13 11:54:38 +03:00
|
|
|
|
|
|
|
|
|
2011-10-20 21:26:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-13 11:54:38 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-06 17:36:38 +01:00
|
|
|
|
HID: add support for tivo slide remote
This patch finishes off adding full support for the TiVo Slide remote,
which is a mostly pure HID device from the perspective of the kernel.
There are a few mappings that use a vendor-specific usage page, and a
few keys in the consumer usage page that I think make sense to remap
slightly, to better fit their key labels' intended use. Doing this in a
stand-alone hid-tivo.c makes the modifications only matter for this
specific device.
What's actually connected to the computer is a Broadcom-made usb dongle,
which has an embedded hub, bluetooth adapter, mouse and keyboard
devices. You pair with the dongle, then the remote sends data that its
converted into HID on the keyboard interface (the mouse interface
doesn't do anything interesting, so far as I can tell).
lsusb for this device:
Bus 004 Device 005: ID 0a5c:2190 Broadcom Corp.
Bus 004 Device 004: ID 0a5c:4503 Broadcom Corp.
Bus 004 Device 003: ID 150a:1201
Bus 004 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Speaking of the keyboard interface, the remote actually does contain a
keyboard as well. The top slides away, revealing a reasonably functional
qwerty keyboard (not unlike many slide cell phones), thus the product
name.
CC: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-10-14 16:57:42 -04:00
|
|
|
|
2012-03-13 09:36:05 +01:00
|
|
|
|
HID: add support for tivo slide remote
This patch finishes off adding full support for the TiVo Slide remote,
which is a mostly pure HID device from the perspective of the kernel.
There are a few mappings that use a vendor-specific usage page, and a
few keys in the consumer usage page that I think make sense to remap
slightly, to better fit their key labels' intended use. Doing this in a
stand-alone hid-tivo.c makes the modifications only matter for this
specific device.
What's actually connected to the computer is a Broadcom-made usb dongle,
which has an embedded hub, bluetooth adapter, mouse and keyboard
devices. You pair with the dongle, then the remote sends data that its
converted into HID on the keyboard interface (the mouse interface
doesn't do anything interesting, so far as I can tell).
lsusb for this device:
Bus 004 Device 005: ID 0a5c:2190 Broadcom Corp.
Bus 004 Device 004: ID 0a5c:4503 Broadcom Corp.
Bus 004 Device 003: ID 150a:1201
Bus 004 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Speaking of the keyboard interface, the remote actually does contain a
keyboard as well. The top slides away, revealing a reasonably functional
qwerty keyboard (not unlike many slide cell phones), thus the product
name.
CC: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-10-14 16:57:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-04 00:36:56 +01:00
|
|
|
|
2010-07-13 22:50:51 +02:00
|
|
|
|
2009-01-04 00:36:56 +01:00
|
|
|
|
|
|
|
|
|
2010-07-13 22:50:51 +02:00
|
|
|
|
|
|
|
|
|
2009-01-04 00:36:56 +01:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2010-05-21 13:15:17 +02:00
|
|
|
|
2008-09-18 12:23:31 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2008-09-18 12:23:31 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-29 09:41:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-18 12:23:31 +02:00
|
|
|
|
2009-05-11 17:18:12 +02:00
|
|
|
|
HID: make full-fledged hid-bus drivers properly selectable
For historical reasons, we don't have most of the in-tree
drivers residing on hid-bus properly selectable in kernel
configuration unless CONFIG_EMBEDDED is set.
This has been introduced on Linus' request from 14 Oct
===
As to the Kconfig options - do they really add so much space that you need to
ask for the quirks? You didn't use to. Can you make the questions depend on
EMBEDDED, or at least on the HID_COMPAT thing or whatever?
===
This still makes perfect sense for small and tiny drivers, which
just fix report descriptors, fix up HID->input mappings that slightly
violates HUT standard, send one extra packet to the device that is
needed before it becomes functional, etc.
Since then, we have been gathering more and more HID-bus drivers,
which are full-fledged drivers. For these, the size argument becomes
more valid. Plus the devices are much more special than "just violates
HID specification in this one or two tiny unimportant points".
Therefore I am marking such drivers as properly selectable no matter
the setting of CONFIG_EMBEDDED, while keeping all the small and tiny
ones compiled by default.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2010-02-03 16:11:12 +01:00
|
|
|
|
2009-05-11 17:18:12 +02:00
|
|
|
|
2012-05-19 19:11:55 -07:00
|
|
|
|
2010-03-15 19:16:23 +00:00
|
|
|
|
|
|
|
|
|
2012-03-22 18:54:06 +00:00
|
|
|
|
2010-03-15 19:16:23 +00:00
|
|
|
|
2011-07-05 13:45:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-17 11:43:22 +02:00
|
|
|
|
2011-09-06 13:50:39 +02:00
|
|
|
|
2011-12-07 21:33:59 +01:00
|
|
|
|
2011-07-05 13:45:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-17 14:12:01 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2010-05-21 13:15:17 +02:00
|
|
|
|
2008-09-18 12:23:32 +02:00
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
2008-09-18 12:23:32 +02:00
|
|
|
|
|
|
|
|
|
2009-05-15 15:46:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-14 17:30:59 +01:00
|
|
|
|
2010-05-21 13:15:17 +02:00
|
|
|
|
2010-05-14 17:30:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-05-16 11:49:19 +02:00
|
|
|
|
|
|
|
|
|
2012-06-25 16:55:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|