Package: gpsd Version: 3.6-4 Severity: normal Dear Maintainer,
I am trying to use gpsd to access a GlobalSat BU-353 USB GPS with my Raspberry Pi board. If I run, gpsd /dev/ttyUSB0 from the command line, it works fine (i.e., I can access GPS information via cgps). If I try to access the gpsd that is automatically launch via the USB hotplug/udev system, it doesn't work (i.e., cgps doesn't return GPS information). Here is the logged output in xconsole -file /dev/xconsole from hotplugging the GPS unit into place: Jan 7 22:00:25 raspberrypi kernel: [10510.798190] usb 1-1.2: new full-speed USB device number 8 using dwc_otg Jan 7 22:00:26 raspberrypi kernel: [10510.900721] usb 1-1.2: New USB device found, idVendor=067b, idProduct=2303 Jan 7 22:00:26 raspberrypi kernel: [10510.900752] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jan 7 22:00:26 raspberrypi kernel: [10510.900768] usb 1-1.2: Product:USB-Serial Controller Jan 7 22:00:26 raspberrypi kernel: [10510.900781] usb 1-1.2:Manufacturer: Prolific Technology Inc. Jan 7 22:00:26 raspberrypi kernel: [10510.909504] pl2303 1-1.2:1.0:pl2303 converter detected Jan 7 22:00:26 raspberrypi kernel: [10510.912840] usb 1-1.2: pl2303 converter now attached to ttyUSB0 Jan 7 22:00:27 raspberrypi gpsd.hotplug: add /dev/ttyUSB0 Jan 7 22:00:27 raspberrypi gpsdctl: gpsd_control(action=add,arg=/dev/ttyUSB0) Jan 7 22:00:27 raspberrypi gpsdctl: launching gpsd -F /var/run/gpsd.sock Jan 7 22:00:27 raspberrypi gpsd[2932]: gpsd:ERROR: can't create IPv6 socket It seems that the hotplug is just running "gpsdctl add /dev/ttyUSB0", so I tried running that on the command line. Here is what showed up in the xconsole Jan 7 22:13:06 raspberrypi gpsdctl: gpsd_control(action=add, arg=/dev/ttyUSB0) Jan 7 22:13:06 raspberrypi gpsdctl: reached a running gpsd Jan 7 22:13:25 raspberrypi gpsd[2932]: gpsd:ERROR: device open failed: Permission denied - retrying read-only Jan 7 22:13:25 raspberrypi gpsd[2932]: gpsd:ERROR: read-only device open failed: Permission denied root@raspberrypi:/lib/udev# ls -al /dev/ttyUSB0 crw-rw---T 1 root dialout 188, 0 Jan 7 22:00 /dev/ttyUSB0 root@raspberrypi:/lib/udev# groups nobody nobody : nogroup root@raspberrypi:/lib/udev# # more /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 raspberrypi # -- System Information: Debian Release: 7.0 Architecture: armhf (armv6l) Kernel: Linux 3.2.27+ (PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gpsd depends on: ii debconf [debconf-2.0] 1.5.49 ii libbluetooth3 4.99-2 ii libc6 2.13-37+rpi1 ii libdbus-1-3 1.6.8-1 ii libgps20 3.6-4 ii libusb-1.0-0 2:1.0.11-1 ii lsb-base 4.1+Debian8 ii netbase 5.0 Versions of packages gpsd recommends: ii python 2.7.3~rc2-1 ii udev 175-7 Versions of packages gpsd suggests: ii dbus 1.6.8-1 ii gpsd-clients 3.6-4 -- debconf information: * gpsd/start_daemon: false * gpsd/socket: /var/run/gpsd.sock * gpsd/device: /dev/gps0 * gpsd/daemon_options: * gpsd/autodetection: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org