ACPI / APM problems
Fabry
fabrizio at nldesign.com
Mon Dec 29 13:38:14 PST 2003
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 at 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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,PN,MMX,FXSR,SSE>
real memory = 134152192 (127 MB)
avail memory = 122486784 (116 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD RSDT > 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: <CPU> port 0x530-0x537 on acpi0
acpi_tz0: <thermal zone> port 0x530-0x537 on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf4000000-0xf7ffffff
at
device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x14a0-0x14af at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1480-0x149f irq 11
at
device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <simple comms> at device 9.0 (no driver attached)
cbb0: <TI1410 PCI-CardBus Bridge> at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: slot 10 INTA is routed to irq 11
pcm0: <ESS Solo-1 (unknown vendor)> port
0x14d8-0x14db,0x14dc-0x14df,0x14b0-0x14bf,0x14c0-0x14cf,0x1400-0x143f irq 5
at device 17.0 on pci0
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> 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: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
acpi_acad0: <AC adapter> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
acpi_ec0: <embedded controller> 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: <Option ROM> at iomem 0xc0000-0xcefff on isa0
pmtimer0 on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
system power profile changed to 'economy'
ad0: 19077MB <HITACHI_DK23BA-20> [38760/16/63] at ata0-master UDMA33
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2502> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
drm0: <ATI Rage 128 Mobility LF (AGP)> port 0x9000-0x90ff mem
0xf0200000-0xf0203fff,0xf8000000-0xfbffffff irq 5 at device 0.0 on pci1
info: [drm] AGP at 0xf4000000 64MB
info: [drm] Initialized r128 2.3.0 20021029 on minor 0
system power profile changed to 'performance'
Fabrizio Parrella
More information about the freebsd-mobile
mailing list