public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rodrigo Forlin <forlin@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ttySx enumeration
Date: Wed, 27 Jun 2007 20:49:03 -0300	[thread overview]
Message-ID: <4682F76F.2010906@gmail.com> (raw)
In-Reply-To: <4680CBDD.9010002@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1153 bytes --]

Leonid Podolny wrote this:
> 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?
> 

 I had this kind of problem some weeks ago. I resolved it rmmod'ing
8250_pnp and 8250, sleeping 1 and modprobing them again in local.start.

I know it wasn't a nice solution, but it worked for me.


[-- Attachment #1.2: forlin.vcf --]
[-- Type: text/x-vcard, Size: 241 bytes --]

begin:vcard
fn:Rodrigo Forlin
n:Forlin;Rodrigo
email;internet:forlin@gmail.com
tel;cell:+551194952922
note;quoted-printable:Linux registered user # 226673=0D=0A=
	http://counter.li.org/
x-mozilla-html:FALSE
version:2.1
end:vcard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

      reply	other threads:[~2007-06-27 23:59 UTC|newest]

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

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=4682F76F.2010906@gmail.com \
    --to=forlin@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