home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.95 / text4697.txt < prev    next >
Encoding:
Internet Message Format  |  1996-03-31  |  2.6 KB

  1. 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
  2. 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
  3. Received: from gwar.ardi.com by mailhost  with smtp
  4.     (nextstep Smail3.1.29.0 #11) id m0sstIb-000YdaC; Wed, 13 Sep 95 09:00 MDT
  5. Received: by gwar.ardi.com (linux Smail3.1.28.1 #5)
  6.     id m0sstIb-000GVEC; Wed, 13 Sep 95 09:00 MDT
  7. Message-Id: <m0sstIb-000GVEC@gwar.ardi.com>
  8. Date: Wed, 13 Sep 95 09:00 MDT
  9. From: mat@ardi.com (Mat Hostetter)
  10. To: Josh Hildebrand <josh@jedi.net>
  11. Cc: executor@nacm.com
  12. Subject: Re: linux-elf-svgalib
  13. In-Reply-To: <199509130438.XAA00150@rancor.jedi.net>
  14. References: <199509130438.XAA00150@rancor.jedi.net>
  15. Sender: owner-paper@nacm.com
  16. Precedence: bulk
  17.  
  18. >>>>> "Josh" == Josh Hildebrand <josh@jedi.net> writes:
  19.  
  20.     Josh> It pukes on my card..  It's the latest ELF-svgalib version
  21.     Josh> It flips my video modes for a split second and then leaves
  22.     Josh> me with a grey textmode screen, of which I hit a key and it
  23.     Josh> displays the true error messages.
  24.  
  25.     Josh> Unable to initialize svgalib events.
  26.  
  27. That line is the key.  Executor was unable to open either the mouse or
  28. the keyboard with SVGAlib library calls.  The error message should
  29. provide more detailed information about what went wrong; I'll look
  30. into fixing that.
  31.  
  32. Here are some things to try:
  33.  
  34. 1) Make sure you're running as root (you probably are, since graphics
  35.    is working).
  36.  
  37. 2) Make sure you have the latest svgalib (1.27) to be safe.
  38.  
  39. 3) You should make sure that your mouse is properly set up in libvga.config.
  40.  
  41. 4) Make sure /dev/mouse is a symlink to your mouse driver in /dev.
  42.  
  43. 5) Try running the mousetest that comes with svgalib.
  44.  
  45. 6) If all that fails, try quitting all other programs which might be
  46.    using the mouse device (e.g. X windows).
  47.  
  48. Here's the Executor code which is causing the failure you are seeing.
  49. The code fails if it returns FALSE:
  50.  
  51. ----------------------------------------------------------------------
  52.   /* Set up keyboard. */
  53.   keyboard_fd = keyboard_init_return_fd ();
  54.   if (keyboard_fd < 0)
  55.     return FALSE;
  56.  
  57.   /* Set up mouse. */
  58.   mouse_fd = mouse_init_return_fd ("", vga_getmousetype (),
  59.                    MOUSE_DEFAULTSAMPLERATE);
  60.   if (mouse_fd < 0)
  61.     {
  62.       event_shutdown ();  /* De-install keyboard handler. */
  63.       return FALSE;
  64.     }
  65. ----------------------------------------------------------------------
  66.  
  67. Let me know how it goes.  Good luck!
  68.  
  69. -Mat
  70.  
  71.