PDA

View Full Version : MattT, I have a question......



Enoch Chan
07-17-2003, 06:29 PM
The script you gave me creates the ttyS4 port. I believe that only works for the first PCI port/slot. And I want to know if my modem is on the second slot, am I supposed to create a S5 (ttyS5) port? And what's the difference between S4 and s4? Anyone who knows the answers to these questions, feel free to post a reply to it! Thanks!!! :o [/i]

Enoch Chan
07-20-2003, 03:13 AM
Anyone knows the answers to these questions? :?

garyng
07-20-2003, 05:32 AM
no one knows what script you were referring other than Matt. How about posting it ?

cowmamba
07-20-2003, 05:52 AM
it's this one i do belive

cd /dev
./MAKEDEV ttyS4
ln -s ttyS4 modem
chmod 777 modem
chmod 777 ttyS4

okies hope it helped

garyng
07-20-2003, 10:22 AM
Well, if that is the case, just use :

mknod ttyS5 c 4 69

to make ttyS5....

just do a ls /dev/ttyS* to find out the major and minor number(4,69) so you can make as many node as needed.

Enoch Chan
07-20-2003, 07:22 PM
Would it work if I use this script?

cd /dev
./MAKEDEV ttyS5
ln -s ttyS5 modem
chmod 777 modem
chmod 777 ttyS5

garyng
07-21-2003, 01:05 AM
may be. MAKEDEV is just a script by itself which is located under /dev to make it easier as you don't have to remember the major/minor number etc. you can try. no harm done even if it doesn't work.