IRQ and Number of Devices

 
Thread Tools Search this Thread
Special Forums Hardware IRQ and Number of Devices
Prev   Next
# 1  
Old 06-27-2013
IRQ and Number of Devices

Hello everyone. I feel that I'm about to answer my own question, but I just want to be sure that I'm right. I know computers all use, at a very low level, the IRQ system of interrupting the CPU when it needs something. My questions are as follows:

1. Does the device in question, say.. a mouse, need to use the interrupt wire every single time, I use it? Say if the CPU is potentially idle, and I tap a few keys, even though the CPU wasn't busy, will it still use the interrupt feature? Or intteruppting the CPU only done when it has other things it's busy with?

2. How can there only be 16 IRQ devices? Also considering that 3 of them are already taken, (timer, keyboard, and clock) and that 2 & 9 are the same. Doesn't this mean that if I plug in 16 devices into a 20port usb hub that I'd be out of device room? Or does the usb bus count as 1 device? Same goes for SATA ports? I have 4 SATA ports on my motherboard. if I plug in 4 SATA hard drives, does that mean i'm filling up 4 seperate IRQ slots?


Thanks for the help in advance!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Ports,number of slots,network devices - UNIX

Hi All, Can someone help me in finding out below information from ReHat linux,Solaris,AIX, hp-ux machine : 1. How to find total number of ports in supported by each slot. 2. name of ports that are used to transmit data to the printer 3. total number of slots on a network device (2 Replies)
Discussion started by: omkar.jadhav
2 Replies

2. Programming

What is unbalanced IRQ?

------------------------ WARNING: at kernel/irq/manage.c:225 __enable_irq+0x3b/0x57() Unbalanced enable for IRQ 4 Modules linked in: svsknfdrvr Pid: 634, comm: ash Tainted: G W 2.6.28 #1 Call Trace: warn_slowpath+0x76/0x8d profile_tick+0x2d/0x57 irq_exit+0x32/0x34 ... (3 Replies)
Discussion started by: dragonpoint
3 Replies

3. UNIX for Dummies Questions & Answers

Doubt with irq handler.......

Hello, I have develop a driver for my hardware and now, I need to handle a IRQ but I does not work. As I can understand, to handle a irq, it is necessary to make a request_irq(). If the return value is zero, ok, no problem to handle irq. Here is a easy example of my driver: #include... (8 Replies)
Discussion started by: webquinty
8 Replies

4. Linux

A question with respect to IRQ distribution

Hi all, I am a Linux newbie in kernel development. In class I was asked a question about IRQ distribution as followed. IRQs can be distributed among the available CPUs (in a multiple-CPU system) in two ways: (1) Static distribution The IRQ signal is delivered to the local APICs listed... (2 Replies)
Discussion started by: sunnyhay
2 Replies

5. UNIX for Advanced & Expert Users

IRQ priority in FC9

Hi, I want to increase IRQ4 priority to maximum in Fedora core 9 (kernel version 2.6.25.11-97).If anybody knows plz help me.... I will be very thankful .. regards, Raj (0 Replies)
Discussion started by: rajuprade
0 Replies

6. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

7. UNIX for Dummies Questions & Answers

irq complication

hi, i looked around already and had no luck finding anything. Im trying ot install a wpc11v3 linksys wireless card, and i have been for about a week now. :mad: Im near certain i have figured out my problem. When i plug in my card while knoppix is running, it crashes. When i plug it into... (0 Replies)
Discussion started by: jestra
0 Replies

8. UNIX for Dummies Questions & Answers

usb - deleting (irq)

FreeBSD 4.5 i installed my sound drivers (which are onboard) with the following lines in my kernel device pcm options PNPBIOS then cd /dev sh MAKEDEV snd0 output from cat /dev/sndstat show the devicedriver (correct one) ok this works nice untill i enter my kde and want to play a... (1 Reply)
Discussion started by: termiEEE
1 Replies

9. UNIX for Dummies Questions & Answers

forcing irq on PCMCIA card

ENV: linux Version: Mandrake 8.1, PCMCIA card: longshine lcs-8534TB. (supported according the PCMCIA docs) laptop is P-II lifetec /etc/sysconfig/pcmcia: PCMCIA=yes PCIC=i82365 ( found via probe -m ) PCIC_OPTS="cs_irq=11 pci_irq_list=11,11 do_scan=0" ( you see i want to force irq 11 )... (3 Replies)
Discussion started by: progressdll
3 Replies

10. UNIX for Dummies Questions & Answers

irq

where can i find the i/o and irq's in mandrake 8 help lost :D (2 Replies)
Discussion started by: RYRY46D9
2 Replies
Login or Register to Ask a Question
pcic(7D)																  pcic(7D)

NAME
pcic - Intel i82365SL PC Card Interface Controller The Intel i82365SL PC Card interface controller provides one or more PCMCIA PC card sockets. The pcic driver implements a PCMCIA bus nexus driver. The driver provides basic support for the Intel 82365SL and compatible chips. The chips that have been tested are: o Intel 82365SL o Cirrus Logic PD6710/PD6720/PD6722 o Vadem VG365/VG465/VG468/VG469 o Toshiba PCIC and ToPIC o Ricoh RF5C366 o Texas Instruments PCI1130/PCI1131/PCI1031 While most systems using one of the above chips will work, some systems will not be supported due to hardware designs options that may not be software detectable. Note that systems with CardBus interfaces are only supported in the non-legacy mode. Systems that only initialize the bridge to legacy mode and do not configure the PCI memory will not be supported. Direct access to the PCMCIA hardware is not supported. All device access must be through the Card Services interface of the DDI. PRECONFIGURE
o Install your add-in PC Card adapter prior to the Solaris installation. o Some systems have their built-in PC Card adapter disabled by default. Enable it prior to Solaris installation. o Requirements for a system depend on the combination of devices to be used. A typical two-socket system needs at least 8 Kbytes of address space, 16 bytes of I/O space, and three free IRQs. Following are general guidelines: +--------------+------------------------------------------------+ |Address space | At least 8 Kbytes are required with 4 Kbytes | | | per socket in the 640K-1MB range (not neces- | | | sarily contiguous); if there are three sock- | | | ets, at least 12 Kbytes are needed. | +--------------+------------------------------------------------+ |I/O space | At least 8 and preferably 16 bytes per socket. | +--------------+------------------------------------------------+ |IRQs | One per socket, plus an IRQ for the pcic | | | device driver itself. | +--------------+------------------------------------------------+ CONFIGURATION
There is one driver configuration property defined in the pcic.conf file. interrupt-priorities=11; This property must be defined and must not be modified from the default value. Initial Installation and Configuration To perform initial installation and configuration, do the following steps: 1. Consult the Configuration Assistant for address space, I/O space, and IRQs already used by system devices. 2. Insert the PC Card adapter. 3. Install the Solaris software. 4. Reboot the system. Adding PC Card Support to a Previously Installed System To add PC card support to a previously installed system, do the following: 1. Become root. 2. Do a reconfiguration reboot to reallocate resources: # touch /reconfigure # reboot 3. Insert the PC Card adapter and turn on the machine. 4. Boot the system so that the PC Card device driver begins running with the new resources allocated. Allocating IRQs To allocate the IRQs, do the following: 1. Boot with the Configuration Assistant so you can review the resource usage. 2. Select View/Edit Devices from the Device Tasks menu, and review the list of devices to see how many IRQs are being used. (There are 16 IRQs, from 0-15. Several IRQs are already assigned. For example, IRQ 3 is reserved for the second serial port, COM2, and IRQ 7 is reserved for the parallel port.) 3. If your system has an unused COM2 or parallel port, delete the device to free the IRQ resource for a PC Card. To do this, select the serial port device using IRQ 3 or the parallel port using IRQ 7, and choose Delete Device. Next, choose Continue to return to the Device Tasks menu, then save the configuration. 4. Boot the Solaris software. /kernel/drv/pcic pcic driver /kernel/drv/pcic.conf pcic configuration file pcmcia(7D), stp4020(7D) 20 Oct 2000 pcic(7D)