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