From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 4 10:46:50 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79F461065674 for ; Wed, 4 Jul 2012 10:46:50 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id F1C008FC08 for ; Wed, 4 Jul 2012 10:46:49 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id q64Akghu004363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 4 Jul 2012 12:46:42 +0200 Received: from portgus.lan ([147.83.40.234]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id q64AkfU1025005 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 4 Jul 2012 12:46:41 +0200 Message-ID: <4FF41F15.1030802@entel.upc.edu> Date: Wed, 04 Jul 2012 12:46:45 +0200 From: =?ISO-8859-1?Q?Gustau_P=E9rez_i_Querol?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120620 Thunderbird/13.0.1 MIME-Version: 1.0 To: matt References: <4FE99A6A.30809@entel.upc.edu> <4FF25B3F.3040704@gmail.com> <4FF29521.3010106@entel.upc.edu> In-Reply-To: <4FF29521.3010106@entel.upc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Wed, 04 Jul 2012 12:46:42 +0200 (CEST) Cc: freebsd-acpi@freebsd.org Subject: Re: Unable to resume amd64 machine X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 10:46:50 -0000 >>> >> This could be similar to thinkpads, see my response to Honest Qiao's >> X201... >> Here's the short version: >> >> In single user, set hw.pci.do_power_resume=0 and >> hw.pci.do_power_suspend=0 >> >> Try suspend bounce (and if successful suspend) with suspend beep >> sysctl on. >> >> If that fails (either bounce or full suspend) try just >> hw.pci.do_power_resume=1 >> >> repeat test (bounce then full suspend) >> >> If that fails (either bounc or full suspend) try just >> hw.pci.do_power_suspend=1 >> >> repeat test (bounce then full suspend) >> > Thanks Matt for your suggestions. I'll use suspend for hw.pci.do_power_suspend and resume for hw.pci.do_power_resume. The tests were made in single user with an stripped kernel (I can show a kldload -v if needed); no firewire, sdhci, mmc, if_ath, if_em, etc . The short story is: - without bounce and any combination of suspend and resume, the machine beeps forever when resuming from a full suspend - with bounce, with any combination of s/r but suspend=1 and resume=0 the machine stays alive without video (it gets full illuminated). With bounce and suspend=1 and resume=0 the machine freezes hard (I heard no beep because of bounce=1) With bounce (when it doesn't freeze) I can do ls -laR /, grep's and I see the HD spining, so it stays alive with the bounce. I tried the same tests (8) with acpi_video loaded and the results were the same. Because it seems to work with bounce and because it beeps when returning from a full suspend I would say that the problem is in the resume code path. I could also do all the tests with acpi_fujitsu but it only gives the possibility to use the acpi controlled buttons on the notebook. The first time I tried to suspend/resume I was using acpi_fujitsu and the machine did not resume. Thanks for your help. -- --------------------------------------------------------------------------- Prou top-posting : http://ca.wikipedia.org/wiki/Top-posting Stop top-posting : http://en.wikipedia.org/wiki/Posting_style O O O Gustau Pérez i Querol O O O Departament d'Enginyeria Telemàtica O O O Universitat Politècnica de Catalunya Edifici C3 - Despatx S101-B UPC Campus Nord UPC C/ Jordi Girona, 1-3 08034 - Barcelona