[PATCH] Fix Macbook Addon to work after resume

Martin Szulecki compiz at sukimashita.com
Fri Jun 1 15:51:18 PDT 2007


I was finally able to get suspend to ram working on my Macbook
(non-Pro).

In order to make it work (it appears this is required on latest Xorg and
intel drivers) I had to change the currently set quirk from
"vbestate_restore" (causing system freeze on resume) to
"vbemode_restore" (flawless).

However, without restoring the state, it appears some registers come up
reset to zero which makes the addon refuse to work.

I attached a tiny patch to fix the addon to work even after a
suspend/resume.

If anyone else is able to verify that "vbemode_restore" is enough on the
Macbook it might be good to change the appropriate fdi file aswell?

   Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-macbook-fix-backlight-control-after-resume.patch
Type: text/x-patch
Size: 716 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070602/a445c764/attachment.bin 


More information about the hal mailing list