2.6.0-test3: extra ttyS in /sys/class/tty
{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
Quoted 14 lines · Andrey Borzenkov
{pts/1}% dmesg | grep ttyS
ttyS0 at I/O0x3f8(irq = 4) is a 16550A
ttyS1 at I/O0x2f8(irq = 3) is a 16550A
ttyS2 at I/O0xd000(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
Quoted 2 lines
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 :)
Quoted 1 line
I have
irtty_sirloaded if it matters.
Don't know, does it register a tty driver with the tty core?
thanks,
greg k-h