Re: Create ttyN

From: Unknown (nope_at_way.cc)
Date: 11/14/05


Date: Mon, 14 Nov 2005 17:07:56 GMT

On Sun, 13 Nov 2005 14:36:48 +0100, Pizza67 wrote:

> Hi.
>
> 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:
>
> console=ttyN
>
> but it doesn't create the specified device in /dev folder.
>
> Do you have any suggestion?
>

> Thanks in advance,
> Pizza67

Did you enable pty support in the kernel config ?

Jon

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
# CONFIG_SERIAL_CONSOLE is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set



Relevant Pages

  • Re: [PATCH] [request for inclusion] Realtime LSM
    ... applications that have the right to get RT scheduling, ... in a way that they cannot on Linux. ... OS X says "we know that running realtime applications matters ... with the kernel is, how LSM makes a solution possible, acknowledged ...
    (Linux-Kernel)
  • Re: If you were in charge of RISC OS...
    ... If you wish to run legacy applications you ... doing, extracting parts of the old Acorn monolithic kernel, transform ... then in to modules and recode them in C, druck... ... I was not talking here about multi cores processors anymore. ...
    (comp.sys.acorn.misc)
  • Re: Network stack cloning / virtualization patches
    ... existing applications as yours appears to be. ... > against 4.8-RELEASE kernel that provide support for network stack ... > the system has to be associated with a virtual image, ...
    (freebsd-hackers)
  • Re: Network stack cloning / virtualization patches
    ... existing applications as yours appears to be. ... > against 4.8-RELEASE kernel that provide support for network stack ... > the system has to be associated with a virtual image, ...
    (freebsd-net)
  • Re: OT: Re: Jobst Brandt vs. Tire Glue
    ... It solved the easy (kernel) ... The "integration of applications" is certainly different if you compare ... knew they couldn't trust m$ not to lock them out of their own web apps. ... and the ankle grippers never join the dots. ...
    (rec.bicycles.tech)