ASK AN ENGINEER is LIVE now! Click here to watch our weekly show with LADYADA!
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/

Occidentalis GPIO interrupts

by tetravalence on Fri Sep 07, 2012 3:14 am

Does the Occidentalis distro support GPIO interrupts?
tetravalence
 
Posts: 13
Joined: Wed Aug 15, 2012 3:45 pm

Re: Occidentalis GPIO interrupts

by adafruit on Fri Sep 07, 2012 11:18 am

probably not - what kernel module/version has it?
User avatar
adafruit
 
Posts: 11663
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Occidentalis GPIO interrupts

by tetravalence on Fri Sep 07, 2012 3:55 pm

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.
tetravalence
 
Posts: 13
Joined: Wed Aug 15, 2012 3:45 pm

Re: Occidentalis GPIO interrupts

by adafruit on Fri Sep 07, 2012 4:21 pm

dont think so - but we'll try to add this to the v3 release
User avatar
adafruit
 
Posts: 11663
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Occidentalis GPIO interrupts

by tetravalence on Fri Sep 07, 2012 4:43 pm

I'd really appreciate it :D any idea when that will be?
tetravalence
 
Posts: 13
Joined: Wed Aug 15, 2012 3:45 pm

Re: Occidentalis GPIO interrupts

by adafruit on Fri Sep 07, 2012 4:45 pm

no ETA at this time
User avatar
adafruit
 
Posts: 11663
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Occidentalis GPIO interrupts

by tetravalence on Fri Sep 07, 2012 10:18 pm

I looked into the issue, and it appears that the patch is already applied, although I haven't tried it out (I will soon).
tetravalence
 
Posts: 13
Joined: Wed Aug 15, 2012 3:45 pm

Re: Occidentalis GPIO interrupts

by bhoga on Tue Sep 11, 2012 11:20 am

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
bhoga
 
Posts: 3
Joined: Tue Sep 11, 2012 11:11 am
Location: Brighton, UK

Re: Occidentalis GPIO interrupts

by tetravalence on Tue Sep 11, 2012 11:04 pm

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!
tetravalence
 
Posts: 13
Joined: Wed Aug 15, 2012 3:45 pm