[Xastir] First Time CVS source
Curt Mills, WE7U
hacker at tc.fluke.com
Thu Jul 10 17:07:46 EDT 2003
On Thu, 10 Jul 2003, Stephen West-Fisher wrote:
> > Yea, it could be a problem if someone has incorrect GPS settings or
> > a broken HSP cable. They could get stuck waiting for GPS data
> > forever, ignoring the TNC receive data. In that case they'd still
> > be transmitting to the TNC. I think this scenario will happen very
> > infrequently.
>
> How can I be sure about this? I was assuming that if Xastir knew where I
> was well enough to transmit my (moving) position, it should be happy
> with the GPS connection. If you'll tell me where in the code (like, what
> source file) it is waiting for GPS data I can take a look at it. And
> remember, it worked properly with 1.0.0.
I did some minor tweaks to the code that might help. Had to do with
keeping SUID priviledges while doing the IOCTL commands to
raise/lower DTR.
The place to look is wherever port_dtr() or dtr_all_set() are used.
Currently those are in gps.c, interface.c, and main.c.a
I assume you're using the "chmod 4555 /usr/local/bin/xastir" command
after typing "make install"?
--
Curt Mills, WE7U hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto: A tax on people who are bad at math!"
"Windows: Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir
mailing list