From owner-freebsd-acpi@FreeBSD.ORG Sun May 6 07:48:07 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09830106566C for ; Sun, 6 May 2012 07:48:07 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 8CA548FC12 for ; Sun, 6 May 2012 07:48:06 +0000 (UTC) Received: by wibhj6 with SMTP id hj6so2087978wib.13 for ; Sun, 06 May 2012 00:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=vn99trRUb590c/u4JaMArpG4UMpr2vUMFxfBbjkJoO0=; b=dXcBy7a1t7eoN8FTRGTX3OsALu4TBYq80Me2/tEvZkWRQ6iUpvHBkDuCPGGUHgxn0p ZtR0r7DATChb4ilHu/WSf5vJwCoLQO1tCvdwA6DTpwjWUCXqLevkYeNqdltR0GkpgagN 73lluheUCxwNk+Wca94zlf7PXi8cmqDTBFvT/iUTWzE2ejqk5KwNRXH4jNhKC/aRH6lm 7qQl/dVj3QvPM3CreBk0zhRRStgGHX4L6Rz9dTiqn9Hx/ndmXlUJvsLIIT+Ur2juUNog cRHTP9PpJHMrKBRe/iwME68Q3vSTZ1kosxD/03aKuqKWqPxx+7TcBwYz5z2KKNu34TTE OALA== Received: by 10.180.86.197 with SMTP id r5mr3976855wiz.21.1336290485494; Sun, 06 May 2012 00:48:05 -0700 (PDT) Received: from Melon.malikania.fr (127.38.201.77.rev.sfr.net. [77.201.38.127]) by mx.google.com with ESMTPS id r2sm707381wif.7.2012.05.06.00.48.02 (version=SSLv3 cipher=OTHER); Sun, 06 May 2012 00:48:03 -0700 (PDT) Message-ID: <4FA62CAF.4060401@gmail.com> Date: Sun, 06 May 2012 09:47:59 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120501 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <4F0C64E3.8020500@gmail.com> In-Reply-To: <4F0C64E3.8020500@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Suspend to ram almost work on desktop computer 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: Sun, 06 May 2012 07:48:07 -0000 On 10/01/2012 17:18, David Demelier wrote: > Hello, > > I have a desktop computer on a Intel DH55HC mainboard. Suspend to ram > almost works on 9.0-RELEASE. > > The resume works, I can get back to X and it works, started applications > still run but all my USB stuff is dead. I can't use my mouse neither my > keyboard so I can't do anything. > > This is the last messages : > > Jan 10 17:08:45 Groseille acpi: suspend at 20120110 17:08:45 > Jan 10 17:08:49 Groseille kernel: ugen0.2: at usbus0 (disconnected) > Jan 10 17:08:49 Groseille kernel: ukbd0: at uhub0, port 1, addr 2 > (disconnected) > Jan 10 17:08:49 Groseille kernel: uhid0: at uhub0, port 1, addr 2 > (disconnected) > Jan 10 17:09:14 Groseille kernel: pcm1: chn_write(): > pcm1:virtual:dsp1.vp0: play interrupt timeout, channel dead > Jan 10 17:09:14 Groseille kernel: ugen1.2: at usbus1 > (disconnected) > Jan 10 17:09:14 Groseille kernel: ubt0: at uhub1, port 2, addr 2 > (disconnected) > Jan 10 17:09:14 Groseille kernel: ugen1.2: at usbus1 > Jan 10 17:09:14 Groseille kernel: ubt0: class 224/1, rev 2.00/19.58, addr 2> on usbus1 > Jan 10 17:09:15 Groseille acpi: resumed at 20120110 17:09:15 > > One more thing, acpi does not work anymore after the resume, usually I > press my power button and it just shutdown the computer, after the > resume the power button has no effect and I needed to do a hard reboot. > > what can I try to give you more information? > > Cheers, > Just to say, I don't know what happens but no input works at all, USB, PS/2 and also my power button (that usually works to soft shutdown the computer). But the machine works well if I ssh to it I can do what I want. Is there any quirk I can try to "reset" every peripherals after resume? Cheers, -- David Demelier From owner-freebsd-acpi@FreeBSD.ORG Mon May 7 11:07:07 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 4B7D3106566C for ; Mon, 7 May 2012 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1BFF78FC0C for ; Mon, 7 May 2012 11:07:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q47B76jd072292 for ; Mon, 7 May 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q47B76TC072290 for freebsd-acpi@FreeBSD.org; Mon, 7 May 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 May 2012 11:07:06 GMT Message-Id: <201205071107.q47B76TC072290@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org 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: Mon, 07 May 2012 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/163268 acpi [acpi_hp] fix driver detach in absence of CMI o kern/162859 acpi [acpi] ACPI battery/acline monitoring partialy working o kern/161715 acpi [acpi] Dell E6520 doesn't resume after ACPI suspend o kern/161713 acpi [acpi] Suspend on Dell E6520 o kern/160838 acpi [acpi] ACPI Battery Monitor Non-Functional o kern/160419 acpi [acpi_thermal] acpi_thermal kernel thread high CPU usa o kern/158689 acpi [acpi] value of sysctl hw.acpi.thermal.polling_rate ne o kern/154955 acpi [acpi] Keyboard or ACPI doesn't work on Lenovo S10-3 o kern/152438 acpi [acpi]: patch to acpi_asus(4) to add extra sysctls for o kern/152098 acpi [acpi] Lenovo T61p does not resume o i386/146715 acpi [acpi] Suspend works, resume not on a HP Probook 4510s o kern/145306 acpi [acpi]: Can't change brightness on HP ProBook 4510s o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject o kern/139088 acpi [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o bin/135349 acpi [patch] teach acpidump(8) to disassemble arbitrary mem o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o bin/126162 acpi [acpi] ACPI autoload failed : loading required module o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot a i386/122887 acpi [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/91594 acpi [acpi] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/ o kern/73823 acpi [request] acpi / power-on by timer support o kern/56024 acpi ACPI suspend drains battery while in S3 32 problems total. From owner-freebsd-acpi@FreeBSD.ORG Wed May 9 07:13:14 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3D48106566C for ; Wed, 9 May 2012 07:13:14 +0000 (UTC) (envelope-from develloper.unix@hotmail.fr) Received: from bay0-omc2-s26.bay0.hotmail.com (bay0-omc2-s26.bay0.hotmail.com [65.54.190.101]) by mx1.freebsd.org (Postfix) with ESMTP id AC8718FC12 for ; Wed, 9 May 2012 07:13:14 +0000 (UTC) Received: from BAY160-W4 ([65.54.190.125]) by bay0-omc2-s26.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 May 2012 00:12:08 -0700 Message-ID: X-Originating-IP: [163.5.111.19] From: Quentin SCHWERKOLT To: Date: Wed, 9 May 2012 09:12:07 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 09 May 2012 07:12:08.0118 (UTC) FILETIME=[0BA21560:01CD2DB3] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to refresh acpi data? 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, 09 May 2012 07:13:14 -0000 I would like know I can refresh acpi data for the battery state: When I run= a `acpiconf -i 0' or a `sysctl hw.acpi.battery'=2C they return only the ba= ttery information when FreeBSD had started. So how can I refresh the acpi data whitout restart my FreeBSD? I have try with FreeBSD 9.0-RELEASE and FREEBSD 9-STABLE and the result is = the same. Cordially. Q. Schwerkolt = From owner-freebsd-acpi@FreeBSD.ORG Wed May 9 07:31:28 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B47FE106564A for ; Wed, 9 May 2012 07:31:28 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from smtp.suszko.eu (tlhscd-1-pt.tunnel.tserv6.fra1.ipv6.he.net [IPv6:2001:470:1f0a:e2c::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6C93D8FC0A for ; Wed, 9 May 2012 07:31:28 +0000 (UTC) Received: from ibox (localhost [127.0.0.1]) by smtp.suszko.eu (Postfix) with ESMTP id 5126220597A; Wed, 9 May 2012 09:31:27 +0200 (CEST) X-Virus-Scanned: YES, Passed Received: from smtp.suszko.eu ([127.0.0.1]) by ibox (mail.suszko.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kqArHoz_9XhQ; Wed, 9 May 2012 09:31:27 +0200 (CEST) Received: from helium (biuro.easygo.pl [81.95.206.139]) by smtp.suszko.eu (Postfix) with ESMTPSA id CA6EF205958; Wed, 9 May 2012 09:31:26 +0200 (CEST) Date: Wed, 9 May 2012 09:31:25 +0200 From: Maciej Suszko To: freebsd-acpi@freebsd.org Message-ID: <20120509093125.2d35a2e1@helium> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: How to refresh acpi data? 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, 09 May 2012 07:31:28 -0000 Quentin SCHWERKOLT wrote: > > I would like know I can refresh acpi data for the battery state: When > I run a `acpiconf -i 0' or a `sysctl hw.acpi.battery', they return > only the battery information when FreeBSD had started. So how can I > refresh the acpi data whitout restart my FreeBSD? I have try with > FreeBSD 9.0-RELEASE and FREEBSD 9-STABLE and the result is the same. It's probably the same bug as in my case: http://www.freebsd.org/cgi/query-pr.cgi?pr=162859 BTW, what's your laptop model? -- regards, Maciej Suszko. From owner-freebsd-acpi@FreeBSD.ORG Wed May 9 07:39:56 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 750E6106566C for ; Wed, 9 May 2012 07:39:56 +0000 (UTC) (envelope-from develloper.unix@hotmail.fr) Received: from bay0-omc4-s2.bay0.hotmail.com (bay0-omc4-s2.bay0.hotmail.com [65.54.190.204]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF908FC08 for ; Wed, 9 May 2012 07:39:56 +0000 (UTC) Received: from BAY160-W32 ([65.54.190.199]) by bay0-omc4-s2.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 May 2012 00:39:50 -0700 Message-ID: X-Originating-IP: [163.5.111.59] From: Quentin SCHWERKOLT To: , Date: Wed, 9 May 2012 09:39:50 +0200 Importance: Normal In-Reply-To: <20120509093125.2d35a2e1@helium> References: , <20120509093125.2d35a2e1@helium> MIME-Version: 1.0 X-OriginalArrivalTime: 09 May 2012 07:39:50.0150 (UTC) FILETIME=[EA480A60:01CD2DB6] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: How to refresh acpi data? 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, 09 May 2012 07:39:56 -0000 It's in party my case=2C but FreeBSD doesn't detect when the ac line is plu= ged or not... I have a HP EliteBook 8540p. Cordially=2C Q. Schwerkolt > Date: Wed=2C 9 May 2012 09:31:25 +0200 > From: maciej@suszko.eu > To: freebsd-acpi@freebsd.org > Subject: Re: How to refresh acpi data? >=20 > Quentin SCHWERKOLT wrote: > >=20 > > I would like know I can refresh acpi data for the battery state: When > > I run a `acpiconf -i 0' or a `sysctl hw.acpi.battery'=2C they return > > only the battery information when FreeBSD had started. So how can I > > refresh the acpi data whitout restart my FreeBSD? I have try with > > FreeBSD 9.0-RELEASE and FREEBSD 9-STABLE and the result is the same. >=20 > It's probably the same bug as in my case: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D162859 >=20 > BTW=2C what's your laptop model? > --=20 > regards=2C Maciej Suszko. > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe=2C send any mail to "freebsd-acpi-unsubscribe@freebsd.org" = From owner-freebsd-acpi@FreeBSD.ORG Fri May 11 02:13:03 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAE94106566B; Fri, 11 May 2012 02:13:03 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8697E8FC0A; Fri, 11 May 2012 02:13:03 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q4B2ANiQ066502; Fri, 11 May 2012 11:10:23 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Fri, 11 May 2012 11:10:19 +0900 (JST) Message-Id: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> To: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org From: Mitsuru IWASAKI X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: [CFT] SMP/i386 suspend/resume 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: Fri, 11 May 2012 02:13:04 -0000 Hi I've been working on suspend/resume for SMP/i386 for a week and created patches against CURRENT, RELENG_9 and RELENG_8 available at: http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-CURRENT-20120511.diff http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_9-20120511.diff http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_8-20120511.diff A lot of portion of the patches was ported from amd64. Testing on Thinkpad X60 (Core Duo T2300), so far so good :) I'll commit them against CURRENT hopefully next week. Thanks and have fun! From owner-freebsd-acpi@FreeBSD.ORG Fri May 11 11:20:22 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F35681065679; Fri, 11 May 2012 11:20:21 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by mx1.freebsd.org (Postfix) with ESMTP id 8403B8FC14; Fri, 11 May 2012 11:20:20 +0000 (UTC) Received: from server.rulingia.com (c220-239-251-180.belrs5.nsw.optusnet.com.au [220.239.251.180]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q4BBKA7v004837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 May 2012 21:20:13 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id q4BBK8rD027286; Fri, 11 May 2012 21:20:08 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id q4BBK5gq027261; Fri, 11 May 2012 21:20:05 +1000 (EST) (envelope-from peter) Date: Fri, 11 May 2012 21:20:05 +1000 From: Peter Jeremy To: Mitsuru IWASAKI Message-ID: <20120511112005.GA87299@server.rulingia.com> References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [CFT] SMP/i386 suspend/resume 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: Fri, 11 May 2012 11:20:22 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-May-11 11:10:19 +0900, Mitsuru IWASAKI wro= te: >I've been working on suspend/resume for SMP/i386 for a week >and created patches against CURRENT, RELENG_9 and RELENG_8 >available at: Thank you for that. Since I was in the process of upgrading my netbook (Acer Aspire One AOA-110 - Atom N270), I rolled your RELENG_8 patch on top of r235229. Unfortunately, the result hasn't been a complete success. I can suspend to S3 with no problems (though that worked before). The resume is less successful. If X is running, I get a garbage screen. If I suspend at a VTY, the screen comes back correctly but there is no response from keyboard, touchpad or wired network (though it has the correct lights). Let me know if you have any suggestions for debugging. --=20 Peter Jeremy --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+s9eUACgkQ/opHv/APuIdN4gCgir9WZ0aubN7e9rwCNcbKXkpl b3sAn2umpzL/6MpXLRY2aybvqBrksNLo =2WZy -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- From owner-freebsd-acpi@FreeBSD.ORG Fri May 11 11:32:36 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 D6FA2106566B; Fri, 11 May 2012 11:32:36 +0000 (UTC) (envelope-from dhw@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C07758FC0A; Fri, 11 May 2012 11:32:36 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4BBWafI099801; Fri, 11 May 2012 11:32:36 GMT (envelope-from dhw@freefall.freebsd.org) Received: (from dhw@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4BBWa5B099799; Fri, 11 May 2012 11:32:36 GMT (envelope-from dhw) Date: Fri, 11 May 2012 11:32:36 +0000 From: David Wolfskill To: Mitsuru IWASAKI Message-ID: <20120511113236.GA89666@freefall.freebsd.org> References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [CFT] SMP/i386 suspend/resume 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: Fri, 11 May 2012 11:32:36 -0000 On Fri, May 11, 2012 at 11:10:19AM +0900, Mitsuru IWASAKI wrote: > Hi > > I've been working on suspend/resume for SMP/i386 for a week > and created patches against CURRENT, RELENG_9 and RELENG_8 > available at: > > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-CURRENT-20120511.diff > ... > A lot of portion of the patches was ported from amd64. > Testing on Thinkpad X60 (Core Duo T2300), so far so good :) > > I'll commit them against CURRENT hopefully next week. > > Thanks and have fun! I just tried it on a Dell Precision M4400 (Core(TM)2 Duo CPU T9600), running: FreeBSD localhost 10.0-CURRENT FreeBSD 10.0-CURRENT #556 235262M: Fri May 11 06:07:31 EDT 2012 root@localhost:/usr/obj/usr/src/sys/CANARY i386 (Writing from BSDCan; home mail machine seems wedged.) It seems to work for me -- I was able to use the keyboard (Fn+F1) to suspend; once I closed the lid, the power light visible on the outside would blink slowly (about a 0.5Hz cycle time w/ 50% duty cycle, estimated); when I opened the lid, the machine resumed "automagically". I tried it first merely from a vty, then from X (nVidia driver, updated as of this morning). I'll try stable/9 & stable/8 as time permits. Thanks! :-) Peace, david -- David H. Wolfskill dhw@freebsd.org There is a use for spam: it helps identify spammers. I have no use for spammers. From owner-freebsd-acpi@FreeBSD.ORG Fri May 11 12:13:06 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29721065670; Fri, 11 May 2012 12:13:06 +0000 (UTC) (envelope-from dhw@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BA8398FC12; Fri, 11 May 2012 12:13:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4BCD6OW038329; Fri, 11 May 2012 12:13:06 GMT (envelope-from dhw@freefall.freebsd.org) Received: (from dhw@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4BCD6FN038328; Fri, 11 May 2012 12:13:06 GMT (envelope-from dhw) Date: Fri, 11 May 2012 12:13:06 +0000 From: David Wolfskill To: Mitsuru IWASAKI Message-ID: <20120511121306.GA30096@freefall.freebsd.org> References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [CFT] SMP/i386 suspend/resume 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: Fri, 11 May 2012 12:13:06 -0000 On Fri, May 11, 2012 at 11:10:19AM +0900, Mitsuru IWASAKI wrote: > Hi > > I've been working on suspend/resume for SMP/i386 for a week > and created patches against CURRENT, RELENG_9 and RELENG_8 > available at: > > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-CURRENT-20120511.diff > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_9-20120511.diff > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_8-20120511.diff > ... Another follow-up: just tested on same machine (Dell Precision M4400; Core(TM)2 Duo CPU T9600), this time running: FreeBSD localhost 9.0-STABLE FreeBSD 9.0-STABLE #157 235262M: Fri May 11 05:24:24 EDT 2012 root@localhost:/usr/obj/usr/src/sys/CANARY i386 and the RELENG_9 patch works for me on stable/9 (same test approach as I had used for head). stable/8 is next up. Peace, david -- David H. Wolfskill dhw@freebsd.org There is a use for spam: it helps identify spammers. I have no use for spammers. From owner-freebsd-acpi@FreeBSD.ORG Fri May 11 13:22:57 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D50AE106564A; Fri, 11 May 2012 13:22:57 +0000 (UTC) (envelope-from dhw@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD7118FC15; Fri, 11 May 2012 13:22:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4BDMvNe004927; Fri, 11 May 2012 13:22:57 GMT (envelope-from dhw@freefall.freebsd.org) Received: (from dhw@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4BDMvit004926; Fri, 11 May 2012 13:22:57 GMT (envelope-from dhw) Date: Fri, 11 May 2012 13:22:57 +0000 From: David Wolfskill To: Mitsuru IWASAKI Message-ID: <20120511132257.GA96585@freefall.freebsd.org> References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [CFT] SMP/i386 suspend/resume 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: Fri, 11 May 2012 13:22:57 -0000 On Fri, May 11, 2012 at 11:10:19AM +0900, Mitsuru IWASAKI wrote: > Hi > > I've been working on suspend/resume for SMP/i386 for a week > and created patches against CURRENT, RELENG_9 and RELENG_8 > available at: > > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-CURRENT-20120511.diff > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_9-20120511.diff > http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_8-20120511.diff > ... I'm sorry to report that while head & stable/9 did work for me (see previous notes in this thread), stable/8 did not. Well, suspend seemed to, but on resume, the screen stayed dark and the machine was (as far as I could tell without trying to ping it from another machine) unresponsive. This was on the same Dell Precision M4400 as before (Core(TM)2 Duo CPU T9600), running: FreeBSD localhost 8.3-STABLE FreeBSD 8.3-STABLE #382 235262M: Fri May 11 04:45:52 EDT 2012 root@localhost:/common/S1/obj/usr/src/sys/CANARY i386 Peace, david -- David H. Wolfskill dhw@freebsd.org There is a use for spam: it helps identify spammers. I have no use for spammers. From owner-freebsd-acpi@FreeBSD.ORG Fri May 11 19:56:57 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 220A01065672; Fri, 11 May 2012 19:56:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E40CF8FC0C; Fri, 11 May 2012 19:56:56 +0000 (UTC) Received: by dadv36 with SMTP id v36so4067462dad.13 for ; Fri, 11 May 2012 12:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=r1w2AdnrENug4sf1lycbP0ddKf3ViOZj0JjJSD0a0o4=; b=LYnGqn8LFRUDSlCjL9gcCKVCKneYEJbi2T/c44EDfGPnSczznYTsxx8OxRI+fs2um2 SJhojVQSKdXdicp3NH80owEpspMuqLO10SEWiSJvBxUPAjE4RoIC1/4vxR7kec2atHhi MAHmV0mZcLg28mpTzkvM/2wRpvjgDOF5xvMcKDUS59lLnaSAosYp51fak3E0hqG/toZw dKvLgj0n5nMj+rxwM4niasbY08WL3BVh3JsJt9Au+qZr5mVskEGTnSFkkB6rASsE8Umv mlVeqE+n11WhGFJCUtMKIlhIcOXGUlEiAhTYcTt7HhvFeXOL4PupMye/ziIF1p/8siin 6NQQ== MIME-Version: 1.0 Received: by 10.68.116.203 with SMTP id jy11mr3514852pbb.129.1336766216524; Fri, 11 May 2012 12:56:56 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.142.203.2 with HTTP; Fri, 11 May 2012 12:56:56 -0700 (PDT) In-Reply-To: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> Date: Fri, 11 May 2012 12:56:56 -0700 X-Google-Sender-Auth: DPiBrcbcXCcUtG2ctmSob3k0dBs Message-ID: From: Adrian Chadd To: Mitsuru IWASAKI Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [CFT] SMP/i386 suspend/resume 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: Fri, 11 May 2012 19:56:57 -0000 Thanks so very much for this! I'll try it on my thinkpad T60 this weekend and report back. It unfortunately is running 9.0-RELEASE though - if I have issues, I'll try 9-stable on another T60 next week and similarly report back. Adrian From owner-freebsd-acpi@FreeBSD.ORG Fri May 11 21:01:24 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91D78106566C; Fri, 11 May 2012 21:01:24 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF9B8FC0C; Fri, 11 May 2012 21:01:23 +0000 (UTC) Received: by vbmv11 with SMTP id v11so4342004vbm.13 for ; Fri, 11 May 2012 14:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LB0nFhRlREeSzzF2jtRG65fv4Cv8b33K7tEUuuPTrG0=; b=VJLVcd/pcnN104M9eV6za7NWpgjRcJJxpbRogphgfK2cJMWPPEx2ZsCpBI+63D8wXQ J12zIOawAIpQree66VKIaWglEJzLyYBTj59aenFL0QI6wCouvJVVxoZZ7iD1AkJiUb4F ScJ8mmKO0p8B2G7MYexwEMrRsRoqIzWqjfdVboYV7lHEdIdsXtIjiHavfotEe8i7CLeu 8PGcLjSpGsgNwHlChHomMNBSEKftY8oHn/+oRNPqUaegqtxw7QNXuQ94Xin3slJsIBYj Ha1Uik5kIHiaBGRoYOB6cGKB000U7eUahrj6ezXmVTWTlOzvRnoIrnr/B5nWbfgJ5EWS nKzw== MIME-Version: 1.0 Received: by 10.52.22.79 with SMTP id b15mr594567vdf.10.1336770083123; Fri, 11 May 2012 14:01:23 -0700 (PDT) Received: by 10.220.7.148 with HTTP; Fri, 11 May 2012 14:01:23 -0700 (PDT) In-Reply-To: References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> Date: Fri, 11 May 2012 14:01:23 -0700 Message-ID: From: Garrett Cooper To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [CFT] SMP/i386 suspend/resume 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: Fri, 11 May 2012 21:01:24 -0000 On Fri, May 11, 2012 at 12:56 PM, Adrian Chadd wrote: > Thanks so very much for this! > > I'll try it on my thinkpad T60 this weekend and report back. It > unfortunately is running 9.0-RELEASE though - if I have issues, I'll > try 9-stable on another T60 next week and similarly report back. +1. I've really liked to use more than one CPU on my netbook for a while :). -Garrett