I'm having difficulty getting battery and thermal status. If I compile the
kernel with APM support I get battery statistics but if I try to put
APM/ACPI in the kernel ACPI reports that another PM system is enabled and
doesn't load the /dev/acpi device. If I take APM out and compile in ACPI I
get /dev/acpi and all that goes with it; but the battery status does not
show up correctly.
I've attached 2 files, test1.log which is with:
device acpi
device apm
in the kernel. (Which brings me to the point, in the NOTES file it's noted
that device acpi is deprecated, but if you don't add the device you don't
get acpi support...)
Then test2.log is with only acpi support compiled in.
Another thing I tested while I was testing was suspend states. With apm
compiled in I tried doing a 'apm -z'. Suspending seems to work fine,
however, when you try to bring it back it says it is resyncing the disks
(think this was the last message) and then it sits there frozen; meanwhile
the harddrive light is constantly on. I let it sit there for a minute and
still had no signs of activity. If I go into X suspend works with the only
hitch that the screen goes all white before it blacks out and upon
unsuspending the screen is still all white with traces of colors of the
background.
Then with ACPI compiled in I tried dropping it to S1 with 'acpiinfo -s 1'.
Again it seems to drop into the state just fine, however the LCD does not
black out upon suspending. But the power light starts flashing like it
should. Then when you hit the power button the screen blanks out. However,
otherwise it unsuspends, I was able to sucessfully Ssh into the machine. I
don't know if it's related but changing the hw.acpi.reset_video to 0 made no
difference. Also to note, with X running S1 works fine with the exception
that when it is suspended the display does not turn off, but when you come
out of S1 the display goes back into X. I was able to sucessfully suspend it
and bring it back using the lidswitch too, with same exceptions. S3, S4 and
S5 all result in the computer rebooting though.
Processor is P4m. Video card is ATI Radeon 9k mobility.
If you need any other information please feel free to contact me.
--
Ryan "leadZERO" Sommers
Gamer's Impact President
[EMAIL PROTECTED]
ICQ: 1019590
AIM/MSN: leadZERO
-= http://www.gamersimpact.com =-Script started on Sat Nov 22 13:53:08 2003
lilshadow# dms[Keg[Ksg|[K | grep -i apm
apm0: on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
WARNING: apm_saver module requires apm enabled
lilshadow# dmesg | grep -i apm[K[K[Kacpi
Preloaded acpi_dsdt "/boot/acpi_dsdt.aml" at 0xc07811cc.
Features=0xbfebf9ff
ACPI: DSDT was overridden.
ACPI-0375: *** Info: Table [DSDT] replaced by host OS
acpi0: Other PM system enabled.
lilshadow# apm
APM version: 1.2
APM Management: Enabled
AC Line status: on-line
Battery status: charging
Remaining battery life: 100%
Remaining battery time: 2:34:00
Number of batteries: 2
Battery 0:
Battery status: not present
Battery 1:
Battery status: charging
Remaining battery life: 100%
Remaining battery time: 2:34:00
Resume timer: disabled
Resume on ring indicator: disabled
APM Capabilities:
global suspend state
resume timer from suspend
lilshadow# acpiinfo[K[K[K[Kconf -i 0
acpiconf: /dev/acpi: No such file or directory
lilshadow# acpiconf -i 0[K1
acpiconf: /dev/acpi: No such file or directory
lilshadow# exit
exit
Script done on Sat Nov 22 13:53:50 2003
Script started on Sat Nov 22 14:11:19 2003
lilshadow# dmesg | grep -i apm
lilshadow# dmesg | grep -i apm[K[K[Kaci[Kpi
Preloaded acpi_dsdt "/boot/acpi_dsdt.aml" at 0xc077e1cc.
Features=0xbfebf9ff
ACPI: DSDT was overridden.
ACPI-0375: *** Info: Table [DSDT] replaced by host OS
acpi0: on motherboard
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: on acpi0
acpi_tz0: on acpi0
acpi_acad0: on acpi0
acpi_cmbat0: on acpi0
acpi_cmbat1: on acpi0
acpi_lid0: on acpi0
acpi_button0: on acpi0
acpi_button1: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: at device 1.0 on pci0
pci1: on pcib1
pcib2: at device 30.0 on pci0
pci2: on pcib2
atkbdc0: port 0x64,0x60 irq 1 on acpi0
fdc0: port 0x3f7,0x3f2-0x3f5
irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
lilshadow# apm
APM version: 1.2
APM Management: Enabled
AC Line status: on-line
Battery status: high
Remaining battery life: invalid value (0x76)
Remaining battery time: unknown
Number of batteries: 2
Battery 0:
Battery status: not present
Battery 1:
Battery status: high
Remaining battery life: invalid value (0x76)
Remaining battery time: 0:00:00
Resume timer: unknown
Resume on ring indicator: disable