There is no USPS pickup on Monday Feb 15th, 2016 because of President's Day. USPS orders placed after 11am EST Fri February 12th will go out Tuesday February 16. UPS orders will ship as normal.

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/
Please be positive and constructive with your questions and comments.

Occidentalis GPIO interrupts

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

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

Re: Occidentalis GPIO interrupts

by adafruit on Fri Sep 07, 2012 12:18 pm

probably not - what kernel module/version has it?

adafruit
 
Posts: 12047
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Occidentalis GPIO interrupts

by tetravalence on Fri Sep 07, 2012 4: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 4:45 pm

Re: Occidentalis GPIO interrupts

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

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

adafruit
 
Posts: 12047
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Occidentalis GPIO interrupts

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

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

Re: Occidentalis GPIO interrupts

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

no ETA at this time

adafruit
 
Posts: 12047
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Occidentalis GPIO interrupts

by tetravalence on Fri Sep 07, 2012 11: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 4:45 pm

Re: Occidentalis GPIO interrupts

by bhoga on Tue Sep 11, 2012 12:20 pm

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 12:11 pm
Location: Brighton, UK

Re: Occidentalis GPIO interrupts

by tetravalence on Wed Sep 12, 2012 12:04 am

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 4:45 pm

Please be positive and constructive with your questions and comments.