* 2.6.0-test3: extra ttyS in /sys/class/tty
@ 2003-08-14 14:55 Andrey Borzenkov
2003-08-15 0:17 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2003-08-14 14:55 UTC (permalink / raw)
To: linux-kernel
{pts/1}% dmesg | grep ttyS
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS2 at I/O 0xd000 (irq = 9) is a 16550A
{pts/1}% l -d /sys/class/tty/ttyS*
/sys/class/tty/ttyS0/ /sys/class/tty/ttyS1/ /sys/class/tty/ttyS2/
/sys/class/tty/ttyS3/
{pts/1}% cat /sys/class/tty/ttyS*/dev
4:64
4:65
4:66
4:67
not that I find sysfs that useful for cdevs in general but I am just curiouos
- where does it come from?
I have irtty_sir loaded if it matters.
-andrey
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.0-test3: extra ttyS in /sys/class/tty
2003-08-14 14:55 2.6.0-test3: extra ttyS in /sys/class/tty Andrey Borzenkov
@ 2003-08-15 0:17 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-08-15 0:17 UTC (permalink / raw)
To: Andrey Borzenkov; +Cc: linux-kernel
On Thu, Aug 14, 2003 at 06:55:31PM +0400, Andrey Borzenkov wrote:
> {pts/1}% dmesg | grep ttyS
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> ttyS2 at I/O 0xd000 (irq = 9) is a 16550A
>
> {pts/1}% l -d /sys/class/tty/ttyS*
> /sys/class/tty/ttyS0/ /sys/class/tty/ttyS1/ /sys/class/tty/ttyS2/
> /sys/class/tty/ttyS3/
> {pts/1}% cat /sys/class/tty/ttyS*/dev
> 4:64
> 4:65
> 4:66
> 4:67
>
> not that I find sysfs that useful for cdevs in general but I am just curiouos
> - where does it come from?
Someone registered a ttyS3, and they don't have to say they are doing so
in the system log :)
> I have irtty_sir loaded if it matters.
Don't know, does it register a tty driver with the tty core?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-15 0:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-14 14:55 2.6.0-test3: extra ttyS in /sys/class/tty Andrey Borzenkov
2003-08-15 0:17 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®