Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2008 10:16:32 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        =?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?= <horst@sxemacs.org>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: [Fwd: X hassles - "Device not found"]
Message-ID:  <48F75AD0.2000304@freebsd.org>
In-Reply-To: <1224170091.10591.25.camel@horst-tla>
References:  <1224067336.10591.17.camel@horst-tla> <48F5E51B.7020207@freebsd.org> <1224170091.10591.25.camel@horst-tla>

next in thread | previous in thread | raw e-mail | index | archive | help
Horst Günther Burkhardt III wrote:
> On Wed, 2008-10-15 at 06:42 -0600, Peter Grehan wrote:
>> Hi Horst,
>>
>>> (WW) xf86EnableIO 5
>>> (II) xf86EnableIO: ffffffff
>>> (WW) Can't map IO space!
>>   Try a 'sysctl hw.ofwfb.relax_mmap=1' before starting X. The Xorg ATI 
>> driver attempts to mmap more memory than the card reports, and the OFW 
>> syscons driver thinks this is an error.
>>
>>   However, since X hasn't fixed this in years now, it's probably time to 
>> remove the check since every user trips up on it :(
> 
> sysctl trick worked.
> 
> Next problem is "fbdevhw".
> 
> Error log: 
> 
> (EE) R128: Failed to load module "fbdevhw" (module does not exist, 0)
> (EE) Screen(s) found, but none have a usable configuration.

There is a configuration knob in the xorg.conf file you need to set:
  Option     "UseFBDev"                   "off"

> Also, is there a way to make 'sysctl hw.ofwfb.relax_mmap=1' happen on
> startup, or be the default state?

See sysctl.conf(5).

> (Further question, anyone had luck getting ACPI Suspend or display sleep
> to work with macs?)

There is no suspend support on macs, and may never be. We could probably 
at least add cpufreq support, though. DPMS (display sleep) should work fine.
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48F75AD0.2000304>