Hi Franky, about the usb cable: (cablechanged signal):
initial state is using one of the files as you mentioned, but that's only for initial state (both old and new kernels) - old system : using /dev/input/event4 - new system : using uevent. Can you please double check the power managment, settings when Plugged in : make sure 'suspend' is set to off. If it still does suspend when connected, please go to : settings->logging->options->categories and check 'hardware' . plug/unplug the cable a couple of times, enter a console (ssh) and do a 'logread'. What's the exact kernel version (url ?) you are using ? thx, F. On Thu, 02 Apr 2009 19:14:03 +0200, Franky Van Liedekerke <[email protected]> wrote: > On Thu, 2 Apr 2009 18:39:34 +0200 > Franky Van Liedekerke <[email protected]> wrote: > >> Hi, >> >> here are some first results of my tests on a fso-nox image and >> andy-tracking kernel (2.6.28): >> >> - alarms (using atd from angstrom, since no newer package exists), >> normal + when suspended >> ==> OK >> >> - wake up when receiving sms >> ==> OK >> >> - call + echo check >> ==> OK >> >> - missed call bug >> ==> OK >> >> - duplicate sms thing >> ==> OK >> >> - bluetooth >> ==> "bluetooth not available" error >> >> - voice notes >> ==> not working (not recording) >> >> - usb cable handling for power charging ... >> ==> the freephone seems to charge when plugged in, but it suspends >> anyway (if the setting "suspend" is set when on battery). So >> somewhere there's a small bug there. >> >> So for me, this seems great! The bluetooth worked on a 2.6.24 kernel, >> so it should be easy to fix ... and I'm sure Filip will fix the >> suspending thing :-) > > ok, 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 > > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

