[QtExtended] Latest and greatest

Franky Van Liedekerke liedekef at telenet.be
Thu Apr 2 19:14:03 CEST 2009


On Thu, 2 Apr 2009 18:39:34 +0200
Franky Van Liedekerke <liedekef at telenet.be> 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




More information about the community mailing list