I am reading the example of xuartctl in software guide for TS 7550.
It uses two RS232 port, console and xurt0.
>From console, the following command is issued so than console program is
>connected to xurt 0.
# xuartctl --port 0 --server
# xuartctl --port 0 --server --speed 115200
ttyname=/dev/pts/0
I have a few questions.
1) I understand since the command " xuartctl --port 0 --server" is issued from
the console, xuart 0 is connected with console. If a program ( not console)
issues this command, then xuart 0 port will be connected with the program (
whatever it is). Am i correct?
2)In software guide, i read below
[The xuartctl utility will always choose the first free device node. So, there
may be instances where specifying "--port 0" will result in /dev/pts/1. This
makes it difficult when programming for /dev/pts/0 specifically. One suggestion
to overcome this is to create symlinks:
ln -s /dev/pts/1 /dev/pts/0 ]
This makes me concerned because i need to statically assign about 5-6 xuart
device nodes statically to physical device ports not like choosing the first
free node. I am not sure if the "ln" command can do the job. I appreciate any
advice.
Thanks
Jongsoo
------------------------------------
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/
|