From owner-freebsd-current@FreeBSD.ORG Mon Dec 29 08:04:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1CD416A4CE for ; Mon, 29 Dec 2003 08:04:29 -0800 (PST) Received: from eve.nldesign.com (db.nldesign.com [65.173.133.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 9260943D48 for ; Mon, 29 Dec 2003 08:04:26 -0800 (PST) (envelope-from fabrizio@nldesign.com) Received: (qmail 9669 invoked from network); 29 Dec 2003 16:04:23 -0000 Received: from unknown (HELO homer) (198.68.180.80) by db.nldesign.com with SMTP; 29 Dec 2003 16:04:23 -0000 Message-ID: <001701c3ce25$6e3e3bf0$50b444c6@homer> From: "Fabry" To: "FREEBSD" Date: Mon, 29 Dec 2003 11:04:23 -0500 Organization: NightLight Design MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Fw: ACPI / APM problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 16:04:29 -0000 HI! I don't know if this is the right place where to post this problem!!! The problem is that I cannot have the duration of the battery on my laptop COMPAQ PRESARIO 1800 with BIOS phoenix (I don't find any update for the BIOS) I Have tried with APM and ACPI. With APM I can have the charge of it only in percent, but I don't know how to configure the POWER button to shutdown the machine as in ACPI. with ACPI I got some errors at the boot, and the suspend doesn't really work, the monitor stay on and when it "wake up" I get some errors that I think are related with the initial errors. Sorry for my english, I know is not great at all!! thanks a lot. >uname -a FreeBSD 127.0.0.1 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #3: Wed Dec 24 10:54:54 EST 2003 fabrizio@127.0.0.1:/usr/src/sys/i386/compile/MYKERNEL i386 the kernel is GENERAL with device pcm (for APM is also with device apm) >sysctl -a hw.acpi hw.acpi.supported_sleep_state: S1 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 0 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 1 hw.acpi.cpu.max_speed: 8 hw.acpi.cpu.current_speed: 8 hw.acpi.cpu.performance_speed: 8 hw.acpi.cpu.economy_speed: 4 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 2992 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3632 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3732 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.acline: 1 >dmesg Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE-p11 #3: Wed Dec 24 10:54:54 EST 2003 fabrizio@127.0.0.1:/usr/src/sys/i386/compile/MYKERNEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc0740000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07401f4. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 647188772 Hz CPU: Intel Pentium III (647.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387f9ff real memory = 134152192 (127 MB) avail memory = 122486784 (116 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc18f1260), AE_NOT_EXIST acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc18f1260), AE_NOT_EXIST acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x14a0-0x14af at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1480-0x149f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) pci0: at device 9.0 (no driver attached) cbb0: at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 10 INTA is routed to irq 11 pcm0: port 0x14d8-0x14db,0x14dc-0x14df,0x14b0-0x14bf,0x14c0-0x14cf,0x1400-0x143f irq 5 at device 17.0 on pci0 fxp0: port 0x1440-0x147f mem 0xf0000000-0xf00fffff,0xf0100000-0xf0100fff irq 11 at device 18.0 on pci0 fxp0: Ethernet address 00:02:a5:14:aa:7a miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto acpi_acad0: on acpi0 acpi_lid0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 acpi_ec0: port 0x66,0x62 on acpi0 fdc0: cannot reserve control I/O port range (control port) fdc0: cannot reserve control I/O port range (control port) orm0: