change serial port IO addresses by command line
To make the serial ports work with the minicom and other software, the IO addresses of the two serial port of a computer have to be changed from 2FE to 3F8 and from 3FE to 2F8 in the BIOS setting.
I have to make hundreds of identical computer to work, so I don't want to change them manually in the BIOS. Is there a way to change the IO addresses of the two serial port by the command line? Alternatively, is there other way to accomplish the same goal? I use FC 3. /etc/inittab has this line: s0:2345:respawn:/sbin/mgetty ttyS0 |
try to use setserial command example:
setserial /dev/ttyS2 port 0xd000 uart 16550A irq 5 Baud_base 115200 setserial /dev/ttyS3 port 0xb800 uart 16550A irq 5 Baud_base 115200 These are just examples you should modify as to your need |
All times are GMT -5. The time now is 01:02 PM. |