I found another detail. I commented out getty of ttyAM1 in inittab and
disconnect JP4. After booting into TS-Linux, i could not send text over ttyAM1
initially. But if i manually ran "/sbin/getty -i -L 115200 ttyAM1" (the login
prompt appeared on the minicom on my PC), then I killed the running getting
process, i could send text successfully after that. getty actually did
somethings to configure ttyAM1. But do I have to configure ttyAM1 before using
ttyAM1 because i think TS-Linux does during booting process? What exactly does
getty do with the serial port?
Thank you very much.
Regards,
Huy
--- In "Great Tiger" <> wrote:
>
> Hi all,
>
> I am using ts-7260 and I wanna connect a device via COM2. As it did not
> work, I made some tests on the COM2 and saw that:
> If I enable getty on ttyAM1 in inittab, I can successfully send data
> over COM2. I tried "echo hello > /dev/ttyAM1" and saw the the text on
> the other end. But if i comment out getty on ttyAM1 in inittab, the text
> cannot be sent over COM2 anymore.
> Could someone help me to explain why? FYI, JP4 was not connected. Thank
> you very much.
>
> Regards,
> Huy
>
------------------------------------
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/
|