* [gentoo-user] ttySx enumeration
@ 2007-06-26 8:18 Leonid Podolny
2007-06-27 23:49 ` Rodrigo Forlin
0 siblings, 1 reply; 2+ messages in thread
From: Leonid Podolny @ 2007-06-26 8:18 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] ttySx enumeration
2007-06-26 8:18 [gentoo-user] ttySx enumeration Leonid Podolny
@ 2007-06-27 23:49 ` Rodrigo Forlin
0 siblings, 0 replies; 2+ messages in thread
From: Rodrigo Forlin @ 2007-06-27 23:49 UTC (permalink / raw
To: gentoo-user
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-27 23:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-26 8:18 [gentoo-user] ttySx enumeration Leonid Podolny
2007-06-27 23:49 ` Rodrigo Forlin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox