All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] kernel configuration problems with ACPI
Date: Tue, 26 Feb 2013 20:56:06 +0100	[thread overview]
Message-ID: <512D1356.4060004@web.de> (raw)
In-Reply-To: <512D014D.8020208@xenomai.org>

On 2013-02-26 19:39, Gilles Chanteperdrix wrote:
> On 02/26/2013 01:18 PM, Jan Kiszka wrote:
> 
>> On 2013-02-26 13:12, Gilles Chanteperdrix wrote:
>>> On 02/26/2013 11:01 AM, hahnchristopher@arcor.de wrote:
>>>
>>>> On 02/19/2013 6:56 PM,  Gilles Chanteperdrix wrote:
>>>>> On 02/19/2013 01:52 PM, Christopher Hahn wrote:
>>>>>
>>>>>> Do you have any idea how to solve the problem?
>>>>>> Even if the system receives interrupts at IRQ 4, the program doesn't 
>>>>>> receive any message from the serial port with this kernel configuration.
>>>>>
>>>>>
>>>>> Trying to register the irq handler as level instead of edge?
>>>>>
>>>>> -- 
>>>>>                                                                 Gilles.
>>>>>
>>>>
>>>> I removed the 'RTDM_IRQTYPE_EDGE' from ksrc/drivers/serial/16550A.c at line 123.
>>>>
>>>> Now I get 'Xenomai: xnintr_shirq_handler: IRQ4 not handled. Disabling IRQ line.'
>>>
>>>
>>> Jan, any idea?
>>
>> Not really. If there is an IRQ and the UART says "not for me", either
>> the UART is buggy or someone else injects on that line.
> 
> 
> Or we are handling the irq as edge triggered whereas it is level
> triggered. Is not there an RTDM_IRQTYPE_LEVEL instead of RTDM_IRQTYPE_EDGE?

Level is default, ie. the absence of EDGE will choose it.

I noticed that the kernel considers this line level triggered. It's
unusual. Still, the change above should have solved it then if that was
the problem. I-pipe picks up the type from Linux, thus should mask&ack
the line properly. RTDM_IRQTYPE_EDGE just avoids loosing edge events by
selecting the shirq_handler.

Jan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130226/0c6c29fe/attachment.pgp>

      reply	other threads:[~2013-02-26 19:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 12:12 [Xenomai] kernel configuration problems with ACPI hahnchristopher
2013-02-14 12:17 ` Christopher Hahn
2013-02-14 12:20   ` Gilles Chanteperdrix
2013-02-14 12:58     ` Christopher Hahn
2013-02-14 19:25       ` Gilles Chanteperdrix
2013-02-15  8:34         ` Christopher Hahn
2013-02-15 12:14           ` Gilles Chanteperdrix
2013-02-15 13:38             ` Christopher Hahn
2013-02-19 12:52               ` Christopher Hahn
2013-02-19 17:56                 ` Gilles Chanteperdrix
2013-02-26 10:01                   ` hahnchristopher
2013-02-26 12:12                     ` Gilles Chanteperdrix
2013-02-26 12:18                       ` Jan Kiszka
2013-02-26 18:39                         ` Gilles Chanteperdrix
2013-02-26 19:56                           ` Jan Kiszka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=512D1356.4060004@web.de \
    --to=jan.kiszka@web.de \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.