From owner-freebsd-current@FreeBSD.ORG Fri Sep 4 23:15:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FFE31065679 for ; Fri, 4 Sep 2009 23:15:53 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 00D618FC0C for ; Fri, 4 Sep 2009 23:15:52 +0000 (UTC) Received: by ewy4 with SMTP id 4so1321346ewy.36 for ; Fri, 04 Sep 2009 16:15:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lQBh8rqjd64SjZY9A+18X8xX+CGnsyVTohVmfatOYEo=; b=go4Zr7D4z4KdYoH3j86B5UoCS0RHm3zo3angeTWfjEXuBIxV/zIFobUsjZ2Qyh4rLe V4MVc3UlpDnMh2ONuV/NAOFzqjAc5MZWOt9wx690kHTXh/24ylYf6DERzY+O1h90DeNB p0RvBW5ROaEuIUhBdxYDBuIHhgSLo/eVbqi5s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=X60Wstrs2n+ZV8lDowTQa7YpX1SPTAL9UHS0eYT9yQ5klkuT6gZTCFaeY//E1cGALb 6YqIQ5vi4Yh7GfugcNkd8bi91RtQk3YCQ79jk7iNmPEpU54jE4dQ5EYHF59xY78hgkfL uXS2N74B7Juh32hWB6i2t130uB4YFMkwVll4Q= MIME-Version: 1.0 Received: by 10.211.143.14 with SMTP id v14mr1040111ebn.99.1252106152068; Fri, 04 Sep 2009 16:15:52 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Sep 2009 18:15:52 -0500 Message-ID: <179b97fb0909041615qa3f4a80ld669663769df5b62@mail.gmail.com> From: Brandon Gooch To: Boris Hollas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: 8.0-BETA3: ACPI resume fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 23:15:53 -0000 On Fri, Sep 4, 2009 at 4:30 PM, Boris Hollas 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 > =A0# 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 unnecessar= y > drivers. I repeated test 1 with the same result. > > 4) Test 4 > With the kernel from 3), I entered > # sysctrl acpi.hw.reset_video=3D1 > 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@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