Subject: Re: [Xenomai-help] IRQ1 forwarded to Linux? From: Guillaume Boutillier In-Reply-To: <4450DB97.9010708@domain.hid> References: <1146143577.3671.3.camel@domain.hid> <1146149090.2938.33.camel@domain.hid> <4450DB97.9010708@domain.hid> Content-Type: text/plain; charset=utf-8 Date: Thu, 27 Apr 2006 17:36:02 +0200 Message-Id: <1146152162.2938.42.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: xenomai@xenomai.org > Guillaume Boutillier wrote: > > Hello, > >=20 > >=20 > >>>ROSSIER Daniel wrote: > >>> > >>>>Hello, > >>>> > >>>>=20 > >>>> > >>>>We have a small Xeno application which implements an interrupt servic= e=20 > >>>>(ISR) on IRQ 1 (keyboard) =E2=80=93 quite stupid, but > >>>> > >>> > >>>Sorry, > >>> > >>>- $ cat /proc/ipipe/Linux > >>>+ $ cat /proc/ipipe/Xenomai > >=20 > >=20 > > I checked when I run my application...=20 > > But I couldn't understand the meaning of the different flags : accepted= , > > passed and grabbed?!=20 > >=20 >=20 > What about posting the output to this list? Maybe someone could help. >=20 Sorry I forgot the results... when I run the application with RT_INTR_PROPAGATE : $ cat /proc/ipipe/Xenomai Priority=3D200, Id=3D0x58454e4f irq0-1: grabbed irq2-31: passed irq32-33: passed, virtual irq34: grabbed, virtual $ cat /proc/ipipe/Linux Priority=3D100, Id=3D0x00000000 irq0-15: accepted irq32-33: grabbed, virtual irq34: passed, virtual when I run the application with RT_INTR_HANDLED $ cat /proc/ipipe/Xenomai Priority=3D200, Id=3D0x58454e4f irq0-1: grabbed irq2-31: passed irq32-33: passed, virtual irq34: grabbed, virtual $ cat /proc/ipipe/Linux Priority=3D100, Id=3D0x00000000 irq0-15: accepted irq32-33: grabbed, virtual irq34: passed, virtual Thanks Guillaume > >=20 > >>>when your test is loaded would be useful to understand why Linux still= =20 > >>>gets the kbd IRQs. > >>> > >>> > >>>>just for testing. If we understand well, returning from the ISR with=20 > >>>>RET_INTR_HANDLED should not propagate the > >>>> > >>>>IRQ to the other domains, therefore to the Linux one, right? > >>>> > >>>>Why can we then keep working with the shell? (I expect that we can no= t=20 > >>>>interact with the shell, even not see the echoed char.). > >>>> > >>>>=20 > >>>> > >>>>Does Xenomai patch the keyb driver? > >>>> > >>> > >>>No. > >>> > >>> > >>>>=20 > >>>> > >>>>(We've seen that on /proc/xenomai/irq, we get the IRQ1 count, but NOT= on=20 > >>>>the /proc/interrupts, as expected). > >>>> > >>>>=20 > >>>> > >>>>Thanks for your help > >>>> > >>>>=20 > >>>> > >>>>Daniel > >>>> > >>>> > >>>>---------------------------------------------------------------------= --- > >>>> > >>>>_______________________________________________ > >>>>Xenomai-help mailing list > >>>>Xenomai-help@domain.hid > >>>>https://mail.gna.org/listinfo/xenomai-help > >>> > >>> > > Thanks for your help > >=20 > > Guillaume Boutillier > >=20 > >=20 > >>pi=C3=A8ce jointe message de courriel, "Message transf=C3=A9r=C3=A9 - R= e: > >>[Xenomai-help] IRQ1 forwarded to Linux?" > >>Le jeudi 27 avril 2006 =C3=A0 15:12 +0200, S=C3=A9bastien Gerber a =C3= =A9crit : > >> > >>>ROSSIER Daniel wrote: > >>> > >>>>Hello, > >>>> > >>>>=20 > >>>> > >>>>We have a small Xeno application which implements an interrupt servic= e=20 > >>>>(ISR) on IRQ 1 (keyboard) =E2=80=93 quite stupid, but > >>>> > >>> > >>>What does the following say? > >>>$ cat /proc/ipipe/Linux > >>> > >>> > >>>>just for testing. If we understand well, returning from the ISR with=20 > >>>>RET_INTR_HANDLED should not propagate the > >>>> > >>>>IRQ to the other domains, therefore to the Linux one, right? > >>>> > >>>>Why can we then keep working with the shell? (I expect that we can no= t=20 > >>>>interact with the shell, even not see the echoed char.). > >>>> > >>>>=20 > >>>> > >>>>Does Xenomai patch the keyb driver? > >>>> > >>>>=20 > >>>> > >>>>(We've seen that on /proc/xenomai/irq, we get the IRQ1 count, but NOT= on=20 > >>>>the /proc/interrupts, as expected). > >>>> > >>>>=20 > >>>> > >>>>Thanks for your help > >>>> > >>>>=20 > >>>> > >>>>Daniel > >>>> > >>>> > >>>>---------------------------------------------------------------------= --- > >>>> > >>>>_______________________________________________ > >>>>Xenomai-help mailing list > >>>>Xenomai-help@domain.hid > >>>>https://mail.gna.org/listinfo/xenomai-help > >>> > >>> > >=20 > >=20 > > _______________________________________________ > > Xenomai-help mailing list > > Xenomai-help@domain.hid > > https://mail.gna.org/listinfo/xenomai-help > >=20 >=20 >=20