LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-07-2004, 08:50 AM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
setserial


HellO...
i need a clear example of #setserial command when assigning an IRQ (from an expert)
...may useing {lspci ,cat /proc/pci } and this stuff after i cat/proc/pci |grep -i irq ..when i'm on the net i see
IRQ 11.
IRQ 9.
IRQ 11.
IRQ 11.
IRQ 11.
IRQ 5.
IRQ 11.
IRQ 11.
is that means that there r 6 devices using the same IRQ 11 ?..
this is a RedHat~9 on Thinkpad laptop internal +external modem +network card ) and this mess happend after recompiling 2.4..20-8 kernel to apply Quota the custom kernel wont let the modems or the network card working) the old one sometimes work if the /dev/modem linked right ....
So if anyOne tryed this command before post it or any have a link to good exampl not just man pages ,,,,,,,,,
I want to edit my IRQ~s map ..safely..
thank you
http://groups.yahoo.com/group/linuxCity

Last edited by ziox; 05-07-2004 at 09:20 AM.
 
Old 05-07-2004, 12:01 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
Yes, you have six devices using IRQ 11, but that's not necessarily a problem; IRQs can be shared on the PCI bus (but can't be shared across both ISA and PCI busses). Even so, IRQ sharing should be avoided if possible.

To see all interrupts and ioports:
$ cat /proc/interrupts
and
$ cat /proc/ioports

although sometimes things won't show up in /proc/interrupts if that piece of hardware hasn't issued an interrupt.

Here's an example of setserial:

#setserial /dev/ttyS0 port 0x02e8 irq 3 baud_base 115200

If you ever forget, run setserial with the -G option on any serial port to get an example of how to use it:

# setserial -G /dev/ttyS0
/dev/ttyS0 uart 16550A port 0x03f8 irq 4 baud_base 115200 spd_normal skip_test

http://www.tldp.org/HOWTO/Serial-HOWTO is really good. The Serial-HOWTO is where I learned everything I know about serial ports.

Hope this helps,
Lyle
 
1 members found this post helpful.
Old 05-07-2004, 05:59 PM   #3
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Original Poster
Rep: Reputation: 15
thank you ..
you are really helpfull
 
  


Reply

Tags
linux, serial, uart



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setserial warrant6767 Mandriva 1 06-29-2004 08:01 PM
Setserial in MDK 10 yvesm Mandriva 1 04-21-2004 04:58 PM
Setserial SMACK Mandriva 1 09-20-2003 02:35 PM
setserial under Slack 9.0 - is it there? uFoQ Slackware 2 07-02-2003 05:51 PM
setserial ErnstVikenstein Linux - General 9 05-24-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:28 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