--- In Jim Jackson <> wrote:
>
>
>
>
> On Sat, 7 Oct 2006, Rob wrote:
>
> > I have been trying to connect to a Garmin GPS and just echo the NMEA
> > data to the console for a proof of concept. While I think I am getting
> > closer it still just shows zero for the data received. I have looked at
> > many examples here and the code is starting to look correct. Also if I
> > log onto the board using COM2 it asks for a password ???
>
> You say you can login to "com2". That means you have a "getty" running on
> that line too. You will need to stop the getty process so your program has
> sole access to the port.
>
> comment out the line in /etc/inittab that tells init to run getty on
> /dev/ttyAM1, then send init a HUP signal to reread the inittab file
> (kill -1 1)
>
I commented out
T1:23:respawn:/sbin/getty -L ttyAM1 115200 vt100
in /etc/inittab with a # an rebooted (thought I had tried this but wanted to be
sure) Same
result.
I am wondering if I could have damaged COM2? I am pretty sure I have it
connected
properly with the redline on the cable to the dot side. The cable checked fine
and the
Garmin cable works on windows to HyperTerminal. What makes me wonder is why
would
the system want a password on COM2 but not COM1?
Thanks for the feedback so far.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|