Occidentalis GPIO interrupts

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
osandov
 
Posts: 13
Joined: Wed Aug 15, 2012 4:45 pm

Occidentalis GPIO interrupts

Post by osandov »

Does the Occidentalis distro support GPIO interrupts?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Occidentalis GPIO interrupts

Post by adafruit »

probably not - what kernel module/version has it?

User avatar
osandov
 
Posts: 13
Joined: Wed Aug 15, 2012 4:45 pm

Re: Occidentalis GPIO interrupts

Post by osandov »

It looks like someone wrote a patch here:
http://www.raspberrypi.org/phpBB3/viewt ... =44&t=7509
But I'm not sure if it was added to the Raspbian kernel, and by extension, the Occidentalis kernel.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Occidentalis GPIO interrupts

Post by adafruit »

dont think so - but we'll try to add this to the v3 release

User avatar
osandov
 
Posts: 13
Joined: Wed Aug 15, 2012 4:45 pm

Re: Occidentalis GPIO interrupts

Post by osandov »

I'd really appreciate it :D any idea when that will be?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Occidentalis GPIO interrupts

Post by adafruit »

no ETA at this time

User avatar
osandov
 
Posts: 13
Joined: Wed Aug 15, 2012 4:45 pm

Re: Occidentalis GPIO interrupts

Post by osandov »

I looked into the issue, and it appears that the patch is already applied, although I haven't tried it out (I will soon).

bhoga
 
Posts: 3
Joined: Tue Sep 11, 2012 12:11 pm

Re: Occidentalis GPIO interrupts

Post by bhoga »

Yes, GPIO interrupts work, at least in v0.2

I've tested out the WiringPi library, and I even have it working with some Python -- let me know if you need any help.

User avatar
osandov
 
Posts: 13
Joined: Wed Aug 15, 2012 4:45 pm

Re: Occidentalis GPIO interrupts

Post by osandov »

Yes, I verified the patch using sysfs and also got it working with the Linux kernel interrupt functions, the forums just wouldn't let me edit my post thinking I was spamming or something :lol: Thanks anyways!

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”