> On Wed, Jun 27, 2012 at 11:25:50AM -0700, Damian Miralles wrote:
> > Hello:
> > I did the changes on the /etc/inittab/
> > #
> > # Start console logins on both COM Ports
> > #
> > lgn0:12345:respawn:/sbin/getty -L 115200 ttyAM0
> > # Disable COM2 logins, but set baud rate
> > com2:12345:once:/sbin/getty -L -n -t 1 1200 ttyAM1
> > #lgn1:12345:respawn:/sbin/getty -L 115200 ttyAM1
> >
> > I manage to set the port to the 1200 baud rate as desired and I am able
> > of sending and receiving data to the desired speed, however I do notice
> > that i keep having an input on the com2 port as login,
Yes, of course - you have configured init to run a getty process on "com2"
so you will get a login, that what getty does - try man getty on a linux
box or do some googling for more information.
If you ant to set the baud rate for your own application running on "com2",
then make your application set the baudrate - assuming you are writing
your application in C. There have been loads of advice on this forum to do
help program the serial interface. This is standard Linux/Unix programming,
nothing specific to the TS board, so googling for serial programming
examples will give you help.
> > let's say that
> > if i have connected COM2 to my pc serial port and com1 as the console,
> > i still get the message "ts7200 login" on the serial port window
> > connected to COM2. in adittion I can login since the COM2 PORT without
> > any problem When editing the /etc/inittab/ I believe that the dual
> > login console will be disbale, any idea why i am getting this result
> > Thanks Damian
>
------------------------------------
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/
|