[ gpsdrive ] gpsdrive & bluetooth gps
Kubajz
kubajz at kbx.cz
Thu May 29 00:33:06 AKDT 2008
It looks like gpsd is trying to find the correct values for serial line
- it tries 9600-8N1 and then slower speed but neither succeeded. What
kind of data can you see when CATing from /dev/rfcomm0 ? Is it raw NMEA
data (GGA,GGC etc. beginning lines) or is it a binary stream?
Did you follow http://gpsd.berlios.de/bt.html ?
K
Chris H napsal(a):
> Greets:
>
> Ive got a bluetooth gps device that works fine with my palm. Locates my
> current position seamlessly. However getting gpsdrive to talk to it via gpsd
> is a bugger.
>
> Ive sorted out the gpsd issues by compiling from source the latest version as
> the K/Ubuntu version is outdated and gave me too many errors continuously
> disconnecting.
>
> Testing with cat /dev/rfcomm0 once permissions are set to wide open 777 works
> fine and I can see the data stream. Proper permission settings will be setup
> later.
>
> However once I launch gpsdrive I get the following error repeatedly and for
> all protocol speeds:
>
> ==========================================
> May 29 00:20:32 kubuntu8 gpsd[7064]: gpsd: client 127.0.0.1 (0) connect on fd
> 8
> May 29 00:20:32 kubuntu8 gpsd[7064]: gpsd: client 127.0.0.1 (1) connect on fd
> 9
> May 29 00:20:32 kubuntu8 gpsd[7064]: gpsd: opening GPS data source
> at '/dev/rfcomm0'
> May 29 00:21:17 kubuntu8 gpsd[7064]: gpsd: client(1) turned on raw mode
> May 29 00:21:17 kubuntu8 gpsd[7064]: gpsd: opening GPS data source
> at '/dev/rfcomm0'
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: speed 9600, 8N1
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: => GPS: $PASHQ,RID*28\x0d\x0a
> FAILED
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: garmin_gps not active.
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: gpsd_activate(1): opened GPS (10)
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: client(0) turned on raw mode
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: getpeername() = -1, error =
> Transport endpoint is not connected (107)
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: detaching <unknown> (sub1, fd 9) in
> detach_client
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: getpeername() = -1, error =
> Transport endpoint is not connected (107)
> May 29 00:21:39 kubuntu8 gpsd[7064]: gpsd: detaching <unknown> (sub0, fd 8) in
> detach_client
> May 29 00:21:48 kubuntu8 gpsd[7064]: gpsd: speed 4800, 8N1
> May 29 00:21:48 kubuntu8 gpsd[7064]: gpsd: => GPS: $PASHQ,RID*28\x0d\x0a
> FAILED
> May 29 00:21:57 kubuntu8 gpsd[7064]: gpsd: client 127.0.0.1 (0) connect on fd
> 8
> May 29 00:21:57 kubuntu8 gpsd[7064]: gpsd: client(0) turned on raw mode
> ===============================================
>
> specifically the error
>
> May 29 00:21:48 kubuntu8 gpsd[7064]: gpsd: => GPS: $PASHQ,RID*28\x0d\x0a
> FAILED seems to be the reason the gpsdrive does not get a gps signal I
> think???
>
> Googling this error message only give one post of someone trying to setup GCA
> time but this is not related me thinks.
>
> Any clues as to whats going on as I'm lost on this one as gpsdrive simply does
> not see the gpsd data stream.
>
> Best and thanks
>
>
More information about the GPSdrive
mailing list