Cannot open /dev/tty0 (No such device)

Daniel.Wyss at securiton.ch Daniel.Wyss at securiton.ch
Thu Jan 11 22:38:37 EST 2007


Hi all,

I am trying to connect on a MPC 885 a Epson display controller (using a
AVNET Evaluation Board).
I already included a frame buffer driver into the Kernel (2.4) that
seems to work fine.
Now i want to run a small X-server (kDrive) on the board but i get in
troubles with the virtual consoles.
When I start the X-server i get the following message.

~ # Xfbdev -screen 320x240x8 -mouse /dev/mouse
Fatal server error:
LinuxInit: Cannot open /dev/tty0 (No such device)



Looking to the /dev/ shows that the device is available
~ # ls -l /dev/tty*
crw-rw-rw-    1 root     root       5,   0 Jan 10  2007 /dev/tty
crw-r-----    1 root     root       4,   0 Jan 10  2007 /dev/tty0
crw-r-----    1 root     root       4,   1 Jan 10  2007 /dev/tty1
crw-r-----    1 root     root       4,   2 Jan 10  2007 /dev/tty2
crw-r-----    1 root     root       4,   3 Jan 10  2007 /dev/tty3
crw--w--w-    1 root     root       3,   0 Jan  1 01:08 /dev/ttyp0
crw-r-----    1 root     root       3,   1 Jan 10  2007 /dev/ttyp1
crw-r-----    1 root     root       3,   2 Jan 10  2007 /dev/ttyp2
crw-r-----    1 root     root       3,   3 Jan 10  2007 /dev/ttyp3


but when I look to

~ # cat /proc/tty/drivers
pty_slave            /dev/ttyp       3   0-255 pty:slave
pty_master           /dev/pty        2   0-255 pty:master
serial               /dev/cua        5      64 serial:callout
serial               /dev/ttyS       4      64 serial
/dev/vc/0            /dev/vc/0       4       0 system:vtmaster
/dev/console         /dev/console    5       1 system:console
/dev/tty             /dev/tty        5       0 system:/dev/tty


I miss the driver entry 
unknown              /dev/tty        4 1-63 console


Does anybody know why the driver for the tty 1-63 is not registered?

Any help welcomed. Thanks in advance.

Daniel

<html>
<body>
<font face = "arial" size = "1">
---------------------------------------------------------------------------------------------------------
This e-mail is confidential and may contain privileged information.
It is intended only for the addressees. If you have received this
e-mail in error, kindly notify us immediately by telephone or e-mail
and delete the message from your system.
---------------------------------------------------------------------------------------------------------
</font>
</body>
</html>



More information about the Linuxppc-embedded mailing list