paul cooke wrote:
> no, that doesn't work. if I create a named pipe called dummygps and
> pointed the nmea output there instead of /dev/ttyS0, it barfs and
> bombs out.  If I point the nmea output in file form rather than serial
> and tell it to use dummygps as the "file" it just hangs.

It sounds like gpsdrive is trying to treat its input as a serial
device and isn't capable of handling input from arbitrary file
descriptors.  This is basically a bug with gpsdrive.  Have you tried
reporting this to the author?  Try pointing out that you want to use
it with FlightGear, which can provide NMEA data on a socket.

Alternatively, you can probably solve the issue with a hardware hack
by writting a little program to copy FlightGear's data stream out a
RS-232 serial port, which is then looped back in to another serial
port using a null modem cable for gpsdrive to read from.  There are a
few motherboards left which have two external serial ports; if you
don't have one, you can buy a USB serial adaptor for about $30US or
so.

Andy

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to