community Digest, Vol 180, Issue 6

Toby D. Young tyoung at ippt.gov.pl
Thu Apr 22 12:07:40 CEST 2010




Florian and Radek and others,

Thanks alot for your attentions. I started again from zero... reflashed
my neo (and then: apt-get update, apt-get install gpsd). Still no GPS;
NeronGPS is permanently stuck in waiting for a fix...

I need gpsd right? There seems to be some confusion about this...?

(1) I have modified the sysfs node pointer such that: 

neo:~# cat /opt/qtmoko/bin/gps-poweron.sh

#!/bin/sh

if [ -e /sys/bus/platform/devices/neo1973-pm-gps.0 ]; then
  echo 1
> /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/power_on
> fi
if [ -e /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron ];
then echo 1
> /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron
> fi

I then ran dpkg-reconfigure gpsd to get:

neo:~# cat /etc/default/gpsd 

# Default settings for gpsd.
# Please do not edit this file directly - use `dpkg-reconfigure gpsd' to
# change the options.
START_DAEMON="true"
DAEMON_OPTS=""
DEVICES="/dev/ttySAC1"
USBAUTO="false"

from which (after switching on GPS in devtools)

neo:~# head -n 20 /dev/ttySAC1
$GPTXT,01,01,02,u-blox ag - www.u-blox.com*50

$GPTXT,01,01,02,$GPRMC,,V,,,,,,,,,,N*53

$GPVTG,,,,,,,,,N*30

$GPGGA,,,,,,0,00,99.99,,,,,,*48

$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30

$GPGSV,1,1,00*79

$GPGLL,,,,,,V,N*64

$GPZDA,,,,,00,00*48

$GPRMC,,V,,,,,,,,,,N*53

$GPVTG,,,,,,,,,N*30

I like running "cat /dev/ttySAC1" and switching on/off GPS in devtools,
and I get the expected behaviour; so I believe GPS is being switched on
and off correctly. Does that look right? Any ideas what I am missing
here?

Apart from this problem (and some weird uSD card behaviour), I am really
happy with QTMoko; thanks alot for this!

Best,
	Toby

-- 
Toby D. Young

Assistant Professor Philosophy & Physics
Polish Academy of Sciences
www:   http://www.ippt.gov.pl/~tyoung
skype: stenografia




More information about the community mailing list