]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Intuos4 battery charging changes
authorPrzemo Firszt <przemo@firszt.eu>
Sat, 29 Jun 2013 09:57:13 +0000 (10:57 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Jul 2013 13:04:47 +0000 (15:04 +0200)
commitd5d9c55b6001e9d1777dc8fa14b7fedb13858a97
tree1c697f35a68399d19a473696fe1d47407897775e
parent2e1031851d5b2a0243318bc4ccaac1c40cc80e4f
HID: wacom: Intuos4 battery charging changes

Intuos4 WL is separately reporting power supply and battery
charging status - now hid-wacom is using that information.
Previously hid-wacom was wrongly treating "battery charging" bit
as "power supply connected". Now it should report battery charging,
battery discharging, battery full and power supply status.

Intuos4 WL sends reports when is in use (obvious) and when unplugging
power supply. If means that if the device is being charged, but it's not
being used it will never report "battery full". The same problem happens
after the device has been connected, but it's not in use - the
battery/ac status will be incorrect. Currently there is no mechanism to
ask the device to send a report containing battery/ac status.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wacom.c