[Y-devel] Y on fbdev on console

David Lazanja dl256 at columbia.edu
Thu Mar 4 17:20:05 GMT 2004


On Wed, 2004-03-03 at 22:48, David Lazanja wrote:
> 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'm replying to my own message with the hope that this information will
be useful for anybody searching the y-devel archives.

I believe I found the problem from reading
"[Y-devel] fbdev problems".

In my configuration file I needed to start to specify a different
tty device like:

LoadModule "driver/video/fbdev" fb=/dev/fb0 tty=/dev/tty8
mode=1024x768-60

.  I only had

LoadModule "driver/video/fbdev"

.  Maybe the wiki faq could be updated to make this more clear.

Now Y starts on /dev/tty8, but there is a display problem.
The screen has
vertical yellow lines and the mouse pointer is stuck in the upper left
corner.  This happens under kernels 2.4.21 and 2.6.3.  Maybe it has
something to do with my video card. It's an
ATI 3D Rage P/M Mobility AGP 2x on a Compaq Presario 1700.

Some thoughts/help would be very appreciated.

Thanks.

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