[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    Re: [gpsd-dev] Need p/d help with gpsd and or gps HW - no response after gps polling
From:       "Gary E. Miller" <gem () rellim ! com>
Date:       2016-08-09 23:36:10
Message-ID: 20160809163610.274f7d34 () spidey ! rellim ! com
[Download RAW message or body]


Yo Eric!

Good hint.  It looks like Linux already uses fusercount() to see if
the device is already open.  So no action item, except maybe
make it an error?  I hate to do that since on some of my GPS I can
doulbe open just fine.

On Tue, 9 Aug 2016 19:05:25 -0400
"Eric S. Raymond" <esr@thyrsus.com> wrote:

> Gary E. Miller <gem@rellim.com>:
> > Is there an easy, mostly portable, way to open the port
> > exclusively?  
> 
> Probably not.  But look at serial.c:fusercount(), which might give you
> a capability almost as interesting.




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic