Redhat 7.1 cannot save serial port settings
I have read every howto and newbie guide I can find. I cannot get my computer to save the serial port setting and load them at boot time. I have six serial ports I would only need four exept for I have to use a serial mouse. I have two ports on the mother board and two add on isa serial cards. The boards use jumpers to set the irq, com port, and baud rate. when I start linux it detects four ports it sets all four to irq 3 and 4. after reading a lot I found out about setserial. I used setserial to setup the ports like this
setserial /dev/ttyS0 irq 4 port 0x3f8 uart 16550A
setserial /dev/ttyS1 irq 3 port 0x2f8 uart 16550A
setserial /dev/ttyS2 irq 7 port 0x3e8 uart 16550A
setserial /dev/ttyS3 irq 9 port 0x2e8 uart 16550A
setserial /dev/ttyS4 irq 10 port 0x2f0 uart 16550A
setserial /dev/ttyS5 irq 11 port 0x3e0 uart 16550A
I went into the kde device manager and checked the setting and it picked them all up and I had no conflicts. I shut down and restarted and it did not save them. The settings were the same as before with irq 3 and 4 sharing all 4 ports. doing searches on the web I have read up on a script called rc.serial. what I read indicated that if I move that script into the appropriate folder and modify it I can get the ports to load at boot time. I thing it needed to be moved to /etc/init.d/ but would have to verify that again. I looked at the script and couldn't tell where I would need to edit it. I also read about a script called rc.local and another like serial.conf but am not sure if that is the correct name. can someone tell me the best way to get this setup? What is the best script to use? What part of the script would I need to edit?
Luke
|