Using VESA to restore display settings on resume

Kevin Oberman oberman at es.net
Thu Mar 3 12:57:58 PST 2005


> Date: Thu, 3 Mar 2005 21:55:06 +0800
> From: Rong-En Fan <grafan at gmail.com>
> Sender: owner-freebsd-mobile at freebsd.org
> 
> On Thu, 03 Mar 2005 11:34:12 +0100, Jochen Gensch <incmc at gmx.de> wrote:
> > Rong-En Fan schrieb:
> > 
> > > I use 3/3's current with this patch on IBM TP X31. I can now successfully
> > > suspend/resume in X with dri enable on RADEON! (can't do that before, with
> > > dri, after resume screen mess up). reset_video 0 or 1 both works. It even
> > > works without vesa module loaded. The only problem is that my tracepoint
> > > (psm0) dead after resume.
> > 
> > On my Thinkpad A30p I was able to reactivate my trackpoint after resume
> > by setting hint.psm.0.flags="0x6000" in /boot/device.hints.
> > 
> > Could you tell me more about you resume issues? I have a Radeon Mobility
> > as well an my backlight does not turn off, when going to suspend nuder a
> > normal CURRENT. Did you also use that DPMS patch posted here a while
> > ago, or did you only use that vesa patch?
> > 
> > No other modifications, any sysctls...?
> 
> I have vesa patch and no dpms patch. backlight is not off in suspend.
> The DPMS patch works ago, but it does not work for a few months.
> It is said that you can use xset dpms force off to turn off backlight,
> but i never tried that.
> 
> no other modifications, hw.acpi.reset_video is 0, but 1 also works
> for me.

The DPMS patch is still working for me (although I had to update it for
changes to acpi_video.c).
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634


More information about the freebsd-mobile mailing list