home *** CD-ROM | disk | FTP | other *** search
Wrap
Received: from sloth.swcp.com (sloth.swcp.com [198.59.115.25]) by nacm.com (8.6.10/8.6.9) with ESMTP id IAA17135 for <executor@nacm.com>; Wed, 13 Sep 1995 08:01:39 -0700 Received: from iclone.UUCP (uucp@localhost) by sloth.swcp.com (8.6.9/8.6.9) with UUCP id JAA09667; Wed, 13 Sep 1995 09:01:33 -0600 Received: from gwar.ardi.com by mailhost with smtp (nextstep Smail3.1.29.0 #11) id m0sstIb-000YdaC; Wed, 13 Sep 95 09:00 MDT Received: by gwar.ardi.com (linux Smail3.1.28.1 #5) id m0sstIb-000GVEC; Wed, 13 Sep 95 09:00 MDT Message-Id: <m0sstIb-000GVEC@gwar.ardi.com> Date: Wed, 13 Sep 95 09:00 MDT From: mat@ardi.com (Mat Hostetter) To: Josh Hildebrand <josh@jedi.net> Cc: executor@nacm.com Subject: Re: linux-elf-svgalib In-Reply-To: <199509130438.XAA00150@rancor.jedi.net> References: <199509130438.XAA00150@rancor.jedi.net> Sender: owner-paper@nacm.com Precedence: bulk >>>>> "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