[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Status NMEA2000
From: |
address@hidden |
Subject: |
Re: [gpsd-dev] Status NMEA2000 |
Date: |
Wed, 28 Jan 2015 00:38:36 +0100 |
Hello,
i can do the tests a a different machine only at the moment.
I test with
9462beb19fb6eda75a34eba9eeeacb4858273e3a
at the moment.
NMEA2000 seems to be O.K.
The serial gps device is here a u-blox, and connected with an FTDI chip. Seems
to be O.K.
But i have observed the hangup once, and i can not reproduce it.
Reinhard
-----Original-Nachricht-----
Betreff: Re: Status NMEA2000
Datum: Tue, 27 Jan 2015 16:19:51 +0100
Von: "Eric S. Raymond" <address@hidden>
An: "address@hidden" <address@hidden>
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>
- [gpsd-dev] Status NMEA2000, address@hidden, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000, Eric S. Raymond, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000, address@hidden, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000, Eric S. Raymond, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000, Hal Murray, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000, Eric S. Raymond, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000, Hal Murray, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000, Eric S. Raymond, 2015/01/27
- Re: [gpsd-dev] Status NMEA2000,
address@hidden <=