[ gpsdrive ] First base, some day?
Mark Williams
mark.666 at blueyonder.co.uk
Tue May 20 14:56:11 AKDT 2008
gpsdosm at trixtar.org wrote:
> Hi,
>
>
> Following up on my earlier today...
>
> Toshita A70
> Garmin GPS18-USB-17216431
> Suse-Linux-10.3
> gpsd-2.37-17
> gpsd-clients-2.37-17
> gpsd-devel-2.37-17
> gpsdrive-2.10pre4-1.59
> gpsman-6.3.2-1
> .. everything looks good
>
> So I do
>
> # gpsd
> gpsd: can't run with neither control socket nor devices
>
> # gpsd /dev/ttyUSB0
>
> #
>
> # stty -F /dev/ttyUSB0 ispeed 4800 && cat </dev/ttyUSB0
>
> [blink.. blink.. blink..]
>
> Cntrl-C, start gpsdrive, Pos-Mode and GPS Status = No GPS
>
> GPS-Time = n/a
>
> Lat & Long are whatever I click the blue square box to
> instead of a gps position. I put the whole circus out on the
> porch and after 5 minutes still nothing.
>
>
> Does all this look like a dead receiver?
>
>
> Please help me save the little hair I still have >(:-)
>
>
>
>
> Applicable readouts below:
>
>
> # /bin/dmesg | /bin/grep -i scsi
>
> SCSI subsystem initialized
> scsi0 : pata_atiixp
> scsi1 : pata_atiixp
> scsi 0:0:0:0: Direct-Access ATA WDC WD1200BEVE-0
> 01.0 PQ: 0 ANSI: 5
> scsi 1:0:0:0: CD-ROM MATSHITA DVD-RAM UJ-831S
> 1.90 PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] Attached SCSI disk
> sd 0:0:0:0: Attached scsi generic sg0 type 0
> scsi 1:0:0:0: Attached scsi generic sg1 type 5
> sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2
> cdda tray
> sr 1:0:0:0: Attached scsi CD-ROM sr0
> scsi2 : SCSI emulation for USB Mass Storage devices
> scsi 2:0:0:0: Direct-Access USB 2.0 USB Flash Drive
> 0.00 PQ: 0 ANSI: 2
> sd 2:0:0:0: [sdb] Attached SCSI removable disk
> sd 2:0:0:0: Attached scsi generic sg2 type 0
> scsi 2:0:0:0: rejecting I/O to dead device
> scsi 2:0:0:0: rejecting I/O to dead device
> scsi3 : SCSI emulation for USB Mass Storage devices
> scsi 3:0:0:0: Direct-Access USB 2.0 USB Flash Drive
> 0.00 PQ: 0 ANSI: 2
> sd 3:0:0:0: [sdb] Attached SCSI removable disk
> sd 3:0:0:0: Attached scsi generic sg2 type 0
>
>
> Yast Hardware Info:
>
>
> 39: udi =
> '/org/freedesktop/Hal/devices/usb_device_91e_3_noserial_if0_serial_usb_0'
> linux.device_file = '/dev/ttyUSB0'
> serial.device = '/dev/ttyUSB0'
> org.freedesktop.Hal.Device.resmgr.method_execpaths = {
> 'hal-resmgr-grant', 'hal-resmgr-revoke' }
> serial.physical_device =
> '/org/freedesktop/Hal/devices/usb_device_91e_3_noserial_if0'
> info.capabilities = { 'serial' }
> info.udi =
> '/org/freedesktop/Hal/devices/usb_device_91e_3_noserial_if0_serial_usb_0'
> linux.subsystem = 'tty'
> org.freedesktop.Hal.Device.resmgr.method_signatures = {
> '', '' }
> resmgr.device = '/dev/ttyUSB0'
> info.interfaces = { 'org.freedesktop.Hal.Device.resmgr' }
> org.freedesktop.Hal.Device.resmgr.method_names = {
> 'Grant', 'Revoke' }
> info.product = 'GPSmap (various models)'
> linux.hotplug_type = 2 (0x2)
> linux.sysfs_path =
> '/sys/devices/pci0000:00/0000:00:13.0/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0'
> serial.type = 'usb'
> info.category = 'serial'
> serial.originating_device =
> '/org/freedesktop/Hal/devices/usb_device_91e_3_noserial_if0'
> resmgr.class = 'modem'
> info.callouts.add = { 'hal-resmgr' }
> info.parent =
> '/org/freedesktop/Hal/devices/usb_device_91e_3_noserial_if0'
> serial.port = 0 (0x0)
> org.freedesktop.Hal.Device.resmgr.method_argnames = { '',
> '' }
>
So; I can't see the GPS in there for sure, & don't possess one of those.
If you take it out, type dmesg, see where it stops, then plug in your
usb cable to a socket, count to 3 & run dmesg again - what does it add?
You could also check if /dev/ttyUSB0 goes away when you unplug it, this
varies with distro though - I don't use SUSE so am not sure it it does
that or not? Ubuntu does.
Also, it doesn't (well, shouldn't) matter which USB socket it goes in;
/dev/ttyUSB0 is the first plug to go in, /dev/ttyUSB1 the second & so
forth. You may get trouble if it shares a port with certain other
devices - webcams in particular give me problems.
If you get a sensible result from dmesg (ie it sees you plug it in, &
preferably announces it found a driver) you could try cat /dev/ttyUSB0 &
see if it is giving any data - ctrl-C stops it.
These are just simple basic tests to see if anything is getting picked
up ie not a dead receiver (or duff cable).
HTH
Mark
More information about the GPSdrive
mailing list