From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 15 05:58:17 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 5C237106566B for ; Sun, 15 Nov 2009 05:58:17 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id C81248FC12 for ; Sun, 15 Nov 2009 05:58:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nAF5wDUT026893; Sun, 15 Nov 2009 16:58:14 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 15 Nov 2009 16:58:13 +1100 (EST) From: Ian Smith To: Jerry Marles In-Reply-To: <1257805380.3265.21.camel@lenny.internal> Message-ID: <20091115164712.D65262@sola.nimnet.asn.au> References: <1257798198.3265.12.camel@lenny.internal> <1257805380.3265.21.camel@lenny.internal> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Sun, 15 Nov 2009 05:58:17 -0000 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