From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 17 18:59:14 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3246D16A4CE for ; Sun, 17 Oct 2004 18:59:14 +0000 (GMT) Received: from chimie.u-strasbg.fr (chimie.u-strasbg.fr [130.79.34.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E2AC43D1F for ; Sun, 17 Oct 2004 18:59:13 +0000 (GMT) (envelope-from gb@isis.u-strasbg.fr) Received: from localhost (localhost.u-strasbg.fr [127.0.0.1]) by chimie.u-strasbg.fr (Postfix) with ESMTP id 9DB20FB86C for ; Sun, 17 Oct 2004 20:59:12 +0200 (CEST) Received: from chimie.u-strasbg.fr ([127.0.0.1]) by localhost (chimie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21591-09 for ; Sun, 17 Oct 2004 20:59:12 +0200 (CEST) Received: from mathilda.u-strasbg.fr (chimie.u-strasbg.fr [130.79.34.77]) by chimie.u-strasbg.fr (Postfix) with ESMTP id 26172FB86A for ; Sun, 17 Oct 2004 20:59:12 +0200 (CEST) Received: by mathilda.u-strasbg.fr (Postfix, from userid 1001) id 7FD4634501; Sun, 17 Oct 2004 20:53:06 +0200 (CEST) Date: Sun, 17 Oct 2004 20:53:06 +0200 From: Guy Brand To: freebsd-acpi@freebsd.org Message-ID: <20041017185306.GB505@chimie.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by ClamAV at chimie.u-strasbg.fr Subject: FreeBSD 5.3 ACPI and Asus s5200n X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 18:59:14 -0000 Hi, I did a fresh install of FreeBSD 5.3 beta 7 on an Asus s5200n. hw.acpi says hw.acpi.supported_sleep_state: S1 S3 S4 S5. Trying them out, only S5 works properly . S1 freezes when I want to get the laptop back. S3 suspends the laptop, but when I get it back using the power button or any key of the keyboard it fails with ad0: FAILURE - ATA_IDENTIFY timed out ad0: WARNING - removed from configuration ata0: device config done leaving only a blinking cursor on my vt and nothing other to do but hard poweroff the laptop. S4 suspends the laptop, but no way to bring is up again, it's a dirty shutdown. Changing S4 to S4bios mode doesn't change anything. acpi_asus is of no help (s5n in an unsupported model). Here is a grep acpi in a dmesg after verbose boot: Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a0d1cc. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled ACPI APIC Table: Features=0xa7e9fbbf APIC: CPU 0 has ACPI ID 1 acpi0: on motherboard ACPI-0152: *** Warning: Invalid FADT value PM_TM_LEN=3 at offset 5b FADT=0xc1956000 acpi0: [MPSAFE] AcpiOsDerivePciId: bus 1 dev 3 func 0 AcpiOsDerivePciId: bus 1 dev 3 func 1 AcpiOsDerivePciId: bus 0 dev 31 func 0 AcpiOsDerivePciId: bus 0 dev 31 func 0 acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 AcpiOsDerivePciId: bus 0 dev 31 func 0 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks BAD min = 2, max = 1627, width = 1625 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks GOOD min = 2, max = 3, width = 1 ACPI timer looks GOOD min = 2, max = 3, width = 1 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40a on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ACPI PCI link initial configuration: pci0: on pcib0 pcib1: at device 30.0 on pci0 ACPI PCI link initial configuration: pci1: on pcib1 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 psmcpnp0 irq 12 on acpi0 acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times acpi_cmbat0: battery initialization start acpi_ec0: info: new max delay is 30 us acpi_ec0: info: new max delay is 220 us acpi_tz0: _AC0: temperature 56.0 >= setpoint 55.0 acpi_tz0: switched from NONE to _AC0: 56.0C acpi_ec0: info: new max delay is 240 us acpi_ec0: info: new max delay is 310 us acpi_ec0: info: new max delay is 320 us acpi_cmbat0: battery initialization done, tried 1 times acpi_tz0: switched from _AC0 to NONE: 52.0C and here a sysctl hw.acpi: 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: S3 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.reset_video: 1 hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 8 hw.acpi.cpu.cx_supported: C1/0 C2/1 C3/101 hw.acpi.cpu.cx_lowest: C3 hw.acpi.cpu.cx_usage: 0.00% 100.00% 0.00% hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 3192 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3782 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3882 hw.acpi.thermal.tz0._ACx: 3282 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.acline: 1 hw.acpi.battery.life: 100 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 Disabling ACPI avoids crashing the laptop, but no way to suspend it of course. s5200n doesn't work with APM. A dump of the asl is at http://www-isis.u-strasbg.fr/bug/s5200n.asl Any chance to fix something? gb