linux-mips
[Top] [All Lists]

RE: missing /dev/tty0

To: "Yoann Allain" <yallain@avilinks.com>
Subject: RE: missing /dev/tty0
From: "Louis Lai" <louis.lai@entone.com>
Date: Fri, 28 Oct 2005 18:43:31 +0800
Cc: <linuxconsole-dev@lists.sourceforge.net>, <linux-mips@linux-mips.org>
Importance: Normal
In-reply-to: <4361FCEF.30707@avilinks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Yoann,

Thanks for your reply!!
i can create the device file but i still not able to open it.
When i open /dev/tty0, i got "No such device".
Any ideas??

Thanks again,
Louis

-----Original Message-----
From: Yoann Allain [mailto:yallain@avilinks.com]
Sent: Friday, October 28, 2005 6:27 PM
To: Louis Lai
Cc: linuxconsole-dev@lists.sourceforge.net; linux-mips@linux-mips.org
Subject: Re: missing /dev/tty0


Louis Lai a écrit :

>Hi all,
>
>I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel can
>start up properly but the tty0 doesn't exist under /dev. I have already
>enable the virtual console during kernel configuration. is it something
>configure not properly for the kernel?? Anyone can help??
>
>Thanks in advance,
>Louis
>
>
>
Hi Louis,

The problem is that you didn't create the special file /dev/tty0. Create
it with the mknod command :
# mknod /dev/tty0 c 4 0
Then put the good rights, for example:
# chmod 640 /dev/tty0
That should do it...

    Yoann


<Prev in Thread] Current Thread [Next in Thread>