You are not logged in.

#1 2012-10-06 17:53:30

mindcruft
Member
Registered: 2010-09-22
Posts: 10

ACPI not reporting battery information

I am running Arch on my Asus Zenbook UX31A and am having issues getting acpi to report battery information. There are a few errors which seems like some sort of conflict I don't fully understand which I assume are related. Has anyone had similar issues or can point me in a direction to solving this issue?

[    0.000000] BIOS-e820: [mem 0x00000000d97e5000-0x00000000d9de5fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000da65d000-0x00000000da8dcfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000da8dd000-0x00000000da8e1fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000da8e3000-0x00000000da925fff] ACPI NVS
[    0.000000] ACPI: RSDP 00000000000f0490 00024 (v02 _ASUS_)
[    0.000000] ACPI: XSDT 00000000da8b0090 0009C (v01 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.000000] ACPI: FACP 00000000da8c2058 000F4 (v04 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.000000] ACPI: DSDT 00000000da8b01c0 11E96 (v02 _ASUS_ Notebook 00000013 INTL 20091112)
[    0.000000] ACPI: FACS 00000000da8daf80 00040
[    0.000000] ACPI: APIC 00000000da8c2150 00072 (v03 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.000000] ACPI: FPDT 00000000da8c21c8 00044 (v01 _ASUS_ Notebook 01072009 AMI  00010013)
[    0.000000] ACPI: ECDT 00000000da8c2210 000C1 (v01 _ASUS_ Notebook 01072009 AMI. 00000005)
[    0.000000] ACPI: MCFG 00000000da8c22d8 0003C (v01 _ASUS_ Notebook 01072009 MSFT 00000097)
[    0.000000] ACPI: SSDT 00000000da8c2318 00A3C (v01 DptfTa  DptfTab 00001000 INTL 20091112)
[    0.000000] ACPI: SSDT 00000000da8c2d58 00CA5 (v01 SADptf  SADptf_ 00001000 INTL 20091112)
[    0.000000] ACPI: SSDT 00000000da8c3a00 00098 (v01 PchDpt  PchDptf 00001000 INTL 20091112)
[    0.000000] ACPI: SSDT 00000000da8c3a98 0091C (v01 CfgTDP  CfgTDP_ 00001000 INTL 20091112)
[    0.000000] ACPI: SLIC 00000000da8c43b8 00176 (v01 _ASUS_ Notebook 01072009 ASUS 00000001)
[    0.000000] ACPI: HPET 00000000da8c4530 00038 (v01 _ASUS_ Notebook 01072009 AMI. 00000005)
[    0.000000] ACPI: SSDT 00000000da8c4568 009D0 (v01  PmRef  Cpu0Ist 00003000 INTL 20051117)
[    0.000000] ACPI: SSDT 00000000da8c4f38 00A92 (v01  PmRef    CpuPm 00003000 INTL 20051117)
[    0.000000] ACPI: DMAR 00000000da8c59d0 000B8 (v01 INTEL      SNB  00000001 INTL 00000001)
[    0.000000] ACPI: BGRT 00000000da8c5a88 00038 (v00 _ASUS_ Notebook 01072009 ASUS 00010013)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.004300] ACPI: Core revision 20120320
[    0.275183] PM: Registering ACPI NVS region [mem 0xd97e5000-0xd9de5fff] (6295552 bytes)
[    0.275292] PM: Registering ACPI NVS region [mem 0xda65d000-0xda8dcfff] (2621440 bytes)
[    0.275333] PM: Registering ACPI NVS region [mem 0xda8e3000-0xda925fff] (274432 bytes)
[    0.276481] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.276483] ACPI: bus type pci registered
[    0.300049] ACPI: Added _OSI(Module Device)
[    0.300051] ACPI: Added _OSI(Processor Device)
[    0.300052] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.300054] ACPI: Added _OSI(Processor Aggregator Device)
[    0.302751] ACPI: EC: EC description table is found, configuring boot EC
[    0.305561] ACPI: Executed 1 blocks of module-level executable AML code
[    0.309811] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.310289] ACPI: SSDT 00000000da60a018 00853 (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
[    0.310971] ACPI: Dynamic OEM Table Load:
[    0.310973] ACPI: SSDT           (null) 00853 (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
[    0.311290] ACPI: SSDT 00000000da60ba98 00303 (v01  PmRef    ApIst 00003000 INTL 20051117)
[    0.312001] ACPI: Dynamic OEM Table Load:
[    0.312003] ACPI: SSDT           (null) 00303 (v01  PmRef    ApIst 00003000 INTL 20051117)
[    0.312154] ACPI: SSDT 00000000da60cc18 00119 (v01  PmRef    ApCst 00003000 INTL 20051117)
[    0.312832] ACPI: Dynamic OEM Table Load:
[    0.312834] ACPI: SSDT           (null) 00119 (v01  PmRef    ApCst 00003000 INTL 20051117)
[    0.313597] ACPI: Interpreter enabled
[    0.313601] ACPI: (supports S0 S3 S4 S5)
[    0.313631] ACPI: Using IOAPIC for interrupt routing
[    0.320946] ACPI: EC: GPE = 0x19, I/O: command/status = 0x66, data = 0x62
[    0.321198] ACPI: No dock devices found.
[    0.321202] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.321556] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[    0.329290] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.329446] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
[    0.329481] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
[    0.329640]  pci0000:00: >Requesting ACPI _OSC control (0x1d)
[    0.329877]  pci0000:00: >ACPI _OSC control (0x18) granted
[    0.335109] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12)
[    0.335160] ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 5 6 7 10 12)
[    0.335206] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 12)
[    0.335251] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 12)
[    0.335301] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.335347] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 12) *0, disabled.
[    0.335393] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 6 7 10 12)
[    0.335438] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 *4 5 6 7 10 12)
[    0.335562] PCI: Using ACPI for IRQ routing
[    0.345123] pnp: PnP ACPI init
[    0.345139] ACPI: bus type pnp registered
[    0.345548] pnp 00:00: >Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
[    0.345616] system 00:01: >Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.345712] pnp 00:02: >Plug and Play ACPI device, IDs PNP0200 (active)
[    0.345748] pnp 00:03: >Plug and Play ACPI device, IDs INT0800 (active)
[    0.345867] pnp 00:04: >Plug and Play ACPI device, IDs PNP0103 (active)
[    0.345970] system 00:05: >Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.346020] pnp 00:06: >Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.346091] system 00:07: >Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[    0.346178] system 00:08: >Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.346224] pnp 00:09: >Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.346306] pnp 00:0a: >Plug and Play ACPI device, IDs ETD0105 SYN0a00 SYN0002 PNP0f03 PNP0f13 PNP0f12 (active)
[    0.346369] pnp 00:0b: >Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[    0.346691] system 00:0c: >Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.346813] system 00:0d: >Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.347016] system 00:0e: >Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.347046] pnp: PnP ACPI: found 15 devices
[    0.347047] ACPI: ACPI bus type pnp unregistered
[    0.910606] ACPI: bus type usb registered
[    1.276261] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.276446] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[    1.276449] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    1.296182] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.296357] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[    1.296377] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    1.675863] ACPI: AC Adapter [AC0] (on-line)
[    1.676919] ACPI: Requesting acpi_cpufreq
[    1.684969] ACPI: acpi_idle registered with cpuidle
[    1.691335] ACPI: Lid Switch [LID]
[    1.691418] ACPI: Power Button [PWRB]
[    1.691479] ACPI: Sleep Button [SLPB]
[    1.698580] ACPI: Thermal Zone [THRM] (43 C)
[    1.708138] ACPI: Battery Slot [BAT0] (battery present)
[    1.717388] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \SMB0 1 (20120320/utaddress-251)
[    1.717397] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 2 (20120320/utaddress-251)
[    1.717404] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    1.717965] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \GPIS 1 (20120320/utaddress-251)
[    1.717971] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 2 (20120320/utaddress-251)
[    1.717975] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    1.717979] ACPI Warning: 0x0000000000000500-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20120320/utaddress-251)
[    1.717982] ACPI Warning: 0x0000000000000500-0x000000000000053f SystemIO conflicts with Region \GP01 2 (20120320/utaddress-251)
[    1.717985] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    1.949731] asus_wmi: Backlight controlled by ACPI video driver
[    5.539106] ACPI Warning: _BQC returned an invalid level (20120320/video-472)
[    5.539718] acpi device:35: >registered as cooling_device4
[    5.558905] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)

Offline

#2 2012-10-06 19:13:09

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: ACPI not reporting battery information

https://wiki.archlinux.org/index.php/ACPI_modules

Notice it says "ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver" so maybe it would be better to use the asus_laptop module.

My thinkpad uses thinkpad_acpi

Offline

#3 2012-10-08 01:28:46

mindcruft
Member
Registered: 2010-09-22
Posts: 10

Re: ACPI not reporting battery information

It seems those errors are unrelated Interesting thing though to this. However I did notice something interesting, basically it's missing on proc but is there in sys. From what I understand the the proc method is disabled, however I would assume the acpi command would have been updated to use the new method as well.

ls -l /proc/acpi/
total 0
dr-xr-xr-x 3 root root 0 Oct  7 17:21 button
-rw-r--r-- 1 root root 0 Oct  7 17:21 wakeup
ls -l /sys/class/power_supply/BAT0/
total 0
-rw-r--r-- 1 root root 4096 Oct  7 15:16 alarm
-r--r--r-- 1 root root 4096 Oct  7 17:11 cycle_count
lrwxrwxrwx 1 root root    0 Oct  7 17:11 device -> ../../../PNP0C0A:00
-r--r--r-- 1 root root 4096 Oct  7 17:11 energy_full
-r--r--r-- 1 root root 4096 Oct  7 15:16 energy_full_design
-r--r--r-- 1 root root 4096 Oct  7 15:16 energy_now
-r--r--r-- 1 root root 4096 Oct  7 17:11 manufacturer
-r--r--r-- 1 root root 4096 Oct  7 17:11 model_name
drwxr-xr-x 2 root root    0 Oct  7 15:29 power
-r--r--r-- 1 root root 4096 Oct  7 17:11 power_now
-r--r--r-- 1 root root 4096 Oct  7 15:16 present
-r--r--r-- 1 root root 4096 Oct  7 17:11 serial_number
-r--r--r-- 1 root root 4096 Oct  7 17:11 status
lrwxrwxrwx 1 root root    0 Oct  7 15:16 subsystem -> ../../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 Oct  7 17:11 technology
-r--r--r-- 1 root root 4096 Oct  7 15:16 type
-rw-r--r-- 1 root root 4096 Oct  7 15:16 uevent
-r--r--r-- 1 root root 4096 Oct  7 17:11 voltage_min_design
-r--r--r-- 1 root root 4096 Oct  7 17:11 voltage_now

Offline

#4 2012-10-08 02:30:54

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: ACPI not reporting battery information

the acpi command does use /sys, and yes, /proc/acpi/battery is deprecated.  Now sure exactly what you are asking then.

Offline

#5 2012-10-08 03:40:39

mindcruft
Member
Registered: 2010-09-22
Posts: 10

Re: ACPI not reporting battery information

I am trying to figure out why the acpi command is not returning any results.

Offline

Board footer

Powered by FluxBB