gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] GPSD terminating with select error


From: Hal Murray
Subject: Re: [gpsd-dev] GPSD terminating with select error
Date: Mon, 18 Aug 2014 01:22:10 -0700

address@hidden said:
> The sticky part is that I'm not sure what the right test for badness  would
> be to run on the individual descriptors.  Developers, any ideas about this? 

I think gpsd tries occasionally to (re)open a filename from the command line 
if it doesn't work initially or dies after it gets started.  The printout in 
that path will clutter your syslog.  Example below.

I thought a broken TCP connection would give EOF rather than EBADF.  Maybe 
the code trying to handle the TCP case is broken?

Unplugging a USB device may be a handy test case.


Aug 18 00:43:23 glypnod gpsd[31295]: gpsd:ERROR: response: 
{"class":"ERROR","message":"No such device as /dev/gps0"}\x0d\x0a
Aug 18 00:43:44 glypnod gpsd[31295]: gpsd:ERROR: response: 
{"class":"ERROR","message":"No such device as /dev/gps0"}\x0d\x0a
Aug 18 00:44:05 glypnod gpsd[31295]: gpsd:ERROR: response: 
{"class":"ERROR","message":"No such device as /dev/gps0"}\x0d\x0a
Aug 18 00:44:26 glypnod gpsd[31295]: gpsd:ERROR: response: 
{"class":"ERROR","message":"No such device as /dev/gps0"}\x0d\x0a
Aug 18 00:44:47 glypnod gpsd[31295]: gpsd:ERROR: response: 
{"class":"ERROR","message":"No such device as /dev/gps0"}\x0d\x0a
Aug 18 00:45:08 glypnod gpsd[31295]: gpsd:ERROR: response: 
{"class":"ERROR","message":"No such device as /dev/gps0"}\x0d\x0a
Aug 18 00:45:29 glypnod gpsd[31295]: gpsd:ERROR: response: 
{"class":"ERROR","message":"No such device as /dev/gps0"}\x0d\x0a



-- 
These are my opinions.  I hate spam.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]