On Dec 13, 2007, at 10:07 AM, trucmuch_59 wrote:
> Hello,
> I try to write a program to send some data on 'COM2', for what I find
> it's /dev/ttyAM1
>
> I was able to send some data at 9600bps, but when I try to read
> something it's look like the speed is at 115200 !?! Even if I setup
> the speed also at 9600.
>
> And after a few 'enter' I have the prompt of my Linux board.
> How can I remove this port from the available port for Linux ?
Edit /etc/inittab
There, you will find two (or more) lines like this:
lgn0:12345:respawn:/sbin/getty -L 115200 ttyAM0
lgn1:12345:respawn:/sbin/getty -L 115200 ttyAM1
These turn on the console for AM0 and AM1, which is interfering with
you using AM1 for other things.
Just insert a '#' as the first character of the line with ttyAM1 to
comment it out, and all will be well...
-Ilya
>
> or what can I do to make it work ?
>
> thanks in advance,
>
> best regards,
>
> arno
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
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/
|