|
From: | Fulup Le Foll |
Subject: | Re: [gpsd-dev] Another release seems called for |
Date: | Thu, 25 Jul 2013 00:09:27 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
Gary
If udev is able to create /dev/ttyUSB0 once, then it has enough permission to create it twice. When you unplug a device, a good program like gpsd will detect the error and try to reopen the same path (ex: /dev/ttyUSB0) . The "bad" news: If the path does point to an existing file/device with an open syscall Linux will try to create the missing file. As a result when a program running under "dialout" group try to open /dev/ttyUSB0
Le 24/07/2013 21:56, Gary E. Miller a écrit : Yo Fulup! On Wed, 24 Jul 2013 21:37:12 +0200 Fulup Le Foll <address@hidden> wrote:Naming of device is not a question of timeout but a question of availability of the path.Potentially, but not in my case. I always have ttyUSB0. My case is a permission problem. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701 address@hidden Tel:+1(541)382-8588 -- Tel: 0972.235.723 Mail: address@hidden http://www.sinagot.net |
[Prev in Thread] | Current Thread | [Next in Thread] |