Re: How to access the modem in QtMoko

2012-12-01 Thread Neil Jerram
robin spielr...@web.de writes: how do I communicate directly with the modem on /dev/ttySAC0? I'm not sure that question makes sense. When you're running QtMoko, there's a component somewhere inside QtMoko whose job it is to communicate with the modem, and it would be either impossible (because

QtMoko: how is long Power key press (= shutdown/restart menu) handled?

2012-12-01 Thread Neil Jerram
Sometimes my GTA04 gets into a state where the long Power key press is no longer recognised. I've tried to investigate this, but I can't see anything in the codebase that makes a link between a long Power key press and showing the shutdown/restart menu. Does anyone know how that happens? (This

Re: How to access the modem in QtMoko

2012-12-01 Thread robin
dear neil, thanks for your answer. the reason I wanted to try sending commands to the modem directly is that I have problems setting up my gprs connection with qtmoko. Now I have found one site http://www.gsmsite.de/gprs.htm where they state the AT-commands for manual modem configuration. So I

Re: How to access the modem in QtMoko

2012-12-01 Thread Radek Polak
On Saturday, December 01, 2012 07:12:41 AM robin wrote: how do I communicate directly with the modem on /dev/ttySAC0? For the direct acces I tried cu -l /dev/ttySAC0 as it is stated on the openmoko wiki site but I get 'cu command not found'. does anyone know which package I have to install

Re: QtMoko: how is long Power key press (= shutdown/restart menu) handled?

2012-12-01 Thread Radek Polak
On Saturday, December 01, 2012 12:56:37 PM Neil Jerram wrote: Sometimes my GTA04 gets into a state where the long Power key press is no longer recognised. I've tried to investigate this, but I can't see anything in the codebase that makes a link between a long Power key press and showing the

Re: QtMoko: how is long Power key press (= shutdown/restart menu) handled?

2012-12-01 Thread robin
this would be nice to know so maybe something like short press - suspend medium press - ??? eg favourite program long press - shutdown/menu could be implemented. If I remember correctly android on freerunner has these three states for the power button. robin

Re: QtMoko: how is long Power key press (= shutdown/restart menu) handled?

2012-12-01 Thread Neil Jerram
Radek Polak pson...@seznam.cz writes: On Saturday, December 01, 2012 12:56:37 PM Neil Jerram wrote: Sometimes my GTA04 gets into a state where the long Power key press is no longer recognised. I've tried to investigate this, but I can't see anything in the codebase that makes a link between

Re: How to access the modem in QtMoko

2012-12-01 Thread robin
Dear Radek, can you pass something like AT%EM=2,2 Serving Cell GPRS Information AT%EM=2,3 Neighbour Cell Information to minicom and get back the answer, so I could do somthing like this from my python prorgram: -- import subprocess neighbour_info_call =

Re: QtMoko: how is long Power key press (= shutdown/restart menu) handled?

2012-12-01 Thread Neil Jerram
robin spielr...@web.de writes: this would be nice to know so maybe something like short press - suspend We already have the lock icon for lock and suspend, so I'm not sure why we need this on the power key as well. Perhaps because you're thinking of wanting to suspend when looking at some

Re: QtMoko audio state work

2012-12-01 Thread Radek Polak
On Sunday, November 25, 2012 02:55:59 PM Neil Jerram wrote: After a day yesterday where the A3 audio didn't work for me in several calls, I decided to take a closer look at the QtMoko audio code. That led to a sequence of small (I think) cleanups, and a reworking of the audio state handling

Re: How to access the modem in QtMoko

2012-12-01 Thread Neil Jerram
robin spielr...@web.de writes: dear neil, thanks for your answer. the reason I wanted to try sending commands to the modem directly is that I have problems setting up my gprs connection with qtmoko. Now I have found one site http://www.gsmsite.de/gprs.htm where they state the AT-commands

Re: QtMoko audio state work

2012-12-01 Thread Neil Jerram
Radek Polak pson...@seznam.cz writes: Yup it looks ok, will test it later but it's alreaady pulled in my git. Thanks. Given that, I think it's worth me writing a bit more about where/how my work is going, and there's one bugfix below that you should cherry-pick: please look for While doing

Re: QtMoko audio state work

2012-12-01 Thread Radek Polak
On Saturday, December 01, 2012 06:15:04 PM Neil Jerram wrote: Given that, I think it's worth me writing a bit more about where/how my work is going, and there's one bugfix below that you should cherry-pick: please look for While doing that I noticed a bug. Apart from that bugfix I don't want

Re: How to access the modem in QtMoko

2012-12-01 Thread robin
hi neil, openbmap and cellhunter use fso to access the modem, and at least in openbmaps code I have found a bit which checks if the modem is used by some other process and if not allows you to do the scanning of the main and neighbour cells. even if this becomes a bit off topic now, regarding

Re: QtMoko: how is long Power key press (= shutdown/restart menu) handled?

2012-12-01 Thread robin
Neil Jerram neil at ossau.homelinux.net writes: robin spielraum at web.de writes: this would be nice to know so maybe something like short press - suspend We already have the lock icon for lock and suspend, so I'm not sure why we need this on the power key as well. Perhaps

Re: How to access the modem in QtMoko

2012-12-01 Thread Radek Polak
On Saturday, December 01, 2012 11:36:03 PM robin wrote: even if this becomes a bit off topic now, regarding the gsm-based location I am working on, I think that something similar could/must exist in qtmoko to get this information as already with mokofaen we have the lac and cellid of the