Re: [opensuse] Problems with USB GPS-device



On Saturday 30 August 2008 09:36, Rodney Baker wrote:
On Sat, 30 Aug 2008 06:14:04 Rikard Johnels wrote:
Hello all!

I have a strange problem with a USB GPS device that wont "sync" its
datastream with the device node.. (Or how i would describe it)

Kernel bversion: 2.6.16.21-0.8-smp
gpsd version: 2.37
SuSE version: SUSE Linux Enterprise Desktop 10 (i586)

I am was using gpsd version 2.09 on SLED 10 sp1, and a BU-353 USB GPS
Receiver. I ran gpsdrive over that and it worked nicely.
I tried updating to 2.10pre4 via repository.
But i run into some problems.
I cant seem to get my USB GPS reciever to work after that.
I can see in /var/log/messages that it is found and gives it the ttyUSB0
device.
I can see the gpsd starting up as
/usr/sbin/gpsd -F /var/run/gpsd.socket /dev/ttyUSB0
but i cant telnet to 2947, it doesnt give anything at all.. No echo no
nothing.

I tried hexdump -C /dev/ttyUSB0, but it mostly gives me gabled output.
It is as if the reading of the datastream doesnt sync.
It starts of with thousands of 0x00 and 0x80 then going into random data,
and once in a short while slip into readable data. It doesnt stay that
way for more than a few seconds if at all...
[...]

I don't know if you can set the baud rate/parity etc. of a pseudo serial
port such as /dev/ttyUSB0 but in the case of a real serial port that would
be my first guess - that the serial port parameters don't match those of
the device.

I've not played with USB-serial devices (not needed to yet) but it would be
worth checking if setserial works for them to set the baud rate, parity,
stop bits and flow control parameters...

Of course, I could also be completely off track here, so I don't know if
this is helpful or not...

If i use the software under windows i have to set whet serial port to connect
to, and what baudrate i must use.
I have reset it to factory defaults which should give 4800 baud, 8 bits no
parity as preset, The windows software connects without a hitch.
But there isnt any settings for the USB driver as far as i know.

It USED to work under Linux, but somehow it doesnt anymore..

/Frustrated and confused

Attachment: pgpwXEMBULY2u.pgp
Description: PGP signature



Relevant Pages

  • Re: [opensuse] Problems with USB GPS-device
    ... I have a strange problem with a USB GPS device that wont "sync" its ... I cant seem to get my USB GPS reciever to work after that. ... It is as if the reading of the datastream doesnt sync. ...
    (SuSE)
  • [opensuse] Problems with USB GPS-device
    ... Kernel bversion: 2.6.16.21-0.8-smp ... I cant seem to get my USB GPS reciever to work after that. ... It is as if the reading of the datastream doesnt sync. ...
    (SuSE)
  • Re: GPS and GoogleEarth (free tool)
    ... > You can use your garmin USB GPS with my program (a nearly every GPS ... > "Most USB GPS devices come with a serial port emulator, ... > the GPS be used on a virtual serial port. ...
    (sci.geo.satellite-nav)
  • Re: GPS and GoogleEarth (free tool)
    ... You can use your garmin USB GPS with my program (a nearly every GPS ... "Most USB GPS devices come with a serial port emulator, ...
    (sci.geo.satellite-nav)