Re: rename ttyS*
Sent from my iPhone
On Sep 6, 2013, at 7:50 AM, cosme@esid.gecgr.co.cu wrote:
>
>
> Hi
>
> I have problem with my serial port
>
> With dmseg | grep tty
>
> [ 0.004000] console [tty0] enabled
> [ 1.769854] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [ 1.770070] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [ 1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [ 1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [ 1.772842] 0000:02:02.0: ttyS2 at I/O 0x9400 (irq = 9) is a 16550A
> [ 1.773360] 0000:02:02.1: ttyS3 at I/O 0x9800 (irq = 9) is a 16550A
>
>
> How do change
>
> [ 1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [ 1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
>
> to
>
> [ 1.770721] 00:09: ttyS4 at I/O 0x3f8 (irq = 4) is a 16550A
> [ 1.771023] 00:0a: ttyS5 at I/O 0x2f8 (irq = 3) is a 16550A
>
> It posible resolve with setserial ???
>
> Any example??
>
> please someone to help me
>
You could look at using a udev rule to do the mapping for you.
Reply to: