Re: raw mouse commands

tropikhajma na seznam.cz tropikhajma na seznam.cz
Čtvrtek Prosinec 22 15:35:39 CET 2005


> ------------ Původní zpráva ------------
> Od: Jiri Kosina <jikos na jikos.cz>
> Předmět: Re: raw mouse commands
> Datum: 22.12.2005 12:34:51
> ----------------------------------------
> On Wed, 21 Dec 2005, David Belohrad wrote:
>
> >             outb (0x64, 0xd4);
> >             outb (0x60, 0xe9);
> > Ten ovsem konci segfaultem na prvni outb instrukci. Proc nefunguje?
>
> Mam pocit ze mate ve volani outb() parametry opacne nez jste zamyslel.
>
> --
> JiKos.

IMHO viz man outb:
You use ioperm(2) or alternatively iopl(2) to tell the kernel to allow the user space application to access the I/O ports in question. Failure to do this will cause the application to receive a segmentation fault.


Další informace o konferenci Linux