Re: getty problems

From: Lech Szychowski (lech.szychowski@pse.pl)
Date: Mon Aug 06 2001 - 08:45:30 EST


> open("/dev/tty9", O_RDWR|O_NONBLOCK) = -1 ENODEV (No such device)
>
> And yes, I believe I have terminal support compiled in:
>
> /prox/devices says?

2.4.5:
------

 Character devices:
   1 mem
   2 pty/m%d
   3 pty/s%d
   4 tts/%d
   5 cua/%d
   6 lp
   7 vcs
  10 misc
  21 sg
  29 fb
 108 ppp
 109 lvm
 128 ptm
 129 ptm
 136 pts/%d
 137 pts/%d
 162 raw

 /proc/tty/drivers

 serial /dev/cua/%d 5 64-127 serial:callout
 serial /dev/tts/%d 4 64-127 serial
 pty_slave /dev/pts/%d 137 0-255 pty:slave
 pty_master /dev/ptm 129 0-255 pty:master
 pty_slave /dev/pts/%d 136 0-255 pty:slave
 pty_master /dev/ptm 128 0-255 pty:master
 pty_slave /dev/pty/s%d 3 0-255 pty:slave
 pty_master /dev/pty/m%d 2 0-255 pty:master
 /dev/vc/0 /dev/vc/0 4 0 system:vtmaster
 /dev/ptmx /dev/ptmx 5 2 system
 /dev/console /dev/console 5 1 system:console
 /dev/tty /dev/tty 5 0 system:/dev/tty
 unknown /dev/vc/%d 4 1-63 console

2.4.7-ac7:
----------

 /proc/devices

 Character devices:
   1 mem
   2 pty
   3 ttyp
   4 ttyS
   5 cua
   7 vcs
  10 misc
 128 ptm
 136 pts
 162 raw

 /proc/tty/drivers

 serial /dev/cua 5 64-127 serial:callout
 serial /dev/ttyS 4 64-127 serial
 pty_slave /dev/pts 136 0-255 pty:slave
 pty_master /dev/ptm 128 0-255 pty:master
 pty_slave /dev/ttyp 3 0-255 pty:slave
 pty_master /dev/pty 2 0-255 pty:master
 /dev/vc/0 /dev/vc/0 4 0 system:vtmaster
 /dev/ptmx /dev/ptmx 5 2 system
 /dev/console /dev/console 5 1 system:console
 /dev/tty /dev/tty 5 0 system:/dev/tty

-- 
	Leszek.

-- lech7@pse.pl 2:480/33.7 -- REAL programmers use INTEGERS -- -- speaking just for myself... - 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/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:38 EST