home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 12975 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.9 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: metaylor@vnet.ibm.com (Mark Taylor)
  3. Message-ID: <19930104.093803.989@almaden.ibm.com>
  4. Date: Mon, 4 Jan 93 17:37:46 GMT
  5. Newsgroups: comp.unix.aix
  6. Subject: Re: Is it possible to use HFT input without a display adapter?
  7. Reply-To: metaylor@vnet.ibm.com
  8. Organization: IBM UK Laboratories
  9. Disclaimer: This posting represents the poster's views, not those of IBM
  10. News-Software: UReply 3.1
  11. X-X-From: metaylor@vnet.ibm.com (Mark E Taylor)
  12. References: <23827.9212222002@m1.cs.man.ac.uk>
  13. Lines: 29
  14.  
  15. >... does anyone know how to drive the mouse and keyboard at a
  16. >lower level using /dev/sioms0 and /dev/siokb0 ?  I can't find any
  17. >references to driving the devices at this level in InfoExplorer.
  18. I haven't seen any answer to your posting in the newsgroup yet, so I'll
  19. try to tell you the little I know about the HFT subsystem. (I tried
  20. mailing you directly as you asked, but couldn't resolve your name.)
  21.  
  22. There is no documented interface to the mouse and keyboard devices
  23. directly. The only way to access them is via /dev/hft. That device is
  24. itself only made available if it can configure a sufficient set of
  25. child devices, namely display and keyboard. If there is no display
  26. available, then /dev/hft will not be created.
  27.  
  28. The purpose of the display device driver is essentially to drive the
  29. "character mode" of the HFT. You must have such a driver, even if you
  30. only really intend using an X server on that display. A sample
  31. VDD (Virtual Display Device) is available as part of the "Writing
  32. a Device Driver for AIX 3.2" book from IBM.
  33.  
  34. What you will probably need to do is to write a dummy VDD driver and
  35. its associated configuration method that knows enough only to be
  36. configured successfully. Most of its entry points could even be null.
  37. Once you've done that, you will be able to access the mouse and keyboard
  38. capabilities via /dev/hft.
  39.  
  40. I hope this helps you,
  41. Mark E Taylor
  42. AIX Solution Engineering Services
  43. IBM UK Laboratories, Hursley, England
  44.