[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.00.0901291342050.15159@fbirervta.pbzchgretzou.qr>
Date: Thu, 29 Jan 2009 13:43:02 +0100 (CET)
From: Jan Engelhardt <jengelh@...ozas.de>
To: Pazzo Da Legare <pazzodalegare@...il.com>
cc: linux-kernel@...r.kernel.org
Subject: Re: how to change serial device<->port association
On Thursday 2009-01-29 12:02, Pazzo Da Legare wrote:
>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?
If you want to access ttyS4, etc. you need to increase
CONFIG_SERIAL_8250_NR_UARTS. I found that using setserial(8)
to change ports for an existing ttyS[0-3] has no effects.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists