Hi Grahame,

So - to me - it doesn't make sense to be setting the edge triggers using pxaregs. As far as I'm concerned you're asking for trouble by doing that.

The edge triggering should ONLY be done via a call to request_irq from within the kernel.

If you're looking to detect GPIO events from user space without polliing, then you should use a driver like gpio-event.


On Thu, Jul 29, 2010 at 4:32 PM, Grahame Jordan <gbj@theforce.com.au> wrote:
Hi Dave,

This one is really perplexing me.
I have taken a standard build from the verdex oe tree http://www.gumstix.net/wiki/index.php?title=Verdex_Git_Repository
Still the same issue.
I have dumped the pxaregs and diffed them with the pxaregs from the 2.6.21 build and ran a script to align them as much as possible.
Still the same.
I have tried patching the kernel in arch/arm/mach-pxa/gumstix-verdex.c.
I thought that it may be related to the MMC so I stripped the kernel down and installed on compact flash.
Still the same.
I tried on another GPIO but seems to be a general issue. (On at lease 2 GPIO'S)

The reason I need to go from 2.6.21 to 2.6.31 is the USBnet driver works better on 2.6.31 otherwise I would stay on 2.6.31.

Thanks

Grahame Jordan
 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/