linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Eric Valette <eric.valette@free.fr>
Cc: linux-serial@vger.kernel.org
Subject: Re: ST16C554 Serial device driver
Date: Tue, 21 Sep 2004 13:54:14 +0100	[thread overview]
Message-ID: <20040921135414.C16836@flint.arm.linux.org.uk> (raw)
In-Reply-To: <4150200F.7020407@free.fr>; from eric.valette@free.fr on Tue, Sep 21, 2004 at 02:35:27PM +0200

On Tue, Sep 21, 2004 at 02:35:27PM +0200, Eric Valette wrote:
> Russell King wrote:
> > What is the result of an autodetect at the correct address?  What are
> > the commands you're issuing to tell the kernel where this port is?
> > Do you get any kernel messages, and what are they?
> 
> What is more suspect is the 0x287 (0x2a7) and register address that is 
> described in the manufacturer documentation of the PC104 board that says 
> : "When the same IRQ is shared by the 4 ports, the card uses 2 registers 
> at 287H, one to valid the interrupts and the other to read back the 4 
> interrupt status". The attached pictures gives the signification of the 
> register.

Ok the above shouldn't be a problem.

> regarding configuration I basically said :
> 	setserial /dev/ttyS2 port 0x280 irq 10 autoconfig
> 
> (same with the four ports) and
> 
> 	setserial /dev/ttyS6 port 0x2a0 irq 11 autoconfig
> 
> (same with the four ports)

Can you run:

	setserial -bav /dev/ttyS2

so we can see what the kernel has done?

Do you get any kernel messages, either when you ask it to do the
autoconfig or when you try to use the port(s)?

In addition, looking at /proc/tty/driver/serial and /proc/interrupts
may provide some extra information, especially the before and after
sending characters.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

  reply	other threads:[~2004-09-21 12:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-21 10:40 ST16C554 Serial device driver Eric Valette
2004-09-21 11:08 ` Roman Kurakin
2004-09-21 12:09 ` Russell King
2004-09-21 12:35   ` Eric Valette
2004-09-21 12:54     ` Russell King [this message]
2004-09-21 13:13       ` Eric Valette
2004-09-21 13:47         ` Eric Valette
2004-09-22 11:51     ` Eric Valette

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=20040921135414.C16836@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=eric.valette@free.fr \
    --cc=linux-serial@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).