Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-01-2006, 07:28 AM   #1
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
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
Old 08-01-2006, 07:55 AM   #2
LQ Newbie
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is there any shell command to read and write data from parallel and serial port? baosheng Linux - Hardware 2 01-13-2007 08:35 PM
change ip by command line noorudin Linux - Networking 8 09-07-2006 06:13 PM
serial and parallel port with DMESG command froglinux Linux - Hardware 1 06-16-2006 08:51 PM
Installing a serial modem from command line harperonline Solaris / OpenSolaris 2 06-27-2005 07:57 AM
using Stty to change serial port settings dkarnad Linux - General 1 12-21-2004 07:47 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration