Re: (SHR) again
On Sun, Feb 22, 2009 at 05:19:29PM +0100, Francesco de Virgilio wrote: > Klaus Kurzmann ha scritto: > > * Francesco de Virgilio [090222 15:42]: > >> Same here! SHR unstable it's fantastic, stable and really usable as a > >> daily phone. > >> Just one problem: I've a cheap BL-5C battery which works like a charm > >> with all my nokia phones, but with the Neo FreeRunner is not recognized. > >> That battery with OM 2008.12 doesn't show any info with apm, but worked ok. > > > >> On SHR unstable, even with the battery fully charged and connected to > >> USB, after 5 minutes, SHR autonomously power off the phone. I set all > >> the values in Settings -> Power Management to "-1", but nothing. The only battery state indication you have with a non-BQ27000 battery is the voltage as measured by the charger. I don't know where that has gone in the 2.6.28 kernels, but in 2.6.24, it was something like /sys/devices/platform/neo1973-pcf50633/battvolt. You can try to file a feature request with the SHR and FSO people to use it when you're not using the standard GTA02 battery. > Pardon, I answer myself[1]: the GPS is powered on autoagically on boot, > so... is there a way to default power it off on boot? > > [1] http://shr-project.org/trac/wiki/Draft%3ASHRSettingsApp#lookfeel That's not what it says. It says "now gps is starting automatically", which on FSO-based distributions usually means off unless in use. You should have a sysfs file to check: $ cat /sys/bus/platform/devices/neo1973-pm-gps.0/power_on 0 (If it's not there in the kernel you're running, try to find it with the command "find /sys -name 'neo1973-pm-gps*' -print".) -- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
> The system you've described is *really* cool, is exactly what I define a > "functional phone" :D > > Thanks for the explanations and thanks to all SHR team for bringing us > such beautiful work! > May I add my thanks to this. Shr is really a very nice piece of work. :-) Paul -- Every society honors its live conformists and its dead troublemakers. -Mignon McLaughlin http://www.nlpagan.net Running on Mandriva Linux 2009 and Ubuntu 8.10 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
On Sun, 22 Feb 2009 17:19:29 +0100 Francesco de Virgilio wrote: > Pardon, I answer myself[1]: the GPS is powered on autoagically on > boot, so... is there a way to default power it off on boot? > > Thanks ;) It IS powered off by default. 'Auto' means that frameworkd will power up the relevant subsystem only if/when something requests the resource. In the case of the GPS, fso-gpsd is not starting up the gps, but is waiting for something to access its 'fake' libgpsd, and when that happens it requests the gps resource from frameworkd, so that it powers up the GPS. Similar with WiFi - until something requests the resource it is completely powered down. (except - like other non-gps resources on the FreeRunner - it doesn't have a special external handler like fso-gpsd, it depends on the resource being properly requested via dbus) The GSM chipset is also handled this way - with SHR, the GSM chipset isn't powered up until something requests it. (like ophonekitd, Paroli, Zhone, etc) But ophonekitd is launched by default when X starts up, so the visible effect is that GSM is powered on automatically when booted. The result is that if you were to disable ophonekitd, you could boot the FR and it would initially conserve maximum power by leaving GPS, GSM, Wifi, and Bluetooth powered down. j ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johny Tenfinger ha scritto: > GPS isn't powered on when booting. fso-gpsd is only wrapper, it is > turning on GPS only, when some app is connecting to it. > > In shr-settings "Auto" is that state - GPS on only when needed. After > changing to "Manual", if GPS was on, bottom toggle will be set to > "on"; and when with "auto" GPS was off, bottom toggle will be set to > "off". > > State of all of toggles about GSM, Wifi, GPS etc.is not saved > anywhere. All of that resources are disabled on boot, and enabled when > needed (GSM after ophonekitd started, GPS after TangoGPS or Navit is > started etc.) > > So - you are wrong :D This time I'm very happy to be wrong :D The system you've described is *really* cool, is exactly what I define a "functional phone" :D Thanks for the explanations and thanks to all SHR team for bringing us such beautiful work! Regards, - -- Francesco de Virgilio *Ubuntu-it Member and Wiki Editor* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia Italia Member* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://fradeve.netsons.org "Love - Peace - Freedom - Free Software" GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmhjhMACgkQRi2TsGSC4FalPwCfd7wAZRKKMU6zB5Rn7zQsCjQQ jjQAnjANQZyBYC6R6iuvROjpiJHOLo1o =duDr -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
GPS isn't powered on when booting. fso-gpsd is only wrapper, it is turning on GPS only, when some app is connecting to it. In shr-settings "Auto" is that state - GPS on only when needed. After changing to "Manual", if GPS was on, bottom toggle will be set to "on"; and when with "auto" GPS was off, bottom toggle will be set to "off". State of all of toggles about GSM, Wifi, GPS etc.is not saved anywhere. All of that resources are disabled on boot, and enabled when needed (GSM after ophonekitd started, GPS after TangoGPS or Navit is started etc.) So - you are wrong :D ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Klaus Kurzmann ha scritto: > * Francesco de Virgilio [090222 15:42]: >> Paul ha scritto: >>> My Freerunner, using U-boot, is happily running the latest SHR-Lite. >>> And it is really good, I think! Nice, works with the phone quite well, >>> and responds really snappy. >>> >>> Me happy again. >>> Thanks for all the help! >>> >>> Paul >>> >> Same here! SHR unstable it's fantastic, stable and really usable as a >> daily phone. >> Just one problem: I've a cheap BL-5C battery which works like a charm >> with all my nokia phones, but with the Neo FreeRunner is not recognized. >> That battery with OM 2008.12 doesn't show any info with apm, but worked ok. > >> On SHR unstable, even with the battery fully charged and connected to >> USB, after 5 minutes, SHR autonomously power off the phone. I set all >> the values in Settings -> Power Management to "-1", but nothing. > >> Any hint? > current frameworkd has a rule to poweroff when the battery is empty... > Try to disable it in /etc/freesmartphone/oevents/rules.yaml... it is: > > - > trigger: PowerStatus() >filters: HasAttr(status, "empty") >actions: Command('poweroff') > > just comment those four lines out and reboot. Thats just my guess > though... not sure about it. > > mrmoku Pardon, I answer myself[1]: the GPS is powered on autoagically on boot, so... is there a way to default power it off on boot? Thanks ;) [1] http://shr-project.org/trac/wiki/Draft%3ASHRSettingsApp#lookfeel - -- Francesco de Virgilio *Ubuntu-it Member and Wiki Editor* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia Italia Member* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://fradeve.netsons.org "Love - Peace - Freedom - Free Software" GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmhew4ACgkQRi2TsGSC4FbcTQCfWfud7xMTaWiAKPjuoSjQsGkE vX8An1B5ZqBPpoyIeVp97qnnM3H1lpFC =nvNS -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Klaus Kurzmann ha scritto: > * Francesco de Virgilio [090222 15:42]: >> Paul ha scritto: >>> My Freerunner, using U-boot, is happily running the latest SHR-Lite. >>> And it is really good, I think! Nice, works with the phone quite well, >>> and responds really snappy. >>> >>> Me happy again. >>> Thanks for all the help! >>> >>> Paul >>> >> Same here! SHR unstable it's fantastic, stable and really usable as a >> daily phone. >> Just one problem: I've a cheap BL-5C battery which works like a charm >> with all my nokia phones, but with the Neo FreeRunner is not recognized. >> That battery with OM 2008.12 doesn't show any info with apm, but worked ok. > >> On SHR unstable, even with the battery fully charged and connected to >> USB, after 5 minutes, SHR autonomously power off the phone. I set all >> the values in Settings -> Power Management to "-1", but nothing. > >> Any hint? > current frameworkd has a rule to poweroff when the battery is empty... > Try to disable it in /etc/freesmartphone/oevents/rules.yaml... it is: > > - > trigger: PowerStatus() >filters: HasAttr(status, "empty") >actions: Command('poweroff') > > just comment those four lines out and reboot. Thats just my guess > though... not sure about it. > > mrmoku Thanks, I'll try :) Another question: it seems that fso-gpsd is on when the system is powered on, because if I try "/etc/init.d/fso-gpsd" terminal answers me that it's already running. I use GPS only sometimes, so GPS should be powered off at startup, also to avoid the battery draining. In the same time, which is the role of SHR Settings Manager -> Others, when it default says: "GPS radio policy = Auto"? The GPS chip is on or off? And if I act from Settings Manager, my settings will be lost on reboot? If I set them to "Manual" and then I select "Off", it seems that on reboot it switches again on "Auto"... frustrating :( How could I proceed to power off GPS on startup? Thanks - -- Francesco de Virgilio *Ubuntu-it Member and Wiki Editor* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia Italia Member* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://fradeve.netsons.org "Love - Peace - Freedom - Free Software" GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmhdtUACgkQRi2TsGSC4FbiwQCgilSp+moOQncnBYQn0O86Dho5 OVkAni4XwE0TWDSaowx0Fh4L6YLR/r4m =32J/ -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
* Francesco de Virgilio [090222 15:42]: > Paul ha scritto: > > My Freerunner, using U-boot, is happily running the latest SHR-Lite. > > And it is really good, I think! Nice, works with the phone quite well, > > and responds really snappy. > > > > Me happy again. > > Thanks for all the help! > > > > Paul > > > Same here! SHR unstable it's fantastic, stable and really usable as a > daily phone. > Just one problem: I've a cheap BL-5C battery which works like a charm > with all my nokia phones, but with the Neo FreeRunner is not recognized. > That battery with OM 2008.12 doesn't show any info with apm, but worked ok. > On SHR unstable, even with the battery fully charged and connected to > USB, after 5 minutes, SHR autonomously power off the phone. I set all > the values in Settings -> Power Management to "-1", but nothing. > Any hint? current frameworkd has a rule to poweroff when the battery is empty... Try to disable it in /etc/freesmartphone/oevents/rules.yaml... it is: - trigger: PowerStatus() filters: HasAttr(status, "empty") actions: Command('poweroff') just comment those four lines out and reboot. Thats just my guess though... not sure about it. mrmoku ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: (SHR) again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul ha scritto: > My Freerunner, using U-boot, is happily running the latest SHR-Lite. > And it is really good, I think! Nice, works with the phone quite well, > and responds really snappy. > > Me happy again. > Thanks for all the help! > > Paul > Same here! SHR unstable it's fantastic, stable and really usable as a daily phone. Just one problem: I've a cheap BL-5C battery which works like a charm with all my nokia phones, but with the Neo FreeRunner is not recognized. That battery with OM 2008.12 doesn't show any info with apm, but worked ok. On SHR unstable, even with the battery fully charged and connected to USB, after 5 minutes, SHR autonomously power off the phone. I set all the values in Settings -> Power Management to "-1", but nothing. Any hint? - -- Francesco de Virgilio *Ubuntu-it Member and Wiki Editor* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia Italia Member* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://fradeve.netsons.org "Love - Peace - Freedom - Free Software" GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmhMLwACgkQRi2TsGSC4FbSWACfcv04y+PcIgZr7yA2/0Bk2WFT EzAAmwcBHTdQ00u4LrdSlx9MzDX96qsD =BoDU -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
(SHR) again
My Freerunner, using U-boot, is happily running the latest SHR-Lite. And it is really good, I think! Nice, works with the phone quite well, and responds really snappy. Me happy again. Thanks for all the help! Paul -- Every society honors its live conformists and its dead troublemakers. -Mignon McLaughlin http://www.nlpagan.net Running on Mandriva Linux 2009 and Ubuntu 8.10 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community