Re: Resume broke after upgrading Squeeze in my T61
Andrew Malcolmson <andmalc@gmail.com> writes:
> Did you ever figure this out? My T61 has between 2 and 4 weeks ago
> stopped restoring from hibernation but instead does a normal reboot.
>
Well, I got it working but I don't know yet why :)
It appears that pm-suspend "loses" one of the required quirks even
though they are in correctly set both in hal AND in
/usr/lib/pm-utils/video-quirks/20-video-quirk-pm-lenovo.quirkdb
My solution is to add manual settings in
/etc/hal/fdi/information/99local.fdi:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="system.hardware.vendor" string="LENOVO">
<match key="system.hardware.product" prefix="64576DG">
<merge key="power_management.quirk.vbe_post" type="bool">true</merge>
<merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
</match>
</match>
</device>
</deviceinfo>
/etc/pm/config.d/99local:
ADD_PARAMETERS="--quirk-vbe-post --quirk-vbemode-restore --quirk-test"
The --quirk-test is required - otherwise one really needed quirk
disappears.
I'm really not certain that this would have worked without today's
dist-upgrade (which updated devicekit-power, libdevkit-power-gobject1,
libupower-glib1, upower, acpi-support-base and acpi-support) :| I think
I tried doing 'pm-suspend --quirk-vbe-post --quirk-vbemode-restore
--quirk-test' from command line several times before but somehow it
started to work today.
--
Perttu Muurimäki
perttu.muurimaki@iki.fi
Reply to: