From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 16 18:05:47 2009 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 0D72F106566C for ; Mon, 16 Nov 2009 18:05:47 +0000 (UTC) (envelope-from jerry@marles.org) Received: from mailforwards.extendcp.co.uk (mailforwards.extendcp.co.uk [79.170.40.74]) by mx1.freebsd.org (Postfix) with ESMTP id A4B9B8FC22 for ; Mon, 16 Nov 2009 18:05:46 +0000 (UTC) Received: from marles.demon.co.uk ([83.104.58.197] helo=[192.168.1.181]) by mailforwards.extendcp.com with esmtpa (Exim 4.63) id 1NA5xP-0001pH-Ef; Mon, 16 Nov 2009 18:05:43 +0000 From: Jerry Marles To: Ian Smith In-Reply-To: <20091115164712.D65262@sola.nimnet.asn.au> References: <1257798198.3265.12.camel@lenny.internal> <1257805380.3265.21.camel@lenny.internal> <20091115164712.D65262@sola.nimnet.asn.au> Content-Type: text/plain Date: Mon, 16 Nov 2009 18:05:35 +0000 Message-Id: <1258394735.3278.34.camel@lenny.internal> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: HP Pavillion does not power off 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, 16 Nov 2009 18:05:47 -0000 On Sun, 2009-11-15 at 16:58 +1100, Ian Smith wrote: > On Mon, 9 Nov 2009, Jerry Marles wrote: > > On Mon, 2009-11-09 at 20:23 +0000, Jerry Marles wrote: > > > On Sun, 2009-11-08 at 10:41 +0000, Jerry Marles wrote: > > > Hello, > > > > > > > > I have a HP Pavillion desktop PC model g3001.uk. The problem I have is > > > > that halt -p does not power it off. The light on the power button goes > > > > off but I can hear that it is still running. If I hold down the power > > > > button for a few seconds the power can be heard to go off but then it > > > > boots right back up again. Windows and Linux can power it off > > > > successfully. > > > > > > > > Regards > > > > > > > > Jerry Marles > > > > > > > > > > with further investigation I have found that > > > > > > acpiconf -s 5 results in invalid sleep type (5) > > > > > > but acpiconf -s 4 powers it off successfully so if I could just make > > > halt -p do whatever acpiconf -s 4 is doing the problem would be solved. > > > > > > any advice would be much appreciated. > > > > dmesg after boot -v is here http://www.marles.org/acpi/dmesg.txt > > > > sysctl hw.acpi is here http://www.marles.org/acpi/hwacpi.txt > > > > acpidump is here http://www.marles.org/acpi/acpidump.txt > > Seeing noone else has had a go: > > It seems pretty strange that acpiconf -s 4 powers it off properly. > your hwacpi.txt only shows .. > > hw.acpi.supported_sleep_state: S1 S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S1 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: S1 > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 1 > hw.acpi.s4bios: 0 > hw.acpi.verbose: 1 > hw.acpi.disable_on_reboot: 0 > hw.acpi.handle_reboot: 0 > hw.acpi.reset_video: 0 > hw.acpi.cpu.cx_lowest: C1 > > .. but s4bios is 0 (no BIOS support for S4) and I wonder what's happened > to your hw.acpi.thermal settings also, but .. just a long shot .. > > What happens if you set sysctl hw.acpi.power_button_state=S4 and then > try halt -p ? .. probably better off using 'shutdown -p now' actually. > > cheers, Ian That does change things in that now if I hold down the power button after halt -p it just goes off rather than booting straight back up again. So that is an improvement. Thanks. Jerry