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 ryans_at_gamersimpact.com 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: <APM BIOS> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> ACPI: DSDT was overridden. ACPI-0375: *** Info: Table [DSDT] replaced by host OS acpi0: <DELL CPi R > 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: <CPU> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 acpi_cmbat1: <Control Method Battery> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: disabled APM Capabilities: unknown lilshadow# acpiconf -i 0 Battery 0 information Design capacity: 36000 mWh Last full capacity: -1 mWh Technology: secondary (rechargeable) Design voltage: 16000 mV Capacity (warn): 3000 mWh Capacity (low): 1000 mWh Low/warn granularity: 200 mWh Warn/full granularity: 200 mWh Model number: Serial number: 57005 Type: OEM info: lilshadow# acpiconf -i 0[K1 Battery 1 information Design capacity: 66000 mWh Last full capacity: 55780 mWh Technology: secondary (rechargeable) Design voltage: 14800 mV Capacity (warn): 3000 mWh Capacity (low): 1000 mWh Low/warn granularity: 200 mWh Warn/full granularity: 200 mWh Model number: 0004M778 Serial number: 1380 Type: LION OEM info: SANYO lilshadow# sysctl -a | grep -i apcm[K[K[Kcpi acpibatt 2 1K 1K 2 16 acpidev 77 2K 2K 77 16,32 acpicmbat 1 1K 1K 1 16 acpisem 16 1K 1K 16 64 acpitask 0 0K 1K 8 16,32 acpica 1379 89K 94K 27654 16,32,64,128,256,512,1024 kern.timecounter.hardware: ACPI-fast kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-1000000) debug.acpi.acpi_ca_version: 0x20030619 debug.acpi.semaphore_debug: 0 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: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 1 hw.acpi.reset_video: 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.cpu.cx_supported: C1/0 C2/50 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 48234/0 0/0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 3337 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3672 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.acline: 1 hw.acpi.battery.life: 118 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 2 hw.acpi.battery.info_expire: 5 machdep.acpi_timer_freq: 3579545 machdep.acpi_root: 1039952 lilshadow# sysctl -a | grep -i acpi [K[K[K[Kapm SWAPMETA: 276, 63770, 0, 0, 0 lilshadow# exit exit Script done on Sat Nov 22 14:12:56 2003Received on Sat Nov 22 2003 - 15:43:04 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC