Re: 2.6.0-test3: extra ttyS in /sys/class/tty

From: Greg KH
Date: Thu Aug 14 2003 - 19:32:55 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/