[Bug 449392] Re: gps usb receiver not recognised anymore

Bernd Zeimetz bernd at bzed.de
Mon Oct 12 10:59:04 UTC 2009


Hi,

thats not a bug in gpsd - udev will assign a new tty number to your device if
the old one is occupied, for example by removing a device in a not-so-nice way.
You could write an udev rule specifically for you device to ensure it is
symlinked to /dev/gps for example, which ensures that your device name doesn't
change. Unfortunately thats nothing I can fix in gpsd. Enabling usb auto
detection might help you, too - it should register the device automatically, not
depending on the name. You don't even need to specify a fixed device in the
configuration for that, only a socket gpsd listens on.

Cheers,

Bernd


diffy wrote:
> Public bug reported:
> 
> Binary package hint: gpsd
> 
> Previously gpsd recegnise my gps usb receiver,
> When I plug it, the device /dev/ttyUSB0 was created and then I can use it with gpsd
> now it created autmatically /dev/USB1 and it seems that this device is not recegnised anymore by gpsd
> 
> lsusb
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 04f2:b175 Chicony Electronics Co., Ltd 
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port  <<<<<<<<< this is the gps receiver
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> 
> dmesg
> [56325.541170] usb 2-1: USB disconnect, address 4
> [56325.541518] pl2303 ttyUSB1: pl2303 converter now disconnected from ttyUSB1
> [56325.541549] pl2303 2-1:1.0: device disconnected
> [56337.540044] usb 2-1: new full speed USB device using ohci_hcd and address 5
> [56337.731222] usb 2-1: configuration #1 chosen from 1 choice
> [56337.734142] pl2303 2-1:1.0: pl2303 converter detected
> [56337.763217] usb 2-1: pl2303 converter now attached to ttyUSB1
> 
> after I run gpsd /dev/ttyUSB1
> if I try gpsmon I have no output, if I try gpsdrive the software say : no gpsdevice
> 
> thanks for your help, and thanks for the very good job you've done for 9.10 !
> David
> 
> ProblemType: Bug
> Architecture: amd64
> Date: Mon Oct 12 11:46:04 2009
> DistroRelease: Ubuntu 9.10
> Package: gpsd 2.39-5
> ProcEnviron:
>  LANG=en_US.UTF-8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
> SourcePackage: gpsd
> Uname: Linux 2.6.31-13-generic x86_64
> 
> ** Affects: gpsd (Ubuntu)
>      Importance: Undecided
>          Status: New
> 
> 
> ** Tags: amd64 apport-bug
> 


-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F

** Changed in: gpsd (Ubuntu)
       Status: New => Invalid

** Changed in: gpsd (Ubuntu)
     Assignee: (unassigned) => Bernd Zeimetz (bzed)

-- 
gps usb receiver not recognised anymore
https://bugs.launchpad.net/bugs/449392
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list