[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Another release seems called for
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] Another release seems called for |
Date: |
Wed, 24 Jul 2013 10:32:38 -0700 |
Yo Fulup!
On Wed, 24 Jul 2013 10:22:47 +0200
Fulup Le Foll <address@hidden> wrote:
> If you plug/unplug an active USB device on Linux. Usually the device
> change name and move for example from ttyUSB0 to ttyUSB1.
Depends on how long. For me if I wait more than about 30 seconds I'll
get ttyUSB0 again. I depend on that behavior.
> 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.
Ouch. So ubuntu is 'dialout' and not the conventional 'uucp' group?
I'd like to add a configure option to allow forcing the group
gpsd uses after dropping priviledges, then I could completely sidestep
udev which is non-portable.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
>
> 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
> >
> >
>
>
signature.asc
Description: PGP signature
- [gpsd-dev] Another release seems called for, Eric S. Raymond, 2013/07/23
- Re: [gpsd-dev] Another release seems called for, Fulup Le Foll, 2013/07/24
- Re: [gpsd-dev] Another release seems called for,
Gary E. Miller <=
- Re: [gpsd-dev] Another release seems called for, Eric S. Raymond, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Gary E. Miller, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Gary E. Miller, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Eric S. Raymond, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Fulup Le Foll, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Gary E. Miller, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Fulup Le Foll, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Gary E. Miller, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Gary E. Miller, 2013/07/24
- Re: [gpsd-dev] Another release seems called for, Eric S. Raymond, 2013/07/24