Sponsored Content
Full Discussion: IRQ and Number of Devices
Special Forums Hardware IRQ and Number of Devices Post 302827005 by Lost in Cyberia on Thursday 27th of June 2013 05:46:01 PM
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!
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
vme_manual_setup(7)					 Miscellaneous Information Manual				       vme_manual_setup(7)

NAME
vme_manual_setup, sys_attrs_vba_vipvic - Describes how to set up VIP/VIC-based Alpha VME systems for use on the VMEbus, including how to modify attributes of the vba_vipvic kernel subsystem DESCRIPTION
VMEbus setup allows you to run the operating system on the following VIP/VIC-based AXPvme and Alpha VME systems: AXPvme single-board computers (SBCs) Alpha VME 4/224 and 4/228 SBCs Alpha VME 5/352 and 5/480 SBCs Alpha VME 2100 system For information about installing the operating system on the listed systems, see the Installation Guide. For information about setting up UNIVERSE II-based Alpha VME systems for use on the VMEbus, see the sys_attrs_vba_univ(7) reference page. See System Configuration Supplement: OEM Platforms for detailed information about the use of the VMEbus on the listed systems, including the following topics: Configuring the vba_vipvic subsystem Configuring VMEbus A32 and A24 address spaces Configuring the VMEbus A16 address space Configuring VMEbus interrupts Using VMEbus hardware byte-swapping modes Sharing memory between big endian and little endian proces- sors Performing VMEbus slave block transfers Performing VMEbus master block transfers with local DMA Using the realtime interrupt-handling routine rt_post_callout The defaults supplied for various VMEbus parameters are listed below. The default values specified should provide proper VMEbus operation for most applications. Be careful when modifying these values; not all adapters support all fields. Parameter Default Meaning -------------------------------------------------------------------- VME_Br_Lev 0x03 Bus request level 3 for master cycles VIC_Arb_Mode 0x00 Arbitration mode is round robin VME_Fair_Req 0x00 VMEbus fair requester disabled VIC_Loc_Bus_To 0x05 Local bus timeout period is 256 microseconds VME_Bus_To 0x06 VMEbus timeout period is 512 microseconds VIC_Rel_Mode 0 Release mode is release on request (ROR) VIC_Syscon 1 System controller VMEbus reset is enabled VIC_Wrt_Post 0 Disable VIC master write posting VIC_DMA_Intrlv 15 DMA interleave gap is 3.75 microseconds (value * 250 nanoseconds) Lmt_DMA_Rd 0 No DMA read limit Lmt_DMA_Wrt 0 No DMA write limit Frce_Hw_DMA 0 Do not force hardware DMA engine fo SMP system A32_Base 0x08000000 A32 inbound DMA window base address A32_Size 0x8000000 A32 window size (128 MB) A24_Base 0x00C00000 A24 inbound DMA window base address A24_Size 0x400000 A24 window size (4 MB) A16_Base 0x00000100 A16 interprocessor communication base address A16_Mask 0x00000000 A16 interprocessor communication mask A24_A32_Ovrlap 1 Inbound A24/A32, if same space, overlap The following VMEbus interrupt parameters provide initial defaults that are later overwritten by system priority level (SPL) values sup- plied by the platform. See the values listed in System Configuration Supplement: OEM Platforms, or query the values at run time using the command sysconfig -q vba_vipvic. Parameter Default Meaning -------------------------------------------------------------------- Irq0_SPL 3 VMEbus IRQ level to system SPL map Irq1_SPL 3 VMEbus IRQ 1 to SPL SPLDEVLOW Irq2_SPL 3 VMEbus IRQ 2 to SPL SPLDEVLOW Irq3_SPL 3 VMEbus IRQ 3 to SPL SPLDEVLOW Irq4_SPL 3 VMEbus IRQ 4 to SPL SPLDEVLOW Irq5_SPL 3 VMEbus IRQ 5 to SPL SPLDEVLOW Irq6_SPL 3 VMEbus IRQ 6 to SPL SPLDEVLOW Irq7_SPL 3 VMEbus IRQ 7 to SPL SPLDEVLOW Adapt_Blk_SPL 3 Adapter resource blocking SPL SPLDEVLOW DMA_Access_Space 0 Adapter MBLT I/O access: sparse RELATED INFORMATION
Interfaces: sys_attrs_vme_vba(7), sys_attrs_vba_univ(7), sysconfigdb(8), sys_attrs(5) System Configuration Supplement: OEM Platforms, Device Driver Kit manual Writing VMEbus Device Drivers delim off vme_manual_setup(7)
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy