[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Need p/d help with gpsd and or gps HW - no response after
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] Need p/d help with gpsd and or gps HW - no response after gps polling |
Date: |
Tue, 9 Aug 2016 16:36:10 -0700 |
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" <address@hidden> wrote:
> Gary E. Miller <address@hidden>:
> > 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
address@hidden Tel:+1 541 382 8588
pgplTLBaKDvOH.pgp
Description: OpenPGP digital signature