[Y-devel] Y on fbdev on console

David Lazanja dl256 at columbia.edu
Thu Mar 4 03:48:04 GMT 2004


Hello there,

I'm having trouble starting Y from a console using the fbdev.
>From fbdev.c, it's failing in the following code snippet:

  if (ioctl (data -> ttyfd, VT_ACTIVATE, data -> ttynum) < 0)
  {
    Y_ERROR ("Couldn't activate %s: %s. ttynum=%d\tttyfd=%d", ttypath,
strerror (errno), data->ttynum, data->ttyfd);
    close (data -> ttyfd);
    yfree (videodriver);
    yfree (data);
    return 1;
  }

My framebuffer device is VESA VGA.  The error message in the log is:

Mar  3 22:41:30 l4 Y[3281]: initialise:603: Using fb:/dev/fb0
tty:/dev/tty (0)
Mar  3 22:41:30 l4 Y[3281]: Error: initialise: Couldn't activate
/dev/tty: No such device or address. ttynum=0  ttyfd=5

I don't understand this message since opening the device did not fail.

Thanks for listening.

David Lazanja

-- 
// Department of Applied Physics and Applied Mathematics
// Columbia University




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved