home *** CD-ROM | disk | FTP | other *** search
- >>>>> "Josh" == Josh Hildebrand <josh@jedi.net> writes:
-
- Josh> It pukes on my card.. It's the latest ELF-svgalib version
- Josh> It flips my video modes for a split second and then leaves
- Josh> me with a grey textmode screen, of which I hit a key and it
- Josh> displays the true error messages.
-
- Josh> Unable to initialize svgalib events.
-
- That line is the key. Executor was unable to open either the mouse or
- the keyboard with SVGAlib library calls. The error message should
- provide more detailed information about what went wrong; I'll look
- into fixing that.
-
- Here are some things to try:
-
- 1) Make sure you're running as root (you probably are, since graphics
- is working).
-
- 2) Make sure you have the latest svgalib (1.27) to be safe.
-
- 3) You should make sure that your mouse is properly set up in libvga.config.
-
- 4) Make sure /dev/mouse is a symlink to your mouse driver in /dev.
-
- 5) Try running the mousetest that comes with svgalib.
-
- 6) If all that fails, try quitting all other programs which might be
- using the mouse device (e.g. X windows).
-
- Here's the Executor code which is causing the failure you are seeing.
- The code fails if it returns FALSE:
-
- ----------------------------------------------------------------------
- /* Set up keyboard. */
- keyboard_fd = keyboard_init_return_fd ();
- if (keyboard_fd < 0)
- return FALSE;
-
- /* Set up mouse. */
- mouse_fd = mouse_init_return_fd ("", vga_getmousetype (),
- MOUSE_DEFAULTSAMPLERATE);
- if (mouse_fd < 0)
- {
- event_shutdown (); /* De-install keyboard handler. */
- return FALSE;
- }
- ----------------------------------------------------------------------
-
- Let me know how it goes. Good luck!
-
- -Mat
-
-