Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 06-11-2009, 03:16 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 14

Rep: Reputation: 0
Receive IRQ from a GPIO pin


I'm currently developing on a DMP Vortex86DX cpu board. My next aim is to receive and handle an interrupt if there are new signals from certain GPIO Ports.

The Board is using two 8259 compatible interrupt controllers. In the BIOS I can switch the pins from
GPIO to 8051 PO mode.

My questions:
- How to assign an IRQ in my Linux device driver to a single i/o pin?
- Do I have to program (somehow) the 8259 interrupt controller in order to route an interrupt to a single pin or a bank of pins?
- Do I have to set the pins into 8051 PO mode?
- In General: Does Linux reserves all IRQs for its self on the 8259 and dispatch them to the several device drivers instances?
- How much depends this task on the used hardware. Means: Do I need a solder gun?

thanks for your help.
Old 06-22-2009, 10:02 AM   #2
LQ Newbie
Registered: Jun 2009
Posts: 14

Original Poster
Rep: Reputation: 0
I received an answer from the Vortex producer DMP. The are currently selling Vortex86DX CPUs which are not equiped with IRQs to the GPIOs.
Even if this feature has been advertised for the DX SOC processor since long time, it won't be available for cpus delivered before the fourth quarter of this year.

They are advertising features which aren't implemented currently. "Hope" seems to be still a good sales argument.

Last edited by maus; 06-22-2009 at 10:04 AM.


device, driver, gpio, irq

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 GPIO (from kernel GPIO support) in MY application DannyGilbert Linux - Kernel 2 03-16-2009 07:52 AM
gpio board FrollyC Linux - General 4 02-09-2008 08:38 AM
CPU 12-V power supply: 4-pin or 8-pin? michapma Linux - Hardware 3 07-23-2007 10:13 AM
Gpio rash_f Linux - Newbie 1 08-31-2006 01:14 PM
SCSI Errors when IRQ Shared - How do I not share IRQ MQMan Linux - Hardware 2 01-08-2006 11:42 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration