ts-7000
[Top] [All Lists]

[ts-7000] GPIO IRQ problems

To:
Subject: [ts-7000] GPIO IRQ problems
From: Andy Gryc <>
Date: Tue, 19 Apr 2005 22:45:30 -0400
Hi all,

I'm writing a device driver to be triggered off one of the GPIO port b 
(DIO 4, specifically) interrupts.  The problem is when I get to calling 
request_irq with the GPIOINT interrupt (59), I get back -22.  I 
interpret that as "EINVAL"--i.e. the value is out of range?

It certainly isn't because that IRQ is already taken: if I dump 
/proc/interrupts, I've got 4 for the timer, 39 for the Ethernet, and 52 
for the UART, but nothing else.

Am I doing something wrong, or is this kernel not designed to handle 
irqs higher than 52?  If that's the case, that's really bad; it 
basically means I can't write my device driver unless I get a new 
kernel. :-(

--Andy Gryc 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU