From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1I36MA-00007P-Up for garchives@archives.gentoo.org; Tue, 26 Jun 2007 08:25:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l5Q8NlHp025742; Tue, 26 Jun 2007 08:23:47 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l5Q8Je55021049 for ; Tue, 26 Jun 2007 08:19:41 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6488364A0C for ; Tue, 26 Jun 2007 08:19:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: 0.663 X-Spam-Level: X-Spam-Status: No, score=0.663 required=5.5 tests=[AWL=0.336, RCVD_IN_NJABL_PROXY=0.327] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W3w2uHhVMtG0 for ; Tue, 26 Jun 2007 08:19:38 +0000 (UTC) Received: from mtaout4.012.net.il (mtaout4.012.net.il [84.95.2.10]) by smtp.gentoo.org (Postfix) with ESMTP id 5D50F64F31 for ; Tue, 26 Jun 2007 08:19:38 +0000 (UTC) Received: from [192.168.2.100] ([84.94.14.42]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0JK800JUOI77LUC0@i_mtaout4.012.net.il> for gentoo-user@gentoo.org; Tue, 26 Jun 2007 11:28:23 +0300 (IDT) Date: Tue, 26 Jun 2007 11:18:37 +0300 From: Leonid Podolny Subject: [gentoo-user] ttySx enumeration X-012-Sender: leonid99@012.net.il To: gentoo-user@lists.gentoo.org Message-id: <4680CBDD.9010002@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.1 User-Agent: Thunderbird 2.0.0.4 (X11/20070604) X-Archives-Salt: d3ba27bf-b933-4cc9-8afc-d95e1b65baab X-Archives-Hash: 1d19afd2b1be7e489fb8aed5be50e68b Hi, all, I lack some background to debug this issue. I have two serial ports on my box. Naturally, I would expect them to be ttyS0 and ttyS1. Indeed, dmesg shows the following: [snip] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled pnp: Device 00:06 activated. 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A pnp: Device 00:07 activated. 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [snip] However, the actual nodes that udev (or hotplug?) creates are: [snip] vyhuhol ~ # ls -l /dev/ttyS* crw-rw---- 1 root uucp 4, 66 2007-06-26 09:04 /dev/ttyS2 crw-rw---- 1 root uucp 4, 67 2007-06-26 09:04 /dev/ttyS3 [snip] Needless to say, I'm unable to communicate with the port unless I manually mknod ttyS0 with minor 64. The question is: how do I make hotplug (or udev?) enumerate them correctly, as ttyS0 and ttyS1? -- ------------------------------------------------------------------------ Leonid Podolny | /"\ | \ / ASCII Ribbon Campaign leonidp(at)gmail.com | x Against HTML Mail +972-52-4781423 | / \ ------------------------------------------------------------------------ PGP fingerprint: 51B2 F1DB 485E 2C48 2E17 94D1 7EC4 E524 B156 B9F0 PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB156B9F0 ------------------------------------------------------------------------ -- gentoo-user@gentoo.org mailing list