home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6907 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.0 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!apple!agate!boulder!ophelia!drew
  2. From: drew@ophelia.cs.colorado.edu (Drew Eckhardt)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: inb and outb
  5. Message-ID: <1992Jul28.214732.2291@colorado.edu>
  6. Date: 28 Jul 92 21:47:32 GMT
  7. References: <1992Jul28.152104.6530@b11.b11.ingr.com>
  8. Sender: news@colorado.edu (The Daily Planet)
  9. Organization: University of Colorado at Boulder
  10. Lines: 12
  11. Nntp-Posting-Host: ophelia.cs.colorado.edu
  12.  
  13. In article <1992Jul28.152104.6530@b11.b11.ingr.com> tracyre@infonode.ingr.com writes:
  14. >I am trying to figure out why linux-0.96c-pl2 does not detect the
  15. >bus-mouse which is connected to my computer.  In order to debug this
  16. >problem, I am trying to write some software which uses inb and outb to
  17. >communicate with the mouse.  Are these routines in a library somewhere
  18. >that I can access?
  19.  
  20. No.  Look at the include files in linux/asm, they have inline functions
  21. for in/out.
  22.  
  23. Note that if you want to use in/out from user space, you'll have to use the 
  24. ioperm() syscall.  Look in kernel/ioport.c.
  25.