From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lowell Gilbert References: <44bnkqho7e.fsf@lowell-desk.lan> <20150218220804.GR30317@hermes.click-hack.org> <44pp9633yh.fsf@lowell-desk.lan> Date: Thu, 19 Feb 2015 16:06:05 -0500 In-Reply-To: <44pp9633yh.fsf@lowell-desk.lan> (Lowell Gilbert's message of "Wed, 18 Feb 2015 23:44:38 -0500") Message-ID: <448uft6282.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] interrupt service Reply-To: xenomai@xenomai.org List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Lowell Gilbert writes: > Gilles Chanteperdrix writes: > >> On Wed, Feb 18, 2015 at 05:03:33PM -0500, Lowell Gilbert wrote: >>> Hi. >>> >>> I have a kernel task created with rtdm_task_init(). I can wake it up >>> from my ioctl handler in non-RT, but not from inside my ISR, which was >>> hooked with rtdm_irq_request(). I tried it with a semaphore, with an >>> event, and then with just rtdm_task_unblock(). I'm probably doing >>> something silly here; are there any obvious places to look? >> >> Are you sure the irq handler is actually called ? > > Yes. > > [I increment a variable every time the IRQ runs, just to be sure.] I am attaching a sample program based on one of the Xenomai examples. The bottom half never executes, although the top half does. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tut02-skeleton-drv.c URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tut02-skeleton-app.c URL: