Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: rolf liu <rolfliu@gmail.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-mips@linux-mips.org
Subject: Re: can't find interrupt number under /proc/interrupts for the pci multi-port on db1550
Date: Tue, 28 Jun 2005 12:01:26 -0700	[thread overview]
Message-ID: <2db32b72050628120154cb669@mail.gmail.com> (raw)
In-Reply-To: <1119981143.32369.26.camel@localhost.localdomain>

Thanks for your help.
I tried your script. the result is really interesting.
the interrupt is still shown as 0 times. I even hacked into the do_IRQ
and handle_IRQ_event, let them printk if there is a interrupt number 2
coming in. Still no printk output through klogd logfile. more
interesting thing is there is a timer on the multi-port board, which
is keeping time-out and keeping the timer interrupt up.

Is that possible the board is not enabled to interrupt correctly?
really a pain. I just got the driver from the company. don't know what
is the start point if I want to really dig into the hardware control
of the board.

thanks

 



On 6/28/05, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Maw, 2005-06-28 at 17:30, rolf liu wrote:
> > but the number of interrupts for that driver is always 0, which seems
> > not OK. I am wondering if such interrupt is routed to somewhere else?
> 
> I'd expect it to stay zero unless characters were received or events
> occurred. Something like
> 
>   (echo "Hello world"; cat ) <> /dev/ttywhatever
> 
> ought to cause interrupts
> 
> [That bit of script writes Hello world to the serial port and then
> copies anything from it back to it until you hit ^C]
> 
>

  reply	other threads:[~2005-06-28 19:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28  0:06 can't find interrupt number under /proc/interrupts for the pci multi-port on db1550 rolf liu
2005-06-28  8:16 ` Jon Anders Haugum
2005-06-28 14:56   ` rolf liu
2005-06-28 15:09   ` rolf liu
2005-07-05 19:43   ` rolf liu
2005-06-28 13:44 ` Alan Cox
2005-06-28 16:30   ` rolf liu
2005-06-28 17:52     ` Alan Cox
2005-06-28 19:01       ` rolf liu [this message]
2005-06-28 21:15 ` Ralf Baechle
2005-06-29 22:20   ` rolf liu
2005-06-30 10:07     ` Ralf Baechle

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=2db32b72050628120154cb669@mail.gmail.com \
    --to=rolfliu@gmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-mips@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox