Gentoo Archives: gentoo-user

From: Leonid Podolny <leonidp.lkml@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ttySx enumeration
Date: Tue, 26 Jun 2007 08:25:03
Message-Id: 4680CBDD.9010002@gmail.com
1 Hi, all,
2 I lack some background to debug this issue.
3 I have two serial ports on my box. Naturally, I would expect them to be
4 ttyS0 and ttyS1. Indeed, dmesg shows the following:
5
6 [snip]
7 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
8 pnp: Device 00:06 activated.
9 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
10 pnp: Device 00:07 activated.
11 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
12 [snip]
13
14 However, the actual nodes that udev (or hotplug?) creates are:
15
16 [snip]
17 vyhuhol ~ # ls -l /dev/ttyS*
18 crw-rw---- 1 root uucp 4, 66 2007-06-26 09:04 /dev/ttyS2
19 crw-rw---- 1 root uucp 4, 67 2007-06-26 09:04 /dev/ttyS3
20 [snip]
21
22 Needless to say, I'm unable to communicate with the port unless I
23 manually mknod ttyS0 with minor 64.
24 The question is: how do I make hotplug (or udev?) enumerate them
25 correctly, as ttyS0 and ttyS1?
26
27 --
28
29
30
31
32 ------------------------------------------------------------------------
33 Leonid Podolny | /"\
34 | \ / ASCII Ribbon Campaign
35 leonidp(at)gmail.com | x Against HTML Mail
36 +972-52-4781423 | / \
37 ------------------------------------------------------------------------
38 PGP fingerprint: 51B2 F1DB 485E 2C48 2E17 94D1 7EC4 E524 B156 B9F0
39 PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB156B9F0
40 ------------------------------------------------------------------------
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] ttySx enumeration Rodrigo Forlin <forlin@×××××.com>