From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 15 19:20:05 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BEFF16A420 for ; Thu, 15 Feb 2007 19:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5D113C471 for ; Thu, 15 Feb 2007 19:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1FJK56O057219 for ; Thu, 15 Feb 2007 19:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1FJK5Wh057218; Thu, 15 Feb 2007 19:20:05 GMT (envelope-from gnats) Resent-Date: Thu, 15 Feb 2007 19:20:05 GMT Resent-Message-Id: <200702151920.l1FJK5Wh057218@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nicholas Hockey Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 841EE16A4CC for ; Thu, 15 Feb 2007 19:15:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 603C113C4B6 for ; Thu, 15 Feb 2007 19:15:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1FJFpT4059457 for ; Thu, 15 Feb 2007 19:15:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l1FJFpCT059456; Thu, 15 Feb 2007 19:15:51 GMT (envelope-from nobody) Message-Id: <200702151915.l1FJFpCT059456@www.freebsd.org> Date: Thu, 15 Feb 2007 19:15:51 GMT From: Nicholas Hockey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/109207: ACPI Promlem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 19:20:05 -0000 >Number: 109207 >Category: misc >Synopsis: ACPI Promlem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 15 19:20:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Nicholas Hockey >Release: 6-STABLE >Organization: >Environment: FreeBSD core 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sun Oct 15 22:36:12 EDT 2006 tilt@core:/usr/obj/usr/src/sys/CORE i386 >Description: When hw.acpi.sleep_button_state is set to S1 and i suspend my computer using acpiconf -s 5, on resume it freezes. I bealive it's trying to resume from a S1 state even though it was suspended to a S5 state. The reason i bealive this to be true is, when hw.acpi.sleep_button_state is set to S5 everything seems to work fine. Also when when i set either hw.acpi.power_button_state or hw.acpi.lid_switch_state to S5 everything seems to work fine either closing the lid or pressing the power button. sysctrl hw.acpi output: hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S5 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_supported: C1/0 C2/50 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% 0.00% hw.acpi.acline: 0 hw.acpi.battery.life: 40 hw.acpi.battery.time: 190 hw.acpi.battery.state: 1 hw.acpi.battery.units: 2 hw.acpi.battery.info_expire: 5 hw.acpi.video.crt0.active: 0 hw.acpi.video.lcd0.active: 1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 25.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 78.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 >How-To-Repeat: Set hw.acpi.sleep_button_state to S1 use sysctrl -s 5 to suspend >Fix: if you want to use acpiconf -s to suspend the machine you MUST set hw.acpi.sleep_button_state to the same state prior to issuing the acpiconf command. >Release-Note: >Audit-Trail: >Unformatted: