LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 08-01-2006, 07:28 AM   #1
powah
Member
 
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
thelvaci
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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