[QtExtended] Latest and greatest

Franky Van Liedekerke liedekef at telenet.be
Sun Apr 5 12:49:57 CEST 2009


On Sun, 05 Apr 2009 12:14:05 +0200
Radek Polak <psonek2 at seznam.cz> wrote:

> Franky Van Liedekerke wrote:
> 
> > I think I found the suspending thing. In the patch provided by
> > Radek (0001-patch-for-2.6.28-kernels.patch), the file
> > devices/neo/server/neohardware.cpp gets patched:
> > 
> > +    else if
> > (QFileInfo("/sys/class/power_supply/usb/online").exists()) {
> > +         //freerunner kernel > 2.6.28
> > +        chargeFile = "/sys/class/power_supply/usb/online";
> > +    }
> > 
> > but this file gives me "0" as result, even when the usb is
> > connected ... So it should be (as for neo/server/neobattery.cpp):
> > 
> > +    else if
> >   (QFileInfo("/sys/class/power_supply/battery/status").exists()) {
> > +         //freerunner kernel > 2.6.28
> > +        chargeFile = "/sys/class/power_supply/battery/status";
> > +    }
> > 
> > This file (/sys/class/power_supply/battery/status) gives the correct
> > status ("Charging") when plugged in ...
> > Filip, can you confirm this?
> > 
> > Franky
> 
> Hi Franky,
> fixed this in my tree [1].
> 
> Thanks
> 
> Radek

Hi Radek,

also it seems Houyu reinitialized his tree and forgot to commit the
change for ticket 11. Maybe this can be added as well:




More information about the community mailing list