mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pazzo Da Legare <pazzodalegare@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: NEWBIE: how to change serial device<->port association
Date: Thu, 29 Jan 2009 12:02:49 +0100	[thread overview]
Message-ID: <1a26b4920901290302w5c9bb79cra29fda5e67cc96a4@mail.gmail.com> (raw)

Dear ML,

how can I instruct the kernel (if possible) to map a certain serial
port to a specific device ttySx?
I have 4 16550 ports and kernel ( the driver, I suppose) say to me:

Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a NS16550A
serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a NS16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0b: ttyS2 at I/O 0x3e8 (irq = 10) is a NS16550A
00:0c: ttyS3 at I/O 0x2e8 (irq = 11) is a NS16550A

I would like to change the map ttySx -> I/O port. I try with setserial
but it doesn't work....Any clue?

TIA

p

             reply	other threads:[~2009-01-29 11:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29 11:02 Pazzo Da Legare [this message]
2009-01-29 12:43 ` Jan Engelhardt
2009-01-29 12:54   ` Oliver Neukum
2009-01-29 15:04     ` Pazzo Da Legare
2009-01-29 13:45 ` NEWBIE: " Alan Cox
2009-01-29 14:16   ` Pazzo Da Legare
2009-01-29 16:06     ` Alan Cox
2009-01-29 16:22       ` Jiri Kosina
2009-01-29 16:34         ` Alan Cox
2009-01-29 16:38           ` Pazzo Da Legare

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=1a26b4920901290302w5c9bb79cra29fda5e67cc96a4@mail.gmail.com \
    --to=pazzodalegare@gmail.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®