Re: Create ttyN
From: Unknown (nope_at_way.cc)
Date: Mon, 14 Nov 2005 17:07:56 GMT
On Sun, 13 Nov 2005 14:36:48 +0100, Pizza67 wrote:
> I'm running a linux 2.4.30 kernel on a development platform for STB with a
> MIPS cpu. When the target starts I just have /dev/tty and /dev/console, but
> I need to use virtual consoles to run some applications based on X and SDL.
> So I need to create /dev/tty0, tty1 etc. but if I simply make nodes with:
> mknod ttyN c 4 N
> and I try to
> cat file > ttyN
> I have "no such device" error.
> I also tried to add a command line such as:
> but it doesn't create the specified device in /dev folder.
> Do you have any suggestion?
> Thanks in advance,
Did you enable pty support in the kernel config ?
# Character devices
# CONFIG_SERIAL_CONSOLE is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set