Using VESA to restore display settings on resume

Anish Mistry mistry.7 at osu.edu
Thu Mar 3 02:29:16 PST 2005


On Wednesday 02 March 2005 10:44 pm, Rong-En Fan wrote:
> On Mon, 28 Feb 2005 20:26:16 +0000, Ian Dowse <iedowse at maths.tcd.ie> 
wrote:
> > I've updated the patch at
> >
> >         http://people.freebsd.org/~iedowse/vesa_restore.diff
> >
> > so that the VESA code allows up to 8k of state storage and will
> > fail if the BIOS claims to need more space. Could you try this
> > with the vesa module loaded and with both 0 and 1 for
> > hw.acpi.reset_video?
>
> 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"


-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20050303/21a1471d/attachment.bin


More information about the freebsd-mobile mailing list