lkml.org 
[lkml]   [2003]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.0-test3: extra ttyS in /sys/class/tty
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.066 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site