From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50FA9265.7020100@xenomai.org> Date: Sat, 19 Jan 2013 13:32:37 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <201301182211.27006.paul_c@tuxcnc.org> In-Reply-To: <201301182211.27006.paul_c@tuxcnc.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] GPIO Interrupts problem with RTDM List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Cc: Pierre LE COZ , xenomai@xenomai.org On 01/18/2013 11:11 PM, Paul wrote: > On Friday 18 January 2013, Pierre LE COZ wrote: >> I have simple program to manage the GPIO of my raspberry Pi using >> RTDM. >> >> I use : >> "rtdm_irq_request(& irq_exemple, num_irq, exemple_handler, >> RTDM_IRQTYPE_SHARED | RTDM_IRQTYPE_EDGE, "MyProgram", NULL);" >> in order to detect interrupts. > > rtdm_irq_request does not explicitly enable the interrupts on a gpio pin > with ian_cim's patch This may be a generic issue, which I thought was fixed, but may not be. Could you try the following patch? http://git.xenomai.org/?p=ipipe-gch.git;a=commit;h=c14c79d29fed82267560c7bf26d628ef4d39f5b7 -- Gilles.