gpsd-dev
[Top][All Lists]
Advanced

[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: Tue, 27 Jan 2015 16:11:44 +0100

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.

Reinhard


-----Original-Nachricht-----
Betreff: Re: Status NMEA2000
Datum: Tue, 27 Jan 2015 15:02:06 +0100
Von: "Eric S. Raymond" <address@hidden>
An: "address@hidden" <address@hidden>

address@hidden <address@hidden>:
> Hallo,
> 
> nmea2000 looks good again,
> i like your changes, not introducing a redundant global variable.
> 
> But if, and only if, i start gpsd with the nmea2000 and the serial device, i 
> still get 
> 
> gpsd:ERROR: PPS ioctl(TIOCMIWAIT) failed: 22 Invalid argument
> 
> Reinhard

I am puzzled.  When in doubt, instrument.

I have chancged the ioctl error messages to dump the path of the
device on which they are failing.  Please re-run that test to see
whether it's the serial or CAN device on which the ioctl is failing.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>





reply via email to

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