public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Leonid Podolny <leonidp.lkml@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] ttySx enumeration
Date: Tue, 26 Jun 2007 11:18:37 +0300	[thread overview]
Message-ID: <4680CBDD.9010002@gmail.com> (raw)

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



             reply	other threads:[~2007-06-26  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26  8:18 Leonid Podolny [this message]
2007-06-27 23:49 ` [gentoo-user] ttySx enumeration Rodrigo Forlin

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=4680CBDD.9010002@gmail.com \
    --to=leonidp.lkml@gmail.com \
    --cc=gentoo-user@lists.gentoo.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