How to maximize GPS battery life ?
Hi folks, if I want to use my FR as a GPS track logger (for an OSM mapping party for example), what is the best way to save battery life ? It seems that GPS chip is able to keep the fix while FR is suspended (/sys/devices/platform/gta02-pm-gps.0/keep_on_in_suspend), but I need the CPU to log data, don't I ? Currently, I think I would do something like this : - shut down GSM (FR is also my phone) - launch fsoraw -r GPS tangogps and start logging - let the FR disable display after 30s (problem : any touch on screen will keep it up) Any idea ? Xavier. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to maximize GPS battery life ?
On Fri, Sep 10, 2010 at 10:33 AM, Xavier Cremaschi omega.xav...@gmail.com wrote: Currently, I think I would do something like this : - launch fsoraw -r GPS tangogps and start logging There is an app specifically made for GPS logging (OMGPSLOG???) that does not do any 'fancy' calculations and does not display bitmap graphics. So if it's _just_ logging, you don't need the maps.. - let the FR disable display after 30s (problem : any touch on screen will keep it up) I've thought about letting the AUX button (when pressed for 5 seconds) turn off the touch screen. You can unlock by pressing AUX, and no touch screen - no waking up! Christ van Willegen ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gprs bug QtMoko v26
Alfa21 wrote: hello, I'm having troubles too... I tried also an old (at the time was working) gprs chat file for my provider found in a backup of mine, but without success now. I checked also empirically with my HI-FI amplifier the rf noise: when I check my credit, start a call or send an sms I'm able to listen the typical tarata-tarata-tarata... but when I launch the gprs connection all is quiet! deep silence! so, imho, something is not working in the latest qtmoko release. (I can remember v19 was ok for sure) kind regards, a. I tried with v26 after correcting the line in /home/root/Applications/Network/chat/connect-dialup and it worked. But i had sometimes problems to get GPRS online too. Maybe it can be also related to debug/nodebug kernels, because i am not aware that anyting GPRS related changed in rootfs. You can try to experiment with AT log or disable multiplexing, but i dont know anything better for now. Regards Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to maximize GPS battery life ?
Xavier Cremaschi omega.xav...@gmail.com writes: It seems that GPS chip is able to keep the fix while FR is suspended (/sys/devices/platform/gta02-pm-gps.0/keep_on_in_suspend), but I need the CPU to log data, don't I ? The GSM chip has an ARM cpu. It is possible to run code on it and modify it to buffer the data to its own memory so that you only need to wake the main CPU once every 10 minutes or so. - launch fsoraw -r GPS tangogps and start logging tangogps consumes cpu time uselessly. I just echo '?WATCH={class:WATCH,enable:true,json:false,nmea:true,raw:0,scaled:false,timing:false}' | nc localhost gpsd $HOME/gps/`date -Iseconds`.dump currently with gpsd. - let the FR disable display after 30s (problem : any touch on screen will keep it up) I have been using http://iki.fi/lindi/openmoko/touchscreen-lock.c for a year or so. It locks the touchscreen so that X does not see any events unless you swipe the screen slowly from top to bottom with your finger. if I want to use my FR as a GPS track logger (for an OSM mapping party for example), what is the best way to save battery life ? I carry a set of external usb batteries with me when mapping. See http://wiki.openmoko.org/wiki/user:lindi for more info. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to maximize GPS battery life ?
you have qgpslog as an only logging app. 2010/9/10 Timo Juhani Lindfors timo.lindf...@iki.fi Xavier Cremaschi omega.xav...@gmail.com writes: It seems that GPS chip is able to keep the fix while FR is suspended (/sys/devices/platform/gta02-pm-gps.0/keep_on_in_suspend), but I need the CPU to log data, don't I ? The GSM chip has an ARM cpu. It is possible to run code on it and modify it to buffer the data to its own memory so that you only need to wake the main CPU once every 10 minutes or so. - launch fsoraw -r GPS tangogps and start logging tangogps consumes cpu time uselessly. I just echo '?WATCH={class:WATCH,enable:true,json:false,nmea:true,raw:0,scaled:false,timing:false}' | nc localhost gpsd $HOME/gps/`date -Iseconds`.dump currently with gpsd. - let the FR disable display after 30s (problem : any touch on screen will keep it up) I have been using http://iki.fi/lindi/openmoko/touchscreen-lock.c for a year or so. It locks the touchscreen so that X does not see any events unless you swipe the screen slowly from top to bottom with your finger. if I want to use my FR as a GPS track logger (for an OSM mapping party for example), what is the best way to save battery life ? I carry a set of external usb batteries with me when mapping. See http://wiki.openmoko.org/wiki/user:lindi for more info. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to maximize GPS battery life ?
Sylvain Paré sylvain.p...@gmail.com writes: you have qgpslog as an only logging app. It seems to require X though? So if my X crashes it stops logging? I still prefer running netcat under screen for reliability :) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gprs bug QtMoko v26
You can try to experiment with AT log or disable multiplexing, but i dont know anything better for now. Regards Radek hi radek, i tried rebooting with mux and deepsleep both disabled (neocontrol) and checked the at log (temporarily enabled)... all was ok and i can use arora with my gprs connection. i reverted back mux and deepsleep, rebooted with on/on and my gprs is still ok! :) i do not understand what was wrong before... but now all should be the same again, instead my gprs works a lot well :D btw, i can confirm sometimes the first attempt to start the gprs blink a while but fails... just try again and it's ok. kind regards, a. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gprs bug QtMoko v26
On 09/10/2010 10:50 AM, Radek Polak wrote: I tried with v26 after correcting the line in /home/root/Applications/Network/chat/connect-dialup and it worked. But i had sometimes problems to get GPRS online too. Maybe it can be also related to debug/nodebug kernels, because i am not aware that anyting GPRS related changed in rootfs. Hi Radek, I think that it is caused by internal multiplexer - sometime it start to work incorrectly. I don`t think that its kernel related. My idea is to disable internal qtmoko multiplexer and use external daemon and configure qtopia to use multiply ports. I hope i will have some time to play with this in the feature, but still not sure when this could happens. You can try to experiment with AT log or disable multiplexing, but i dont know anything better for now. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Got also a WikiReader now
It's easy to load languages on the card. But unfortunately, they don't have a Polish Wiki yet. As long as you get the international Wikireader, it supports up to a 16gb microSD card. International comes with an 8gb. English takes up about 5gb. Summer 2010 Update (8GB, 16GB) Download the base image and then download the language packs that you want to use: Base Files (12.2 MB): All English Wikipedia (5 GB): Parts 1, 2, 3, 4, 5 中文 Wikipedia (449.8 MB): All 日本語 Wikipedia (1.4 GB): Parts 1, 2 Português Wikipedia (640.2 MB): All Norsk (bokmål) Wikipedia (294.8 MB): All Ελληνικά Wikipedia (106.7 MB): All Français Wikipedia (1.6 GB): Parts 1, 2 Suomi Wikipedia (310.7 MB): All Dansk Wikipedia (162.1 MB): All Deutsch Wikipedia (1.9 GB): Parts 1, 2 Nederlands Wikipedia (678.2 MB): All Español Wikipedia (1.1 GB): Parts 1, 2 Cymraeg Wikipedia (30.9 MB): All Русский Wikipedia (1 GB): All Magyar Wikipedia (311.4 MB): All English Wikiquote (53.8 MB): All English Wiktionary (388.1 MB): All On Thursday, September 09, 2010 07:20:23 pm Adam Bogacki wrote: On -9/01/37 07:59, Alexander Lehner wrote: Since 'Pulster' recently posted, that he has Germanized WikiReaders, I could not resist and ordered one. Now I've got it and started playing around (first removed the cap to see the connector to the debug serial interface - disappointed, I need a special adapter to it). But what really surprised me was the fact, that the delivered SD card not only held a german Wikipedia, but also a english and a dutch one! and I can switch between then during runtime and even the history function tracks the different country-specific entries correctly. This function makes it valuable for me, since there are a lot of country-specific pages which are not translated to other languages (simply because it sometimes makes no sense). Of course I was looking around to see some hacks or mods, but I was too lazy to set up my own build-chain. The Fortran interface is nice for some tests, indeed. Just for the joy of yes, we can I'd be intersted in some different ways of abusing that device, and I'm missing a email group like this one for the OM handy. Any pointers to active hackers for the WikiReader? Thanks, Alex. Is there a dual polish - english wikireader SD card available yet ? Adam Bogacki, adam.boga...@clear.net.nz ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
qtmoko apt sources.list configuration
hi i think it's not a good thing to hardcode the german apt mirror for the standard configuration in the mass qtmoko distribution: - almost every user will not configure the sources.list - it's not always the best choice, eg if you are not in europe - we could weigh down the .de mirrors (ok, maybe one day everyone in the world will have a FR with qtmoko ;D ) what about apt-spy? http://www.debianadmin.com/check-debian-archive-mirrors-bandwidth-using-apt-spy.html imho we should automatically run it before apt-update in R(apt)or... what do you think about this? bye ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: QtMoko v26
Whooo, using QTMokov26 for some days now, and it's a really allday phone now. But allday until when ? Because when I try an apt-get update... Bing!* : no space left on device ! Does anyone has a turnaround aor a real solution to this ? thanks you all (and a special big up to Radek ;-)) AstHrO / Openmoko-fr.org http://www.tlbc.fr/Espace_Client/html/suivilivraisons/html/recherche/detailtransporteur.php?NumCdeTrans=82125*(tm)(c)(r) 2010 Micro-somerthing Corp. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: QtMoko v26
On Fri, Sep 10, 2010 at 4:13 PM, Thomas HOCEDEZ thomas.hoce...@free.fr wrote: But allday until when ? Because when I try an apt-get update... Bing!* : no space left on device ! Does anyone has a turnaround aor a real solution to this ? buy a bigger uSD ;) I've a 4GB partitioned as: 1 - 2GB as /media/card (fat32) 2 - 1.7GB as rootfs (ext3) 3 - 300MB as swap (swap) /* OT I've also added the following line in my /etc/sysctl.conf vm.swappiness=0 */ on v26 I can use my FR as a usb drive, with the 2GB partition (1) visible also in a windows system. bye ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: QtMoko v26
Le 10/09/2010 16:29, Alfa21-mobile a écrit : On Fri, Sep 10, 2010 at 4:13 PM, Thomas HOCEDEZ thomas.hoce...@free.fr wrote: But allday until when ? Because when I try an apt-get update... Bing!* : no space left on device ! Does anyone has a turnaround aor a real solution to this ? buy a bigger uSD ;) I've a 4GB partitioned as: 1 - 2GB as /media/card (fat32) 2 - 1.7GB as rootfs (ext3) 3 - 300MB as swap (swap) /* OT I've also added the following line in my /etc/sysctl.conf vm.swappiness=0 */ Why ? what is it ? on v26 I can use my FR as a usb drive, with the 2GB partition (1) visible also in a windows system. bye - Nice idea ! ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- Thomas HOCEDEZ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: QtMoko v26
/* OT I've also added the following line in my /etc/sysctl.conf vm.swappiness=0 */ Why ? what is it ? please read this: http://lists.openmoko.org/pipermail/community/2010-September/062911.html on v26 I can use my FR as a usb drive, with the 2GB partition (1) visible also in a windows system. bye - Nice idea ! and now a question from me: when the usb mass storage mode is enabled, all the used partitions is in read only mode.. I see qtmoko exports also the rootfs and imho it's not good because if I forget to switch off the usb storage ... it's bad for the whole system. the question is: how I can configure qtmoko to use only a specific partition? eg the one mounted on /media/card only? tnx. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: gprs bug QtMoko v26
2010-09...@13:22 Alfa21-mobile i reverted back mux and deepsleep, rebooted with on/on and my gprs is still ok! :) i do not understand what was wrong before... but now all should be the same again, instead my gprs works a lot well :D sorry, I was wrong I've doublechecked this and if I keep the multiplex the gprs doesn't connect. the only problem with this is I cannot hear incoming calls (yeah, = no multiplex) if I'm on gprs. bye ps: someone here is able to send/receive mms with qtmoko26? (I'm not sure about operator's settings I have) -- ALFA21 IS PROVIDED AS IS AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: qtmoko apt sources.list configuration
В Птн, 10/09/2010 в 16:09 +0200, Alfa21-mobile пишет: hi i think it's not a good thing to hardcode the german apt mirror for the standard configuration in the mass qtmoko distribution: - almost every user will not configure the sources.list - it's not always the best choice, eg if you are not in europe - we could weigh down the .de mirrors (ok, maybe one day everyone in the world will have a FR with qtmoko ;D ) what about apt-spy? http://www.debianadmin.com/check-debian-archive-mirrors-bandwidth-using-apt-spy.html imho we should automatically run it before apt-update in R(apt)or... what do you think about this? I think it is not so mass at this moment to cause any problems. But proper solution may be just adding choise to installer. Gennady ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Contacts lost in QtMoko v26
В Чтв, 09/09/2010 в 13:33 -0700, Brolin Empey пишет: Rashid wrote: Hi guys, when i updated from v22 to v24 i lost my contacts but they showed up sometimes (when i called someone by number which was added before I flashed the device). New contacts were there. At the first start after flashing all contacts were there. No are all gone. Someone knows a way to fix the problem? Have you continued restarting QtEI to see if your contacts reappear? Have you used another phone or a SIM card reader to verify your contacts are still on your SIM? Yes, i something like this in qtmoko. I have to wait ~30 seconds after entering pin and after that contacts appear in list. Very rarely they do not appear, and i have to restart qtmoko. Also, in some older release (in june i think) i noticed that if i wait too long and pin question visible for may be 15 minutes, contacts always not loaded. To workaround try to delete 1 contact (last) on other phone and see if they reappear. (just guess) Gennady ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
usb-mass-storage, data corruption, QtMoko v26
2010-09...@18:13 Alfa21-mobile and now a question from me: when the usb mass storage mode is enabled, all the used partitions is in read only mode.. I see qtmoko exports also the rootfs and imho it's not good because if I forget to switch off the usb storage ... it's bad for the whole system. the question is: how I can configure qtmoko to use only a specific partition? eg the one mounted on /media/card only? about g_file_storage... we have this DOGMA: an usb host will not expect to see any changes in the storage other than the ones it makes. I found a critical (if the rootfs is on uSD) bug concerning the use of g_file_storage with the scripts in qtmokoV26!! - the # mount checking if, in /opt/qtmoko/bin/usb-mass-storage-on.sh is too weak because: 1) by default /etc/fstab in qtmoko contains rootfs for / and any root partition on the uSD is not found by that grep 2) any swap partition is not found by that grep so we could corrupt our storage if it remains mounted inside the freerunner and both exported with usb! a fix could be: - in storage-on script 1) modify the DEV_NAME with the name of the specific partition we want to export 2) umount it and really verify it's not mounted 3) modprobe g_file_storage (and we should add removable=y to the modprobe line) btw I'm not sure if this is acceptable by OSes others than linux, because in this way we expose a storage without a partition table. (I'll check this on a windows computer asap) ...else we could make a partition table inside the exported partition and use kpartx in the freerunner to read the storage (yes, it's like a matryoshka of partitions) bye, a. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community