Re: shameless plug

2009-03-26 Thread Fernando Martins
Steve Mosher wrote:
 http://esc-sv09.techinsightsevents.com/freerunner_giveaway

   
FYI, under Thunderbird, your email gets hidden under the thread SHR 
Fennec web browser recipe, which I guess you replied to to get the 
community mailing list address.

Regards,
Fernando

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


Wolfenstein 3D

2009-03-26 Thread s
Hello.
Yesterday John Carmack released the source code 
(ftp://www.idsoftware.com/idstuff/wolf3d/wolf3d_iphone_v1.0_src.zip) of 
Wolfenstein 3D for iPhone/iPod.
Maybe someone could make a binary package for FR? =)

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


Re: [debian] preferred working kernel at the moment?

2009-03-26 Thread Christophe Badoit
Fox Mulder a écrit :
 Hi,
 
 i wonder which kernel is the best or lets say the most stable and
 working für debian at the moment. Since i upgraded from the last 2.6.24
 kernels to the 2.6.28/29 i have more problems than benefits. :/

Hi,

I've tried pretty much the same kernels for debian, and with pretty much
the same problems you encountered.

Right now I'm trying Koolu's Android's kernel; wifi works good, suspend
does not, and no way to force 1000ma charging.

I too, would like to have a good kernel for debian :-)


-- 
Christophe Badoit


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


Re: Is SIM Toolkit possible to support on the freerunner?

2009-03-26 Thread Helge Hafting
Michael 'Mickey' Lauer wrote:
 Am Mittwoch, den 25.03.2009, 14:13 +0100 schrieb Helge Hafting:
 Michael 'Mickey' Lauer wrote:
 Technically, SIM toolkit support is possible with the Calypso.

 I have commented previously about this, so please look my older posts
 up; In a nutshell, STK is a heavy cross-layer spec, so adding it would
 need quit some thought.

 FSO will not work on it, but appreciate patches.
 Is there hope of getting the necessary documentation for the gsm device 
 in the freerunner? With a license that doesn't stand in the way of 
 making a open-source app based on it?
 
 If you're interested in doing this, I'm sure we can work this out.
 
 STK itself seems to be documented on the net, but each gsm device seems 
 to do this differently. There is no standard on how to communicate STK 
 to/from a gsm device.
 
 Correct. While the STK commands are thorougly documented in the specs, the AT 
 commands are device-specific.
 I can collect the Calypso-specific information you need -- if you want to 
 work on that.

I'm interested. I'd like to get this banking stuff working at least. 
That ought to get other get some user input apps working too.

Helge Hafting

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


Re: Data call (aka CSD) with QtExtended

2009-03-26 Thread Tuan TRINH
Hi Ed,
Just try to initiate data call but no success.

There is a strange symptom that is: If I use the same SIM but on other
mobile (Motorora Z8) I can hear the far end land-line modem sound respone
but if I use FR to call the same modem: (1) via AT commands I see no
response, both sound and response modem characters so can not use
expect(CONNECT) with ppp (2) via GUI, it drop the call.

My FR can do voice call normally.

Do you have any way to debug the status of data call while using AT
commands? I just know +CEER but it does not give much info.

Cordially,
Tuan
On Wed, Mar 25, 2009 at 3:33 AM, Ed Kapitein e...@kapitein.org wrote:

 Hi Tuan,

 I was able to make a datacall to a landline modem :-)

 So you can use your freerunner to dial in to an ISP if you like.

 i wil paste the proof of my success below.
 Now i just need to find a way to make it less expensive...

 Kind regards,
 Ed


 MODEM=$(dbus-send --system --print-reply --type=method_call
 --dest=org.pyneo.muxer /org/pyneo/Muxer
 org.freesmartphone.GSM.MUX.AllocChannel string:$identvar | grep string |
 awk -F '' '{ print $2 }')

 pppd nodetach debug call inbel ${MODEM}

 timeout set to 25 seconds
 send (ATE0^M)
 abort on (BUSY)
 abort on (DELAYED)
 abort on (NO ANSWER)
 abort on (NO DIALTONE)
 abort on (VOICE)
 abort on (ERROR)
 abort on (RINGING)
 expect (OK)
 ^M
 OK
  -- got it

 send (AT+CBST=0,0,1^M)
 expect (OK)
 ^M
 ^M
 OK
  -- got it

 send (AT+CR=1^M)
 expect (OK)
 ^M
 ^M
 OK
  -- got it

 send (atdt 1234567890^M)
 expect (CONNECT)
 ^M
 ^M
 +CR: REL ASYNC^M
 ^M
 CONNECT
  -- got it

 send (^M)
 expect (Login)
 ^M
 ^M
 Login
  -- got it

 send (isp_user_n...@your.isp.dom^m)
 expect (Password)
 : isp_user_n...@your.isp.dom^m
 Password
  -- got it

 send (your_isp_passwd^M)
 expect (L2TP)
 : ^M
 ^M^M
L2TP
  -- got it

 send (/n/d^M)
 Serial connection established.
 using channel 11
 Using interface ppp0
 Connect: ppp0 -- /dev/pts/4
 rcvd [LCP ConfReq id=0x0]
 sent [LCP ConfReq id=0x1 asyncmap 0x0 magic 0x34d2bbd3 pcomp
 accomp]
 sent [LCP ConfAck id=0x0]
 rcvd [LCP ConfReq id=0x1 asyncmap 0xa auth pap magic 0x148b1bd
 pcomp accomp mrru 1524 endpoint
 [local:61.72.31.2e.6e.69.6b.2d.61.73.64]  17 04 59 3d]
 sent [LCP ConfRej id=0x1 mrru 1524  17 04 59 3d]
 rcvd [LCP ConfAck id=0x1 asyncmap 0x0 magic 0x34d2bbd3 pcomp
 accomp]
 rcvd [LCP ConfReq id=0x2 asyncmap 0xa auth pap magic 0x148b1bd
 pcomp accomp endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]]
 sent [LCP ConfAck id=0x2 asyncmap 0xa auth pap magic 0x148b1bd
 pcomp accomp endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]]
 sent [LCP EchoReq id=0x0 magic=0x34d2bbd3]
 sent [PAP AuthReq id=0x1 user=isp_user_n...@your.isp.dom
 password=hidden]
 rcvd [LCP EchoRep id=0x0 magic=0x148b1bd]
 rcvd [PAP AuthAck id=0x1 ]
 PAP authentication succeeded
 sent [CCP ConfReq id=0x1 mppe -H -M -S -L -D -C deflate 15
 deflate(old#) 15 bsd v1 15]
 sent [IPCP ConfReq id=0x1 compress VJ 0f 01 addr 0.0.0.0 ms-dns1
 0.0.0.0 ms-dns3 0.0.0.0]
 rcvd [IPCP ConfReq id=0x1 addr 213.53.28.122]
 sent [IPCP ConfAck id=0x1 addr 213.53.28.122]
 rcvd [LCP EchoReq id=0x1 magic=0x148b1bd c0 23 05 06]
 sent [LCP EchoRep id=0x1 magic=0x34d2bbd3 00 00 00 00]
 rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 15 12 06 00 00 00 00 1a 04 78 00
 18 04 78 00 15 03 2f]
 rcvd [IPCP ConfRej id=0x1 compress VJ 0f 01]
 sent [IPCP ConfReq id=0x2 addr 0.0.0.0 ms-dns1 0.0.0.0 ms-dns3
 0.0.0.0]
 rcvd [IPCP ConfReq id=0x2 addr 213.53.28.122]
 sent [IPCP ConfAck id=0x2 addr 213.53.28.122]
 rcvd [IPCP ConfNak id=0x2 addr 217.149.216.138 ms-dns1 217.149.196.6
 ms-dns3 217.149.192.6]
 sent [IPCP ConfReq id=0x3 addr 217.149.216.138 ms-dns1 217.149.196.6
 ms-dns3 217.149.192.6]
 rcvd [IPCP ConfAck id=0x3 addr 217.149.216.138 ms-dns1 217.149.196.6
 ms-dns3 217.149.192.6]
 replacing old default route to usb0 [192.168.0.200]
 local  IP address 217.149.216.138
 remote IP address 213.53.28.122
 primary   DNS address 217.149.196.6
 secondary DNS address 217.149.192.6
 Script /etc/ppp/ip-up started (pid 1992)
 Script /etc/ppp/ip-up finished (pid 1992), status = 0x0
 Terminating on signal 2
 Connect time 0.6 minutes.
 Sent 874 bytes, received 1113 bytes.
 restoring old default route to usb0 [192.168.0.200]
 Script /etc/ppp/ip-down started (pid 2005)
 sent [LCP TermReq id=0x2 User request]
 Script /etc/ppp/ip-down finished (pid 2005), status = 0x0
 rcvd [LCP TermAck id=0x2]
 Connection terminated.



 ___
 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: Data call (aka CSD) with QtExtended

2009-03-26 Thread Ed Kapitein
Hi Tuan,

Strange that no connection is made to the landline modem.
you see no response, but dou you see the at commands echoed back? 
if not use ate1 to see the responses.
you can restart /usr/sbin/gsm0710muxd with the -v option and use logread
to see what is send and received from the modem.

If you use the motorola to call your FR, can you pick up the call with
the ATA command?
Do you see a ring message?


Good luck !
Ed


On Thu, 2009-03-26 at 17:38 +0700, Tuan TRINH wrote:
 Hi Ed,
 Just try to initiate data call but no success.
  
 There is a strange symptom that is: If I use the same SIM but on other
 mobile (Motorora Z8) I can hear the far end land-line modem sound
 respone but if I use FR to call the same modem: (1) via AT commands I
 see no response, both sound and response modem characters so can not
 use expect(CONNECT) with ppp (2) via GUI, it drop the call.
  
 My FR can do voice call normally.
  
 Do you have any way to debug the status of data call while using AT
 commands? I just know +CEER but it does not give much info.
  
 Cordially,
 Tuan
 On Wed, Mar 25, 2009 at 3:33 AM, Ed Kapitein e...@kapitein.org wrote:
 Hi Tuan,
 
 I was able to make a datacall to a landline modem :-)
 
 So you can use your freerunner to dial in to an ISP if you
 like.
 
 i wil paste the proof of my success below.
 Now i just need to find a way to make it less expensive...
 
 Kind regards,
 Ed
 
 
 MODEM=$(dbus-send --system --print-reply --type=method_call
 --dest=org.pyneo.muxer /org/pyneo/Muxer
 org.freesmartphone.GSM.MUX.AllocChannel string:$identvar |
 grep string |
 awk -F '' '{ print $2 }')
 
 
 pppd nodetach debug call inbel ${MODEM}
SNIP

 


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


Re: Wolfenstein 3D

2009-03-26 Thread Yorick Moko
splendid! :)

On Thu, Mar 26, 2009 at 8:56 AM, s ivanshirok...@gmail.com wrote:
 Hello.
 Yesterday John Carmack released the source code
 (ftp://www.idsoftware.com/idstuff/wolf3d/wolf3d_iphone_v1.0_src.zip) of
 Wolfenstein 3D for iPhone/iPod.
 Maybe someone could make a binary package for FR? =)

 ___
 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


Configuring neo as a Bluetooth Headset to SIP client

2009-03-26 Thread Kumar
Hi all,

I want to configure neo as a bluetooth headset for my linux PC SIP client so
that i can receive my VOIP calls on my neo speakers and i can talk with my
neo microphone!

Is it possible without hardware changes? Give some directions to configure
neo audio system to make it work.

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


Re: Wolfenstein 3D

2009-03-26 Thread Marcel
I'd say the Glamo (if 3d acceleration was working at all) doesn't have the 
power to handle this...

--
Marcel

Am Thursday 26 March 2009 14:06:08 schrieb Yorick Moko:
 splendid! :)

 On Thu, Mar 26, 2009 at 8:56 AM, s ivanshirok...@gmail.com wrote:
  Hello.
  Yesterday John Carmack released the source code
  (ftp://www.idsoftware.com/idstuff/wolf3d/wolf3d_iphone_v1.0_src.zip) of
  Wolfenstein 3D for iPhone/iPod.
  Maybe someone could make a binary package for FR? =)

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


Re: Wolfenstein 3D

2009-03-26 Thread Rafael Ignacio Zurita

  On Thu, Mar 26, 2009 at 8:56 AM, s ivanshirok...@gmail.com wrote:
   Hello.
   Yesterday John Carmack released the source code
  
 (ftp://www.idsoftware.com/idstuff/wolf3d/wolf3d_iphone_v1.0_src.zip) of
   Wolfenstein 3D for iPhone/iPod.
   Maybe someone could make a binary package for FR?


--- On Thu, 3/26/09, Marcel tan...@googlemail.com wrote:
 I'd say the Glamo (if 3d acceleration was working at
 all) doesn't have the 
 power to handle this...

So I guess that you have not played Duke Nukem 3d or 
DOOM with your Freerunner right? :-)

Perhaps it is a good time to work in the Quake 1 port ...

Rafa


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


Re: Wolfenstein 3D

2009-03-26 Thread Marcel
Am Thursday 26 March 2009 14:34:39 schrieb Rafael Ignacio Zurita:
   On Thu, Mar 26, 2009 at 8:56 AM, s ivanshirok...@gmail.com wrote:
Hello.
Yesterday John Carmack released the source code
 
  (ftp://www.idsoftware.com/idstuff/wolf3d/wolf3d_iphone_v1.0_src.zip) of
 
Wolfenstein 3D for iPhone/iPod.
Maybe someone could make a binary package for FR?

 --- On Thu, 3/26/09, Marcel tan...@googlemail.com wrote:
  I'd say the Glamo (if 3d acceleration was working at
  all) doesn't have the
  power to handle this...

 So I guess that you have not played Duke Nukem 3d or
 DOOM with your Freerunner right? :-)

 Perhaps it is a good time to work in the Quake 1 port ...

Hmm. maybe I should really try that :D

--
Marcel

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


Re: Wolfenstein 3D

2009-03-26 Thread Rafael Ignacio Zurita

--- On Thu, 3/26/09, Marcel tan...@googlemail.com wrote:
  --- On Thu, 3/26/09, Marcel tan...@googlemail.com wrote:
   I'd say the Glamo (if 3d acceleration was working at
   all) doesn't have the
   power to handle this...
 
  So I guess that you have not played Duke Nukem 3d or
  DOOM with your Freerunner right? :-)
 
  Perhaps it is a good time to work in the Quake 1 port
 ...
 
 Hmm. maybe I should really try that :D

For Doom:
http://unsyncopated.com/BrainSolvent/Doom%20Port

For Duke Nukem 3D use the Charles-Henri's version:
http://wiki.openmoko.org/wiki/Duke_Nukem_3D

Rafa


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


Re: Configuring neo as a Bluetooth Headset to SIP client

2009-03-26 Thread Paul Fertser
Kumar kumar.n...@gmail.com writes:
 I want to configure neo as a bluetooth headset for my linux PC SIP client so 
 that i can receive my VOIP
 calls on my neo speakers and i can talk with my neo microphone!

 Is it possible without hardware changes? Give some directions to configure 
 neo audio system to make it
 work.

Hi, you might have some luck with software like [1]. You need to use
voip state file for this idea to work.

[1] http://voxel.at/tikiwiki/tiki-index.php?page=ProjectBluezHandsfree
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


[All] Boot with power button freezes the Neo

2009-03-26 Thread Francesco de Virgilio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi list,
this is a problem I've had since November 2008, passing through
OM2008.08, OM2008.09 OM2008.12, Debian, SHR-unstable, SHR-testing, so I
could assume that it depends from uboot.

If I power up the neo pressing for (more or less) 8 seconds the power
button, the Openmoko orange  black screen appears, and here it remains.

To start _any_ distribution I have to power it up in NAND and select
boot, and it makes difficult to power up the Neo in some situations
where I could use only one hand, for example while I'm driving car.

So, is there a way to configure Neo to start automatically SHR with
power button pression? SHR is flashed normally in the phone, and I use
uSD only for TangoGPS maps storage.

Thanks :)
- --
Francesco de Virgilio
*Ubuntu-it Member and Wiki Editor*
   mailto:frad...@ubuntu-it.org
   http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia projects contributor*
   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)

iEYEARECAAYFAknLo38ACgkQRi2TsGSC4FYiDQCePkRskRF91JsG6LcxiNHsE/EY
vqgAniPKTVbFZ2/KCAXufArT2a/fCoPq
=BEX0
-END PGP SIGNATURE-

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


Re: [All] Boot with power button freezes the Neo

2009-03-26 Thread Tony Berth
On Thu, Mar 26, 2009 at 4:47 PM, Francesco de Virgilio
fradev...@gmail.comwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi list,
 this is a problem I've had since November 2008, passing through
 OM2008.08, OM2008.09 OM2008.12, Debian, SHR-unstable, SHR-testing, so I
 could assume that it depends from uboot.

 If I power up the neo pressing for (more or less) 8 seconds the power
 button, the Openmoko orange  black screen appears, and here it remains.

 To start _any_ distribution I have to power it up in NAND and select
 boot, and it makes difficult to power up the Neo in some situations
 where I could use only one hand, for example while I'm driving car.

 So, is there a way to configure Neo to start automatically SHR with
 power button pression? SHR is flashed normally in the phone, and I use
 uSD only for TangoGPS maps storage.

 Thanks :)
 - --
 Francesco de Virgilio


I have the same since I tried debian on it. I can remember that debian wiki
requested some changes the way FR boots and this is due to that. I was too
lazy though to search more in order to revoke those alternations!

Cheers

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


Re: [All] Boot with power button freezes the Neo

2009-03-26 Thread arne anka
first idea would be to check inhowfar the boot entries for nand (pwr) and  
nor (aux+pwr) differ.
next thing would be to update the uboot.

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


Re: [All] Boot with power button freezes the Neo

2009-03-26 Thread Francesco de Virgilio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

arne anka ha scritto:
 first idea would be to check inhowfar the boot entries for nand (pwr) and  
 nor (aux+pwr) differ.
 next thing would be to update the uboot.
 

Thank for the quick hint but... is there a smart way to do this? I've
read the wiki entries for uboot but it seems quite complicated and I
don't know from which point start :|

Thanks again

- --
Francesco de Virgilio
*Ubuntu-it Member and Wiki Editor*
   mailto:frad...@ubuntu-it.org
   http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia projects contributor*
   http://en.wikipedia.org/wiki/User:Fradeve11
*OpenStreetMap Mapper*
   http://www.openstreetmap.org/user/Fradeve11
*Blog*
   http://fradeve.netsons.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknLpYkACgkQRi2TsGSC4FZU7ACghRc8a7+CpjrbpgX2pgCBVJlj
awYAn3g92XM284y+5TePOBkdIMMW/0nm
=9qRc
-END PGP SIGNATURE-

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


Re: [All] Boot with power button freezes the Neo

2009-03-26 Thread arne anka
well, basically boot to the boot menu (of nand and nor respectivele,  
requires different sequneces of pwr and aux) and when the menu appears  
connect and have a look at the menu.
i don't remember what tool exactly i used to connect, and due to the  
really fragmented information in the wiki i am unable to find out (could  
it have been cu?).

but easier (and without the hassle with timeouts and so forth) might be  
the approach described here:

 http://markmail.org/message/d2abi2nm5vms3unh

in more detail here
 http://wiki.openmoko.org/wiki/U-boot#What_if_I_borked_my_bootloader_environment_and_don.27t_get_a_prompt_anymore.3F

basically, fetch the menu and have a look at it or post it here.

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


Re: [All] Boot with power button freezes the Neo

2009-03-26 Thread Rask Ingemann Lambertsen
On Thu, Mar 26, 2009 at 04:55:56PM +0100, Francesco de Virgilio wrote:
 
 Thank for the quick hint but... is there a smart way to do this? I've
 read the wiki entries for uboot but it seems quite complicated and I
 don't know from which point start :|

   Boot to the NOR boot menu, connect to the USB console from another
computer with a terminal probram and use the printenv command. Save the
output somewhere. Repeat for the NAND boot menu.

-- 
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


graphical nethack for freerunner (alpha version released)

2009-03-26 Thread Aapo Rantalainen
http://cc.oulu.fi/~rantalai/freerunner/nethack/
Warnign: Not yet playable!

At last I got inspiration to compile graphical Nethack for Freerunner.
It is actually gtk2-hack ported to maemo. So it has dependeries on
libosso and libhildon, but I got them compiled from OpenEmbedded.
Tested with OM2008.12.

Nethack-maemo is almost keyboardless. Nokia Internet Tablet has couple
of hw-buttons, so this is not yet playable, because Freerunner doesn't
have these buttons. And element-layout must be changed, maybe some
tuning of icons, font size etc. And there are two sets of graphics,
but I got only uglier to work.

So let me know if you are interested in play this game someday, or
even better if you want help me to get this happen (help on planning
is important as help on coding).

-Aapo Rantalainen

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


Re: Configuring neo as a Bluetooth Headset to SIP client

2009-03-26 Thread Stefan Monnier
 I want to configure neo as a bluetooth headset for my linux PC SIP client so
 that i can receive my VOIP calls on my neo speakers and i can talk with my
 neo microphone!

Interesting.  I wonder, tho: why do you prefer such a setup over
one where the FR itself runs the VOIP program?


Stefan


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


Re: [SHR] Fennec web browser recipe

2009-03-26 Thread Johny Tenfinger
It's alpha 2 version. It's not usable on FR and everyone can build it
with bitbake (after installing some libs on host, due to bugs).

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


test result of battery current against display brightness and GPS power mode

2009-03-26 Thread Qingyou Meng
Because display and GPS chip may be powered on for a long while, I
choose to test them here.

Phone is GTA02v5. Distribution is latest SHR unstable, with almost 0% CPU load.
No devices(WIFI, GSM, etc) opened before this test. Battery capacity
is about 88%.

My test method is, for example: set display background light to 100%,
then get battery current every 5 seconds for a while...

To power on GPS chip: write 1 to file
/sys/bus/platform/devices/neo1973-pm-gps.0/pwron.
To set brightness: write (brightness_percent / 100 * 255) to file
/sys/class/backlight/gta02-bl/brightness
To get current battery power: read file
/sys/class/power_supply/battery/current_now.
- It seems kernel update this file every 30 seconds
- the output unit is uA.
To enable/activate FixNow sleep mode: write UBX binary messages
CFG-FXN and CFG-RXM to /dev/ttySAC1.
- when activate, write dummy packet and RXM-POSREQ message:
  { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xB5,
0x62, 0x02, 0x40, 0x00, 0x00, 0x42, 0xC8 }

Here is the results:

1. when GPS chip is powered off, test brightness vs. battery current:

* brightness = 100%: battery current ~= 203 mA
* brightness =  75%: battery current ~= 153 mA
* brightness =  50%: battery current ~= 116 mA
* brightness =  25%: battery current ~= 101 mA
* brightness =   0%: battery current ~=  95 mA

2. when brightness is 0%, test GPS power state vs. battery current:

* GPS normal power mode: battery current ~= about 144 mA
* GPS FixNow sleep mode:  battery current ~= about  97 mA when it goes to sleep
* GPS FixNow sleep mode:  battery current ~= about 146 mA when it is waken up

From test #1, (assume battery voltage is constant) we can see:

1) the naked OS with almost zero CPU load and 0% brightness consumes ~95 mA.
2) brightness greatly affect battery life, 100% brightness consumes ~108 mA
3) comparing to 100% brightness,
   25% brightness saves 95% power,
   50% brightness saves 80% power,
   75% brightness saves 55% power

From test #2, we can see:

1) GPS chip consumes about 50 mA when run in normal mode
2) GPS chip consumes near 2 mA when it goes to FixNow sleep

I've been testing FixNow for a while. Now I doubt whether it is useful
for phone users, because:

1) to save power, we can't frequently wake up FixNow from sleep,
because on each wakeup it tries getting fixes for a while then goes to
sleep (off).
2) the position data is not accurate just after wakeup, so we have to
poll for a while, if we're lucky enough we get good fix.

I think, FixNow can only be possibly used in this kind of scenario on
Freerunner:
-- For a long trip, we need log position data (say every 3~5 minutes,
I think it's bad to set the frequency less than 1 minute).
   A logger sets GPS chip to FixNow mode, frequently wakeup it to get fix.
   To save power, we set display brightness to 0% by locking screen,
but OS still consumes 95 mA, leaving at most ~10 hours battery life!

How to utilize FixNow feature?
Can we make the power consumption of naked OS down to tens of mA?

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


Re: test result of battery current against display brightness and GPS power mode

2009-03-26 Thread Rask Ingemann Lambertsen
On Fri, Mar 27, 2009 at 05:21:59AM +0800, Qingyou Meng wrote:

To save power, we set display brightness to 0% by locking screen,
 but OS still consumes 95 mA, leaving at most ~10 hours battery life!

   You must have done something wrong. I frequently test power comsumption
and I get 54 mA on a fully charged battery, dropping slowly as the battery
discharges[1] and nearly 20 hours battery life.

   FWIW, I test with this command on a Debian installation:

sleep 120  cat 
/sys/class/power_supply/battery/{status,current_now,voltage_now,capacity}

[1] It's supposed to be the other way around - current increasing as the
battery discharges - but there's a current leak somewhere. It was down to 46
mA not too long ago with a kernel from the andy-tracking branch.

-- 
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