Re: HID battery strength does not emit power_suppy udev events

Started by Przemo Firszt on Jan 1, 2013

open the first message on its own page

Message details and related content
Dnia 2013-01-01, wto o godzinie 18:39 -0200, Daniel Nicoletti pisze:
Well from your logs you can see the udev emitted an 'add ' for
wacom_battery, the odd part is that it sends several add for the
battery.
Wacom tablets have a different code from handling the battery, i wrote
the code that'sgeneric for hid devices, and the battery part looks
like a lot when looking to tje wacom one but it doesn't emits 'add '
or 'del ' events...
I'm not kernel dev and after reading docs and digging some code I 'm
still clueless about it... 
Can you post the code?

Do you have this switched on in your kernel config (default = no)?

config HID_BATTERY_STRENGTH
        bool "Battery level reporting for HID devices"
        depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
        default n
        ---help---
        This option adds support of reporting battery strength (for HID
devices
        that support this feature) through power_supply class so that
userspace
        tools, such as upower, can display it.

-- 
Kind regards,
Przemo Firszt

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help