bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xorg, xf86EnableIO() and the VESA driver


From: Samuel Thibault
Subject: Re: Xorg, xf86EnableIO() and the VESA driver
Date: Fri, 12 Mar 2010 16:22:12 +0100
User-agent: Mutt/1.5.12-2006-07-14

Jérémie Koenig, le Fri 12 Mar 2010 10:44:13 +0100, a écrit :
> Bool
> xf86EnableIO()
> {
>     if (ioperm(0, 0x10000, 1)) {
>         FatalError("xf86EnableIO: ioperm() failed (%s)\n", strerror(errno));
>         return FALSE;
>     }
>     ioperm(0x40,4,0); /* trap access to the timer chip */
>     ioperm(0x60,4,0); /* trap access to the keyboard controller */
>     return TRUE;
> }
> 
> Apparently the code in my card's BIOS needs access to both 0x40-0x43
> and 0x60-0x63: if I reenable them manually from within gdb the vesa
> driver works.

Mmm, you may want to check running Xorg with the vesa driver on Linux,
as the Linux port also does that.

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]