[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Status NMEA2000
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] Status NMEA2000 |
Date: |
Tue, 27 Jan 2015 10:19:41 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
address@hidden <address@hidden>:
> Hello,
>
> not quite what i have expected,
>
> address@hidden:~/gpsd/gpsd$ ./gpsd -n -N -G -D0 nmea2000://can0 /dev/ttyUSB4
> gpsd:ERROR: PPS ioctl(TIOCMIWAIT) on /dev/ttyUSB4 failed: 22 Invalid argument
> address@hidden:~/gpsd/gpsd$ ./gpsd -n -N -G -D0 /dev/ttyUSB4
> gpsd:ERROR: PPS ioctl(TIOCMIWAIT) on /dev/ttyUSB4 failed: 22 Invalid argument
> address@hidden:~/gpsd/gpsd$ ./gpsd -n -N -G -D0 nmea2000://can0
> address@hidden:~/gpsd/gpsd$
>
> The device is connected by a
>
> cp210x
>
> device to USB.
OK, so I think this means the cp210x driver doesn't support TIOCMIWAIT and
is returning EINVAL on the attempt. Annoying but harmless.
The meatball-surgery way to prevent this message would be to disable starting
the PPS thread on USB devices. But we have a PPS device - the Macx-1 - that
this
would disable.
I'm much more concerned about your hang reports. Are you still seeing those?
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>