[PATCH] HID: Add the transport-driver functions to the HIDP driver
Keng-Yu Lin
kengyu at canonical.com
Tue Nov 18 13:04:36 UTC 2014
BugLink: http://launchpad.net/bugs/1393764
SRU Justification:
Impact: Indicator UI shows 0% of batter of the bluetooth keyboard.
This is because upower gets -ENODATA from the sysfs node, such as
/sys/class/power_supply/hid-08\:b7\:38\:00\:09\:55-battery/capacity.
Fix: An upstream patch added the .raw_request operation in struct hid_ll_driver
and made it assigned to the correct function in hidp.c
Test case: I tested on my Lenovo Thinkpad X240 and an HP K4000 Bluetooth keyboard.
Gerald Yang tested on an HP ProBook 450 G2/2248 and a Lenovo bluetooth keyboard.
Both shows the bug is fixed by the patch.
Frank Praznik (1):
HID: Add the transport-driver functions to the HIDP driver.
net/bluetooth/hidp/core.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
--
2.1.0
More information about the kernel-team
mailing list