LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2002, 05:08 PM   #1
lukethack
LQ Newbie
 
Registered: Jan 2002
Posts: 7

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


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
using Stty to change serial port settings dkarnad Linux - General 1 12-21-2004 07:47 AM
RedHat 9 PS/2 mouse on serial port: not working neylitalo Linux - Hardware 1 09-05-2004 04:33 PM
What are my serial port settings? glenn69 Linux - Newbie 3 08-11-2004 10:37 PM
Save Window Settings - RedHat 9.0 Dan Cerimele Linux - Newbie 0 08-16-2003 03:57 AM
help with redhat 7.1 and ttyS4 serial port. joe_dejesus Linux - General 1 10-07-2001 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 AM.

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