Date: Sun, 17 Oct 2004 20:53:06 +0200 From: Guy Brand <gb@isis.u-strasbg.fr> To: freebsd-acpi@freebsd.org Subject: FreeBSD 5.3 ACPI and Asus s5200n Message-ID: <20041017185306.GB505@chimie.u-strasbg.fr>
next in thread | raw e-mail | index | archive | help
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: <A M I OEMAPIC > Features=0xa7e9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> APIC: CPU 0 has ACPI ID 1 acpi0: <A M I OEMRSDT> 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: <Embedded Controller: GPE 0x1c> 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: <ACPI CPU (3 Cx states)> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 ACPI PCI link initial configuration: pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0 ACPI PCI link initial configuration: pci1: <ACPI PCI bus> on pcib1 acpi_button0: <Sleep Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 atkbdc0: <Keyboard controller (i8042)> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041017185306.GB505>