sysfs attribute current_now is removed in 2.6.36 (upower)
hughsient at gmail.com
Mon Dec 27 11:23:44 PST 2010
On 22 December 2010 18:27, Florian Eitel <feitel at indeedgeek.de> wrote:
> In upower checks the current_now sysfs attribute. Linux Kernel
> 2.6.36 removes this attribute. As far as I know the new power_now
> attribute ist added in 2.6.30 so in my opinion no distinction between
> the old current_now and the new power_now is necessary.
Sorry for the delay. I've been dealing with a family death and then
Christmas got in the way. I think the attached patch is better, as it
supports the fallback to old kernels and also deals with mAh reporting
systems. Can you please test this. Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2212 bytes
Desc: not available
More information about the devkit-devel