|
From: | Fulup Le Foll |
Subject: | Re: [gpsd-dev] Another release seems called for |
Date: | Wed, 24 Jul 2013 10:22:47 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
JeroenIf you plug/unplug an active USB device on Linux. Usually the device change name and move for example from ttyUSB0 to ttyUSB1. I commented this Linux feature long time ago on http://lists.berlios.de/pipermail/gpsd-users/2009-June/003785.html
Might also be useful to highlight that by default last versions of Ubuntu does not grant "dialout" group to basic users, when acces to /dev/tty* require access to "dialout" group.
Fulup Le 23/07/2013 19:42, Jeroen Massar a écrit :
On 2013-07-23 19:37 , Gary E. Miller wrote:Yo Eric! On Tue, 23 Jul 2013 08:24:01 -0400 (EDT) address@hidden (Eric S. Raymond) wrote:I'd like to ship a bugfix release next week.Maybe another bug to look at before a release: If I unplug a USB GPS, then plug it back in, then gpsd can no longer access the device: gpsd:INFO: reconnection attempt on device 0 gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB0' gpsd:ERROR: device open failed: Permission denied - retrying read-only gpsd:ERROR: read-only device open failed: Permission denied gpsd:ERROR: /dev/ttyUSB0: device activation failed. I assume because priviledges dropped.Depending on platform, if on Linux you can teach udev to set the permissions so that gpsd can access it. Greets, Jeroen
-- Tel: 0972.235.723 Mail:address@hidden http://www.sinagot.net
[Prev in Thread] | Current Thread | [Next in Thread] |