|
|
2006-05-20
, 21:15
|
|
Posts: 23 |
Thanked: 0 times |
Joined on May 2006
|
#132
|
|
|
2006-05-20
, 21:37
|
|
Posts: 7 |
Thanked: 0 times |
Joined on Dec 2005
|
#133
|
|
|
2006-05-20
, 22:38
|
|
Posts: 6 |
Thanked: 0 times |
Joined on May 2006
|
#134
|
Does anybody else have a problem with maemo-wrapper 0.1 ceasing to function after a few minutes of proper operation? It ignores the GPS. Telling it to disable and enable the GPS causes it to start looking for a GPS receiver, but it never finds one. If I reboot and re-run maemo-mapper, it works again. Implication is that there is nothing in the state of the GPS receiver which causes the failure. Problem only seems present when a fix is available.
#!/bin/sh
LOG_FILE=/tmp/bt_restom.log
> $LOG_FILE
while true ;
do
result_str="$( hcitool lq $( cat /home/user/gps.id ) 2>&1 )"
result_value=$?
echo "$(date): $result_str" >> $LOG_FILE
if [ $result_value -ne 0 ] ;
then
## Do restom
echo "$(date): Restarting BT" >> $LOG_FILE
hciconfig hci0 down
sleep 1
hciconfig hci0 up
echo "$(date): BT restarted" >> $LOG_FILE
fi
sleep 15
done
|
|
2006-05-21
, 03:37
|
|
Posts: 23 |
Thanked: 0 times |
Joined on May 2006
|
#135
|
Code:hciconfig hci0 down hciconfig hci0 up
|
|
2006-05-21
, 05:54
|
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#136
|
|
|
2006-05-21
, 06:12
|
|
Posts: 23 |
Thanked: 0 times |
Joined on May 2006
|
#137
|
Are either of you doing anything special (like also being connected to a cell phone or to a WAP) when this happens?
|
|
2006-05-21
, 10:10
|
|
Posts: 6 |
Thanked: 0 times |
Joined on May 2006
|
#138
|
pstorralba or RussNelson:
Are either of you doing anything special (like also being connected to a cell phone or to a WAP) when this happens?
pstorralba: You said you saw the problem with GPS Drive. Was that using GPSD or by having GPS Drive directly connect to the GPS receiver? If the anomaly doesn't manifest itself when using GPSD, it might be a suitable workaround. (GPSD support is coming in Maemo Mapper v0.2.)
Thanks for your help, guys.
|
|
2006-05-21
, 16:02
|
|
Posts: 481 |
Thanked: 190 times |
Joined on Feb 2006
@ Salem, OR
|
#139
|
If the anomaly doesn't manifest itself when using GPSD, it might be a suitable workaround. (GPSD support is coming in Maemo Mapper v0.2.)
I have this problem. Not sure what the reason is, but I suspect it has something to do with power saving on the nokia, or somethink like that (even I read it could be defective units, but everything else works fine for me, so I don't think so). The problem arises also with gpsdrive.
|
|
2006-05-21
, 16:10
|
|
Posts: 2 |
Thanked: 0 times |
Joined on Mar 2006
|
#140
|
In v0.2, I will move the entire "Initial GPS Setup" code into a separate binary that will get run the first time Maemo Mapper is started. This will allow me to make the wizard as arbitrarily large as needed to ease initial setup.