Re: [QtMoko] power off GSM?

2013-01-09 Thread robin
in this thread

http://comments.gmane.org/gmane.comp.handhelds.openmoko.community/62092

someone said he had "woods mode" active which as far as I understood is the 
mode with the modem turned off. maybe you can contact him and share his
solution with us on the list.

br

robin


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] power off GSM?

2013-01-09 Thread Paul Wise
On Wed, Jan 9, 2013 at 4:51 PM, robin wrote:

> did you also try just to
>
> echo -en "AT  POFF\r" >/dev/ttySAC0
>
> without setting the modem to dummy beforehand?

Doesn't appear to work, at least Linux still thinks GSM is on:

# cat /sys/bus/platform/devices/gta02-pm-gsm.0/power_on
1

I guess that it gets turned off and then QtMoko turns it back on.

-- 
bye,
pabs

http://wiki.openmoko.org/wiki/User:PaulWise

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] power off GSM?

2013-01-09 Thread robin
did you also try just to 

echo -en "AT  POFF\r" >/dev/ttySAC0

without setting the modem to dummy beforehand?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] power off GSM?

2013-01-08 Thread Paul Wise
Unfortunately if I do that then QtMoko doesn't start. qpe seems to be
using 100% CPU and the child processes of qpe have all died and become
zombies. Setting the modem to dummy seems to be the cause of this.

PS: I'm subscribed, no need to CC me.

-- 
bye,
pabs

http://bonedaddy.net/pabs3/


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] power off GSM?

2013-01-08 Thread Radek Polak
On Wednesday, January 09, 2013 04:42:50 AM Paul Wise wrote:

> Hi all,
> 
> Does anyone know if it is possible in QtMoko to power off GSM on
> startup and keep it off? I'm only using my gta02 as a computer right
> now and don't want to waste energy on GSM.

Hi,
you can make QtMoko use dummy GSM stack. You can edit /opt/qtmoko/qpe.env and 
change:

export QTOPIA_PHONE=AT

to
export QTOPIA_PHONE=Dummy

Then you need to manually power off the modem - e.g. in startup scripts. I 
think there was AT command for it - maybe:

echo -en "AT@POFF\r" >/dev/ttySAC0

could do it - or google helps :)

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community