ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For what hardware do interrupt line 5 and 10 stand for ?
Would u show how did u do it !
Any way I don't think it is advisable to change things in BIOS like u did !
Hello,
irq lines 5 and 10 is not for standard hardware. I have a voltage monitoring in my embedded system and when voltage is under or above a value, this IC send signals that I connect to irq5 (low voltage) and irq10 (high voltage).
My driver execute interrupt handler for both irqs and send signal to user space, where is my user program.
In BIOS:
PnP/PCI Configurations->Resources controlled by [MANUAL]
->IRQ Resouces->IRQ-5 assigned to [Legacy ISA]
->IRQ-10 assigned to [Legacy ISA]
IRQs are like something that you have probably never seen or heard of: a telephone "party line."
In the early days, when there were not enough telephone wires to go around, many houses were hooked up to the same telephone circuit. So, when the phone rang, it might not be for your house. You had to listen for a distinctive pattern of rings that told you whether or not the call was for you.
If it was, then you picked up the phone and talked.
If it wasn't, you picked up the phone anyway so that you could snoop on your neighbors.
When an IRQ occurs, your driver still has to check the hardware device to see if it was actually the one that presented the interrupt. Maybe it was, or maybe the interrupt came from "someone else on the same line."
The idea of "reserving interrupts" comes from Plug-n-Play. Most devices these days can use any IRQ line, and so they have to be told which one to use. Plug-N-Play does all that: it locates devices, assigns IRQs to them, and tells them which IRQ to use.
But if (older) devices are hard-wired to use only a particular IRQ, and their (also, older) device drivers are also dependent on that, then the BIOS may have to be told to "reserve" the IRQ so that it does not get auto-assigned to a Plug-N-Play capable device. (Older drivers and/or hardware might not be smart enough to handle "someone else calling on the same line ...")
Last edited by sundialsvcs; 02-04-2010 at 07:23 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.