[Y-devel] Y over fbdev

Andrew Kaplan nofx_3 at softhome.net
Sun Feb 22 01:34:38 GMT 2004


Yes, you must edit the defualt.conf file (in your case it appears to 
be /usr/local/etc/Y/defualt.conf) so that the line that reads:

LoadModule "driver/video/sdl"

looks like:

LoadModule "driver/video/fbdev"

You may also want to set some options so the line looks like:

LoadModule "driver/video/fbdev" fb=/dev/fb0 tty=/dev/tty8

Where fb= is the framebuffer device you want to use and tty= is the tty you 
want to use. (note to access the tty you may have to be root, check 
your /var/log/syslog if you have problems)

also add the line:

LoadModule "driver/input/evdev"

which should allow your input devices (mouse and keyboard) to work, you may 
run into some problems here with ps/2 devices and the 2.4 kernel.

-kaplanfx
nofx_3 at softhome.net


On Saturday 21 February 2004 01:34 pm, Ahmed Charles wrote:
> How do you get that working? I shutdown X and then run startY and
> nothing happens and the log says:
>
> Y[15246]: configLoad:90: Opening config file: /usr/local/etc/Y/default.conf
>
> And nothing else. Is there a config setting or cl-arg that I'm missing?
>
> Thanks allot.
>
> Ahmed Charles
>
> Brandon Black wrote:
> > Y on SDL on fbdev works too, as another possibility.  I never bothered
> > with the fbdev Y driver, I just used the SDL driver from my text
> > console without X running and let SDL use the framebuffer.
> >
> > Andrew Kaplan wrote:
> >> On Friday 20 February 2004 06:23 am, Alexander Vlasov wrote:
> >>> Greetings.
> >>>
> >>> Y works over SDL just fine, but when I try to run Y over fbdev, I get
> >>> errors:
> >>>
> >>> Y[15246]: configLoad:90: Opening config file:
> >>> /opt/Y2/etc/Y/default.conf
> >>> Y[15246]: initialise:600: Using fb:/dev/fb0 tty:/dev/tty (0)
> >>> Y[15246]: Error: initialise: Couldn't open /dev/tty: No such device or
> >>> address
> >>>
> >>> If I try to set tty & fb by hand (LoadModule "driver/video/fbdev"
> >>> device=/dev/fb0 tty=/dev/tty7 mode=800x600-100), I get following
> >>> errors:
> >>>
> >>> Y[15820]: configLoad:90: Opening config file:
> >>> /opt/Y2/etc/Y/default.conf
> >>> Y[15820]: initialise:600: Using fb:/dev/fb0 tty:/dev/tty7 (7)
> >>> Y[15820]: Error: initialise: Couldn't activate /dev/tty7: Operation not
> >>> permitted
> >>>
> >>> What's wrong with my config?
> >>
> >> First of, hello list.
> >>
> >> Now I know there was a response, but I realized the only way to run
> >> it if you get that message is to run as root.  I set the permissions
> >> correctly, but still think only root can access the tty's directly.
> >>
> >> -kaplanfx
> >> nofx_3 at softhome.net
> >>
> >>
> >> _______________________________________________
> >> Y-devel mailing list
> >> Y-devel at www.y-windows.org
> >> https://www.y-windows.org/mailman/listinfo/y-devel
> >
> > _______________________________________________
> > Y-devel mailing list
> > Y-devel at www.y-windows.org
> > https://www.y-windows.org/mailman/listinfo/y-devel
>
> _______________________________________________
> Y-devel mailing list
> Y-devel at www.y-windows.org
> https://www.y-windows.org/mailman/listinfo/y-devel




More information about the Y-devel mailing list









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