Package: gpsd
Version: 2.39-5
Severity: wishlist

Hello

I own a Altina SiRF III bt GPS with Firmware
GSW3.2.2_3.1.00.12-SDK003P1.01a

I once was one of those reporting that it crashes using gpsd which resulted
in the -b option being added in future releases.

Playing around with gpsmon I have now found a way to switch my BT gps from
NMEA to SiRF binary and back quite reliably.

I suppose the problem is the baudrate change (or the BT stack not reporting
the baudrate correctly).

So this is how I manualy switch my gps:

# gpsmon /dev/rfcommX

Now it is in NMEA Mode, I get a reading and it tells me it's running with some
baudrate. This seams to be the baudrate of last time I opened that serical
device but not the true one.

I cannot set baudrate (s) or binary (n1) while in dumb NMEA Mode.

Let's switch to SiRF binary:

=> tSiRF

The display changes to SIRF but the driver falls back to NMEA.

But now I can set the baudrate:

=> s4800

Very important, switching to any other baudrate than 4800 caused me to loose 
the BT connection.

Switch to binary mode and reinitialize:

=> n1
=> i

Voila, the drivers successfully switches to SiRF and I get the SIRF output.

But this would be one-way, as soon as I disconnect I can never reconnect 
without resetting my BT
so it's back to NMEA.

I found a way to switch it back to NMEA but that does not seam to be as 
reliably as from NMEA to
SIRF:

=> n0i

Sometimes then I'm back to NMEA Mode.

Now I suggest an baud option to be added to gpsd to tell gpsd to switch and 
lock the serial line
to a specific baudrate and not go around probing for the right speed. This 
would make it possible
to switch my BT gps to SiRF reliably.

Also if -n is not used gpsd would need to set the gps back to NMEA before 
disconnecting, else it
won't be able to connect anymore.

-Benoit-

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1 (SMP w/1 CPU core)
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages gpsd depends on:
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libgps18                      2.39-5     Global Positioning System - librar
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  netbase                       4.37       Basic TCP/IP networking system
ii  python                        2.5.4-2    An interactive high-level object-o

Versions of packages gpsd recommends:
ii  udev                          0.141-2    /dev/ and hotplug management daemo

Versions of packages gpsd suggests:
ii  gpsd-clients                  2.39-5     Global Positioning System - client

-- debconf information:
* gpsd/start_daemon: true
* gpsd/device: /dev/rfcomm2
  gpsd/brokenconfig:
* gpsd/daemon_options: -b -F /var/run/gpsd.sock
* gpsd/autodetection: false



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to