From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 26 15:41:16 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3DDD334A for ; Thu, 26 Jun 2014 15:41:16 +0000 (UTC) Received: from nm18-vm1.access.bullet.mail.gq1.yahoo.com (nm18-vm1.access.bullet.mail.gq1.yahoo.com [216.39.63.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0AC1626D0 for ; Thu, 26 Jun 2014 15:41:15 +0000 (UTC) Received: from [216.39.60.173] by nm18.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Jun 2014 15:38:35 -0000 Received: from [98.138.226.241] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Jun 2014 15:38:35 -0000 Received: from [127.0.0.1] by smtp112.sbc.mail.ne1.yahoo.com with NNFMP; 26 Jun 2014 15:38:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1403797115; bh=lwrl/nI1NoDplvHXciBGorr6Vhv67x1DgK9dV5ZD77I=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=0tNJI4rknhTe/o41sGWk7yvcNglqXXd6TA5CMJ2jWp2d6f9UBO6RtCk/25bSHEl8N50mzVjW/vTb62LzjP+ww3bqOVdOmZWmzku9H09DeGNWnqDYIHxmt9Vq/hLz6QJBG61u0/qQ0vbzbGvPhZQmtN1OXlrjd1CoH853x4Yz/So= X-Yahoo-Newman-Id: 162926.99830.bm@smtp112.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: E3ioImcVM1meqdI8HJN.t7Z9brBRydHuklLykOUbI1PWM12 G9I9kgxWrZaAKQlE8ZomHT1tvck6q6.yatedZJiI5YewrLe6At4jxg89Fomy h6Detd8SPo0j6UrWy.JLU7N6OnB0tBAjhp8tK8iOqQlDKPEwokWq8B1wlEK0 Ka2cmRR5kEEKBikHHHfImpkS8HfHaZXmi1y5o7FSBK7dWHXvhZ2HQ_JWvXj4 PaLJyxs4FBdMYoIr3jpj_dmJTtnt0VCj397NCuBjg_wBJOoPanbxK3EKaypK YmwUGo6xFJwUp4H4VDFvLGTA5RhyR1W_tviN52TMPWP0DtVvoCUnWbaXdPnr DJNUkkfyXsRdfldysEztSgo9iSpQIRmCA0D9w5KmHNkai8etoSqDity62wlT Kw1WB0RwIX.3zEAfTMZUTeYVKOUEYyjEh_BjpHqoNCEaraHeibYcOJcJhANW UCzCaJ8FDedoiiB0ry_785wKiDwe1I1Fw_0OX7N.DIiR5q9NkzitSYW34N0L PIHWMWh41BE4uj3ImJHsbK7q2D1cOoOa7X_P1NQO.lKEF4EDia5tSQE5EN3C Q0Q0.NA-- X-Yahoo-SMTP: OKD1keCswBBTAmAF1s00hLyKW3wE3YfSK0Eazl6b4VZG4LTqJxg- X-Rocket-Received: from [10.82.232.78] (Anthony.B.Jenkins@64.102.254.33 with plain [98.138.84.52]) by smtp112.sbc.mail.ne1.yahoo.com with SMTP; 26 Jun 2014 08:38:35 -0700 PDT Message-ID: <53AC3E79.9000708@att.net> Date: Thu, 26 Jun 2014 11:38:33 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Bykov Vladislav , freebsd-acpi@freebsd.org Subject: Re: Impossible shutdown References: <20140625222911.GA34447@hellgate.Dlink> <53AC07A3.7070904@att.net> <20140626152358.GA2205@hellgate.Dlink> In-Reply-To: <20140626152358.GA2205@hellgate.Dlink> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 15:41:16 -0000 On 06/26/2014 11:23, Bykov Vladislav wrote: > On Thu, Jun 26, 2014 at 07:44:35AM -0400, Anthony Jenkins wrote: >> Here's a case where my patch to implement the SystemCMOS region handler >> should help; it allows my HP Envy to power down and allows it to >> suspend/resume except the LCD backlight doesn't come back when resuming. >> Biggest problem with the patch IMHO is I'm stealing ("borrowing") from the >> real time clock (RTC) I/O region, but I don't think we have an "actual" >> FreeBSD driver for that. > Thanks, everyting works fine now. Even suspend, except my video driver > (xf86-video-intel) that goes mad, and after resume everything is laggy. Hooray! Maybe I can shove it into -CURRENT... > info: [drm] Changing LVDS panel from (+hsync, -vsync) to (-hsync, -vsync) > info: [drm] Changing LVDS panel from (-hsync, -vsync) to (+hsync, -vsync) > error: [drm:pid1170:intel_lvds_enable] *ERROR* timed out waiting for panel to power off > > By the way, I've tried all suspend types, but only this correctly resume > the system: > > /etc/rc.suspend apm 1 That's wierd (and also not weird).../etc/rc.suspend (at least on my -CURRENT r267519) doesn't even appear to use the '1' argument, and it's just calling /usr/sbin/zzz with the 'apm' argument (which I believe still does an ACPI suspend). My patch is an ACPI patch anyway. People on this list have been wrangling with the Intel driver, there might be fixes for what you're seeing. Anthony > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" >