Using VESA to restore display settings on resume

Rong-En Fan grafan at gmail.com
Thu Mar 3 05:52:49 PST 2005


On Thu, 3 Mar 2005 05:33:12 -0500, Anish Mistry <mistry.7 at osu.edu> wrote:
> On Wednesday 02 March 2005 10:44 pm, Rong-En Fan wrote:
> > 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.
> >
> Does adding the following to your /boot/device.hints to fix the mouse
> resume issue:
> hint.psm.0.flags="0x3000"

Yes, thanks. And in fact, 0x2000 works :)
BTW, 0x2000 is PSM_HOOKRESUME in kernel conf.

Regards,
rafan


More information about the freebsd-mobile mailing list