On Sun, 5 Apr 2009 12:49:57 +0200 Franky Van Liedekerke <[email protected]> wrote:
> On Sun, 05 Apr 2009 12:14:05 +0200 > Radek Polak <[email protected]> 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: http://trac.karadog.net/qt-extended-improved/ticket/11 Franky _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

