garmin etrex legend hcx / opensuse 11

View: New views
8 Messages — Rating Filter:   Alert me  

garmin etrex legend hcx / opensuse 11

by Chris-Hein Lunkhusen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I can't get gpsd running with my garmin legend hcx
using suse 11.0.

I start gpsd with gpsd -N -nND2 /dev/ttyUSB0 as root :

gpsd: launching (Version 2.37)
gpsd: listening on port gpsd
gpsd: successfully connected to the DBUS system bus
gpsd: running with effective group ID 0
gpsd: running with effective user ID 0
gpsd: opening GPS data source at '/dev/ttyUSB0'
gpsd: speed 9600, 8N1
gpsd: ntpd_link_activate: 0
gpsd: gpsd_activate(1): opened GPS (6)


telnet 127.0.0.1 2947

i

GPSD,I=Garmin USB binary

So, the garmin seems to be connected,
but commands A or P return "?".

Any helps is welcome.

Thankyou
Chris



_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users

Re: garmin etrex legend hcx / opensuse 11

by Chris Kuethe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Sep 6, 2009 at 2:05 PM, Chris Steins<chris66nrw@...> wrote:
> Hi,
>
> I can't get gpsd running with my garmin legend hcx
> using suse 11.0.
>
> I start gpsd with gpsd -N -nND2 /dev/ttyUSB0 as root :

When debugging things, I like to turn up the debug level to at least 4.
# gpsd -nND4 /dev/ttyUSB0

> So, the garmin seems to be connected,
> but commands A or P return "?".

Do you have a fix? Can you leave the gps by a window (or someplace
with a good view of the sky) for a while. This sounds like things are
working properly, but you don't have a navigation solution yet.

CK


--
GDB has a 'break' feature; why doesn't it have 'fix' too?
_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users

Re: garmin etrex legend hcx / opensuse 11

by Chris-Hein Lunkhusen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kuethe schrieb:

>> I can't get gpsd running with my garmin legend hcx
>> using suse 11.0.
>>
>> I start gpsd with gpsd -N -nND2 /dev/ttyUSB0 as root :
>
> When debugging things, I like to turn up the debug level to at least 4.
> # gpsd -nND4 /dev/ttyUSB0
>
>> So, the garmin seems to be connected,
>> but commands A or P return "?".
>
> Do you have a fix? Can you leave the gps by a window (or someplace
> with a good view of the sky) for a while. This sounds like things are
> working properly, but you don't have a navigation solution yet.

Chris,

yes there was a fix in the room.

I took the laptop outside, EPE was shown as +/- 3 m.


# gpsd -N -nND4 /dev/ttyUSB0
gpsd: launching (Version 2.37)
gpsd: listening on port gpsd
gpsd: shmat(0,0,0) succeeded
gpsd: shmat(0,0,0) succeeded
gpsd: shmat(0,0,0) succeeded
gpsd: shmat(0,0,0) succeeded
gpsd: successfully connected to the DBUS system bus
gpsd: running with effective group ID 0
gpsd: running with effective user ID 0
gpsd: opening GPS data source at '/dev/ttyUSB0'
gpsd: speed 9600, 8N1
gpsd: => GPS: $PASHQ,RID*28\x0d

gpsd: => GPS: 0299661c0800040200001203
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: => GPS: 029966200e000001ae02000071000000f203
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = ae at
rate 00
gpsd: => GPS: 029966200e00000186020a0071000000d003
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = 86 at
rate 0a
gpsd: Set garmin_gps driver mode = 0
gpsd: PrintUSBPacket()
gpsd: Private, Set Mode: 1
gpsd: => GPS: 4b6e1001020000000400000001000000
gpsd: SendPacket(), wrote 16 bytes
gpsd: probe found Garmin USB binary driver...
gpsd: ntpd_link_activate: 0
gpsd: Create Thread gpsd_ppsmonitor
gpsd: gpsd_activate(1): opened GPS (6)
gpsd: Get Garmin Product Data
gpsd: SendPacket(), writing 6 bytes: 10fe00021003
gpsd: PrintSERPacket(, 0xfe, 00, )
gpsd: Appl, Product Data req
gpsd: PrintSERPacket(, 0xfe, 00, ) = 00
gpsd: => GPS: 10fe00021003
gpsd: SendPacket(), wrote 6 bytes
gpsd: Set Garmin to send reports every 1 second
gpsd: SendPacket(), writing 8 bytes: 100a023100c31003
gpsd: PrintSERPacket(, 0xa, 0x2, )
gpsd: Appl, Command Data: Start Xmit PVT data
gpsd: PrintSERPacket(, 0xa, 0x2, ) = 00
gpsd: => GPS: 100a023100c31003
gpsd: SendPacket(), wrote 8 bytes
gpsd: client 127.0.0.1 (0) connect on fd 7
gpsd: checking client(0)
gpsd: <= client(0): i
gpsd: client(0): assigning channel...
gpsd: User requires 2, channel type is -1
gpsd: client(0): channel 6 already active.
gpsd: => client(0): GPSD,I=Garmin USB binary
gpsd: checking client(0)
gpsd: <= client(0): a
gpsd: client(0): channel 6 already active.
gpsd: GPS is confused about whether it has a fix (status=0, mode=0).
gpsd: => client(0): GPSD,A=?
gpsd: checking client(0)
gpsd: <= client(0): p
gpsd: client(0): channel 6 already active.
gpsd: GPS is confused about whether it has a fix (status=0, mode=0).
gpsd: => client(0): GPSD,P=?


Does this help?

By the way: The same device connected to WindowsXP is ok
(with GpsGate software).


Greetings

Chris



_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users

Re: garmin etrex legend hcx / opensuse 11

by Chris-Hein Lunkhusen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris wrote:

> gpsd: GPS is confused about whether it has a fix (status=0, mode=0).
> gpsd: => client(0): GPSD,P=?

> By the way: The same device connected to WindowsXP is ok
> (with GpsGate software).

And another workaround:

The gpsbabel tracking is working (when blacklisting
the garmin_gps module) :
gpsbabel -T -i garmin -f usb: -o nmea -F -

$GPGGA,211437,51xx.840,N,007xx.645,E,1,00,0.0,64.174,M,0.0,M,,*4C
$GPGSA,A,3,,,,,,,,,,,,,0.0,0.0,0.0*32
$GPRMC,211438,A,51xx.841,N,007xx.644,E,0.00,0.00,060909,,*1A

Maybe this can be piped to gpsd.

Chris

_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users

Re: garmin etrex legend hcx / opensuse 11

by Eric Raymond-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Steins <chris66nrw@...>:

> Chris wrote:
>
> > gpsd: GPS is confused about whether it has a fix (status=0, mode=0).
> > gpsd: => client(0): GPSD,P=?
>
> > By the way: The same device connected to WindowsXP is ok
> > (with GpsGate software).
>
> And another workaround:
>
> The gpsbabel tracking is working (when blacklisting
> the garmin_gps module) :
> gpsbabel -T -i garmin -f usb: -o nmea -F -
>
> $GPGGA,211437,51xx.840,N,007xx.645,E,1,00,0.0,64.174,M,0.0,M,,*4C
> $GPGSA,A,3,,,,,,,,,,,,,0.0,0.0,0.0*32
> $GPRMC,211438,A,51xx.841,N,007xx.644,E,0.00,0.00,060909,,*1A
>
> Maybe this can be piped to gpsd.

Yeah, sounds like the garmin_gps module is at fault here.  We've had
other feedback suggesting that it's currently broken.

You might consider piping that command to the master side of a pty
and running gpsd with a command-line argument that tells it to look
at the slave side.  

If that works, let me know and I'll do a FAQ entry.
--
                <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users

Re: garmin etrex legend hcx / opensuse 11

by Chris-Hein Lunkhusen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric S. Raymond schrieb:

>> The gpsbabel tracking is working (when blacklisting
>> the garmin_gps module) :
>> $GPRMC,211438,A,51xx.841,N,007xx.644,E,0.00,0.00,060909,,*1A
>>
>> Maybe this can be piped to gpsd.

> Yeah, sounds like the garmin_gps module is at fault here.  We've had
> other feedback suggesting that it's currently broken.
>
> You might consider piping that command to the master side of a pty
> and running gpsd with a command-line argument that tells it to look
> at the slave side.  

So, I enter
gpsbabel -T -i garmin -f usb: -o nmea -F - > /dev/ptm1
in terminal1 and
cat < /dev/pts/1
in terminal2 (just to test the master/slave)

But get no output in terminal2.

What do I wrong ?

Chris

_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users

Re: garmin etrex legend hcx / opensuse 11

by Chris-Hein Lunkhusen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I can't get gpsd running with my garmin legend hcx
> using suse 11.0.

Just a short update: I updated to opensuse 11.1
but same error here.

some googling indicates that gpsd on ubuntu
is working for garmin devices.

Chris

_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users

Re: garmin etrex legend hcx / opensuse 11

by Eric Raymond-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Steins <chris66nrw@...>:

> > You might consider piping that command to the master side of a pty
> > and running gpsd with a command-line argument that tells it to look
> > at the slave side.  
>
> So, I enter
> gpsbabel -T -i garmin -f usb: -o nmea -F - > /dev/ptm1
> in terminal1 and
> cat < /dev/pts/1
> in terminal2 (just to test the master/slave)
>
> But get no output in terminal2.
>
> What do I wrong ?

I don't know, sorry.  This sort of thing is difficylt to troubleshoot wuthout
intimate knowledge of gpsbabel, which I don;t have.
--
                <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
_______________________________________________
Gpsd-users mailing list
Gpsd-users@...
https://lists.berlios.de/mailman/listinfo/gpsd-users