[Smartphones-userland] GPS bugs

2008-10-26 Thread Enrico Zini
Hello,

today I used the GPS and it reminded me of some GPS bugs I needed to report:

 1. When two applications use the GPS, it stops working.  In the log, there is
this line, which may or may not be related:

Oct 26 17:14:31 ciapino kernel: rxerr: port ch=0x00, rxs=0x000c

It starts to work again after a reboot.

 2. After a long time of use, the GPS stops working.  It may be the same as the
previous case.

 3. Just after the GPS has had a fix, for a while the date and time contain
garbage, then at some point they stabilise:

37.294691,13.541284,119.7,0.0,128.3,1.4,1999-11-29T23:00:00Z
37.294693,13.541284,119.7,0.0,124.6,1.4,1999-11-29T23:00:00Z
37.294694,13.541284,119.6,0.0,124.6,1.4,1969-12-31T23:59:59Z
37.294696,13.541284,119.5,0.0,121.8,1.4,1999-11-29T23:00:00Z
37.294697,13.541284,119.6,0.0,117.4,1.4,2001-11-29T23:00:00Z
37.294698,13.541283,119.6,0.0,117.4,1.4,2005-11-29T23:00:00Z
37.294699,13.541282,119.6,0.0,120.5,1.4,2001-11-29T23:00:00Z
37.294699,13.541281,119.6,0.0,118.3,1.4,1999-11-29T23:00:00Z
37.294700,13.541281,119.5,0.0,118.3,1.4,2008-10-11T06:38:41Z
37.294701,13.541281,119.5,0.0,116.6,1.4,2008-10-11T06:38:42Z
37.294702,13.541281,119.4,0.0,114.4,1.4,2008-10-11T06:38:43Z
37.294704,13.541281,119.3,0.0,111.0,1.4,2008-10-11T06:38:44Z

the right timestamps can be inferred backwards by knowing the time step of
the logging software, but still.

 4. When the GPS loses signal it wanders off straight in some random direction,
and when the signal is back again it slowly wanders back to the right
place, giving offset data for maybe 10 or 20 seconds until the offset is
fully corrected.  The result is a trace like this (taken by walking in a
straight line all the time):


LOST  -
-  
   -   
  FIX--
 

Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland


Re: [Smartphones-userland] ppp bug?

2008-10-26 Thread Timo Juhani Lindfors
Michael [EMAIL PROTECTED] writes:
 when I start gprs whith mdbus or direct whith pppd the default route is
 not set.

 #ifconfig ppp0
 ppp0  Link encap:Point-to-Point Protocol  
   inet addr:10.220.158.110  P-t-P:10.64.64.64 Mask:255.255.255.255
   UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
   RX packets:4 errors:0 dropped:0 overruns:0 frame:0
   TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:3 
   RX bytes:52 (52.0 B)  TX bytes:73 (73.0 B)

 #route -n
 Destination Gateway Genmask Flags Metric RefUse  Iface
 10.64.64.64 0.0.0.0 255.255.255.255 UH0  00  ppp0
 192.168.0.0 0.0.0.0 255.255.255.0   U 0  00  usb0
 0.0.0.0 0.0.0.0 0.0.0.0 U 0  00  ppp0

 so i must do:
 #route del default
 #route add default gw 10.64.64.64

What does frameworkd print to stdout/stderr? Maybe your ISP does not
send correct gateway address.



___
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland