Re: 8.0-BETA3: ACPI resume fails

From: Brandon Gooch <jamesbrandongooch_at_gmail.com>
Date: Fri, 4 Sep 2009 18:15:52 -0500
On Fri, Sep 4, 2009 at 4:30 PM, Boris Hollas<boris.hollas_at_gmx.de> wrote:
> I've installed 8.0-BETA3 without X on a Fuji-Siemens Lifebook E8110.
>
> I observed the following while testing sleep mode:
>
> 1) Test 1
> - I invoked
>  # zzz
> - Screen and HD were switched off.
> - I pressed "On".
> - HD was switched on, but screen remained blank. The system didn't react to
> typing "reboot".
>
> 2) Test 2
> I loaded acpi_fujitsu and repeated test 1 with the same result.
>
> 3) Test 3
> I compiled a kernel without firewire support and excluded many unnecessary
> drivers. I repeated test 1 with the same result.
>
> 4) Test 4
> With the kernel from 3), I entered
> # sysctrl acpi.hw.reset_video=1
> and repeated test 1 with the same result.
>
>
> Sleep mode works with Debian Lenny.
>
> Resume also failed with both 7.2-R and 8.0-BETA3 on an old Thinkpad A30p.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>

On my ThinkPad X300 (with Intel GM965 SVGA Controller), I have to load
i915.ko from /boot/loader.conf or via kldload(8) to suspend/resume
from console. Otherwise, I run X.org and use the /etc/rc.suspend and
/etc/rc.resume scripts to invoke vidcontrol(1), switching to ttyv1
before suspend, and switching back to ttyv9 (X.org) after resume. This
is the only way I can "reliably" use suspend/resume.

>From /etc/rc.suspend:
...
/usr/sbin/vidcontrol -s 1 < /dev/console
...

>From /etc/rc.resume:
...
/usr/sbin/vidcontrol -s 9 < /dev/console

-Brandon
Received on Fri Sep 04 2009 - 21:15:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC