Hi, I’ve got a really strange problem with my gps on openSUSE 11.0. It used to work in previous versions. My Garmin etrex legend is connected to my notebook via Prolific 2303 USB-serial adapter and runs in NMEA mode. When I connect the device to my computer the output of cat makes sense:
cat /dev/ttyUSB0
$GPRMC,125552,V,5232.4583,N,01325.4415,E,10.8,0.0,120508,2.0,E,S*22
$GPRMB,V,,,,,,,,,,,,A,S*0E
$GPGGA,125552,5232.4583,N,01325.4415,E,8,11,2.0,-5.6,M,43.0,M,,*69
$GPGSA,A,3,02,04,07,08,10,13,16,23,24,25,27,,3.6,2.0,3.0*3E
$GPGSV,3,1,11,02,37,255,45,04,26,216,43,07,70,138,50,08,40,197,46*72
$GPGLL,5232.4583,N,01325.4415,E,125552,V,S*4B
$GPBOD,,T,,M,,*47
Then, being root, I run “gpsd -n -N -D5 /dev/ttyUSB0” to start the deamon and I see some output that seems ok as well. As in older suse versions I expected “telnet localhost 2947” followed by pressing “R” to show me the output of gpsd. But nothing happens. Xgps and gpsdrive are completely unable to connect to the gps receiver, nor can they find it at all. After gpsd is closed cat on the gps gives this output:
cat /dev/ttyUSB0
���xx��xx�xxxx����x�x�����x�xxxx������������x���������x��xx�x�������x���x����x�x��xxxxx���x�x��x�xx�����x����x����x�xxxx��x�x����x��x�x���xx��xx�xxx�xxxxxxxxxxxxxxxxx��
When I ran into that problem I thought about permission issues. I openSUSE 10.3 belonges to the group root, in 11.0 to uucp. So I added myself to the group uucp, where gpsd belongs to. Didn’t help. Seems I must be root.
gpsd -n -N -D5 /dev/ttyUSB0
gpsd: launching (Version 2.37)
gpsd: listening on port gpsd
gpsd: Unable to start ntpshm. gpsd must run as root.
gpsd: successfully connected to the DBUS system bus
gpsd: running with effective group ID 100
gpsd: running with effective user ID 1000
Strange enough I can read and write to the gps as a user when I use gpsbabel. Anyone has an idea? I appreciate any help. Thanks a lot…