[ACPI-sppt] Battery Status in Acer Aspire 1700

Cirrus <[email protected]>
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
Recently I got myself an acer 1703SM laptop. Very nice and fast laptop (quite 
heavy as well). Anyway since then I have been trying to get the battery 
status working on linux.
I've been using a 2.4.21 kernel and tried both acpi-20030619 and 
acpi-20030523-2.4.21-rc3. Everything seems to go as planned as I load the 
battery module. But when I do a cat /proc/acpi/battery/BAT1/state I get:
	present:                 yes
	ERROR: Unable to read battery status
among with some errors in the logs:

psargs-0352: *** Error: Looking up [Z009] in namespace, AE_NOT_FOUND
search_node c1590ea8 start_node c1590ea8 return_node 00000000
psparse-1121: *** Error: , AE_NOT_FOUND
dswexec-0422 [23] ds_exec_end_op        : [Index]: Could not resolve 
operands, AE_NOT_FOUND
psparse-1121: *** Error: Method execution failed [\_SB_.BAT1._BST] (Node 
c15bf428), AE_NOT_FOUND
acpi_battery-0195 [15] acpi_battery_get_statu: Error evaluating _BST

I would really appreciate some help fixing this.

I'm also including my dmesg output and a link for my dsdt file disassembled 
with iasl, acer.dsl. In case someone is kind enough to fix it (if that is 
where the problem is).

Thanks,
Cirrus


Link for dsdt: http://www.cirrus.eurobell.co.uk/acer.dsl.gz

dmesg:

Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
 IO-APIC (apicid-pin) 1-0, 1-2, 1-17, 1-18, 1-19, 1-20, 1-21, 1-22, 1-23 not 
connected.
..TIMER: vector=0x31 pin1=16 pin2=0
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ... 
..... (found pin 0) ...works.
number of MP IRQ sources: 16.
number of IO-APIC #1 registers: 24.
testing the IO APIC.......................

IO APIC #1......
.... register #00: 01000000
.......    : physical APIC id: 01
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00178011
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0011
.... register #02: 01000000
.......     : arbitration: 01
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
 00 001 01  0    0    0   0   0    1    1    31
 01 001 01  0    0    0   0   0    1    1    39
 02 000 00  1    0    0   0   0    0    0    00
 03 001 01  0    0    0   0   0    1    1    41
 04 001 01  0    0    0   0   0    1    1    49
 05 001 01  0    0    0   0   0    1    1    51
 06 001 01  0    0    0   0   0    1    1    59
 07 001 01  0    0    0   0   0    1    1    61
 08 001 01  0    0    0   0   0    1    1    69
 09 001 01  0    0    0   0   0    1    1    71
 0a 001 01  0    0    0   0   0    1    1    79
 0b 001 01  0    0    0   0   0    1    1    81
 0c 001 01  0    0    0   0   0    1    1    89
 0d 001 01  0    0    0   0   0    1    1    91
 0e 001 01  0    0    0   0   0    1    1    99
 0f 001 01  0    0    0   0   0    1    1    A1
 10 000 00  1    0    0   0   0    0    0    00
 11 000 00  1    0    0   0   0    0    0    00
 12 000 00  1    0    0   0   0    0    0    00
 13 000 00  1    0    0   0   0    0    0    00
 14 000 00  1    0    0   0   0    0    0    00
 15 000 00  1    0    0   0   0    0    0    00
 16 000 00  1    0    0   0   0    0    0    00
 17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:0
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2589.5112 MHz.
..... host bus clock speed is 99.5964 MHz.
cpu: 0, clocks: 995964, slice: 497982
CPU0<T0:995952,T1:497968,D:2,S:497982,C:995964>
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030619
PCI: PCI BIOS revision 2.10 entry at 0xfd9c6, last bus=1
PCI: Using configuration type 1
 tbxface-0117 [03] acpi_load_tables      : ACPI Tables successfully acquired
Parsing all Control 
Methods:.................................................................................................................................
Table [DSDT](id F004) - 498 Objects with 50 Devices 129 Methods 11 Regions
ACPI Namespace successfully loaded at root c030be9c
IOAPIC[0]: Set PCI routing entry (1-9 -> 0x71 -> IRQ 9)
APIC error on CPU0: 00(40)
evxfevnt-0093 [04] acpi_enable           : Transition to ACPI mode successful
evgpeblk-0748 [06] ev_create_gpe_block   : GPE 00 to 15 [_GPE] 2 regs at 
0000000000008020 on int 9
evgpeblk-0748 [06] ev_create_gpe_block   : GPE 16 to 31 [_GPE] 2 regs at 
0000000000008030 on int 9
Completing Region/Field/Buffer/Package 
initialization:......................................................  
psargs-0352: *** Error: Looking up [Z009] in namespace, AE_NOT_FOUND
search_node c1590ea8 start_node c1590ea8 return_node 00000000
 psparse-1121: *** Error: , AE_NOT_FOUND

  nsinit-0293 [06] ns_init_one_object    : Could not execute arguments for 
[PBST] (Package), AE_NOT_FOUND
.........
Initialized 11/11 Regions 5/5 Fields 18/18 Buffers 29/29 Packages (506 nodes)
Executing all Device _STA and_INI 
methods:...................................................
51 Devices found containing: 51 _STA, 2 _INI methods
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKA._CRS] (Node c159daa8), AE_TYPE
  uteval-0149 [16] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [13] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKA] (IRQs 7 10, disabled)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3, disabled)
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKC._CRS] (Node c159c8a8), AE_TYPE
  uteval-0149 [18] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [15] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKC] (IRQs 5, disabled)
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKD._CRS] (Node c159cf28), AE_TYPE
  uteval-0149 [19] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [16] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKD] (IRQs 10, disabled)
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKE._CRS] (Node c159b6a8), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKE] (IRQs 10, disabled)
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKF._CRS] (Node c159bd28), AE_TYPE
  uteval-0149 [21] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [18] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKF] (IRQs 10, disabled)
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKG._CRS] (Node c159a4a8), AE_TYPE
  uteval-0149 [22] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [19] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKG] (IRQs 10, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 10, disabled)
ACPI: Embedded Controller [EC0] (gpe 25)
PCI: Probing PCI hardware
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKA._CRS] (Node c159daa8), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 0
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKB._CRS] (Node c159c228), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 0
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKC._CRS] (Node c159c8a8), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 0
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKD._CRS] (Node c159cf28), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 0
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKE._CRS] (Node c159b6a8), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 0
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKF._CRS] (Node c159bd28), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 0
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKG._CRS] (Node c159a4a8), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 0
  uteval-0145: *** Error: Return object type is incorrect 
[\_SB_.PCI0.LPCB.LNKH._CRS] (Node c159ab28), AE_TYPE
  uteval-0149 [20] ut_evaluate_object    : Type returned from _CRS was 
incorrect: 1
pci_link-0246 [17] acpi_pci_link_get_curr: Error evaluating _CRS
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 0
IOAPIC[0]: Set PCI routing entry (1-17 -> 0xa9 -> IRQ 17)
00:00:02[B] -> 1-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (1-18 -> 0xb1 -> IRQ 18)
00:00:02[C] -> 1-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (1-20 -> 0xb9 -> IRQ 20)
00:00:03[A] -> 1-20 -> IRQ 20
IOAPIC[0]: Set PCI routing entry (1-21 -> 0xc1 -> IRQ 21)
00:00:03[B] -> 1-21 -> IRQ 21
IOAPIC[0]: Set PCI routing entry (1-22 -> 0xc9 -> IRQ 22)
00:00:03[C] -> 1-22 -> IRQ 22
IOAPIC[0]: Set PCI routing entry (1-23 -> 0xd1 -> IRQ 23)
00:00:03[D] -> 1-23 -> IRQ 23
IOAPIC[0]: Set PCI routing entry (1-19 -> 0xd9 -> IRQ 19)
00:00:04[A] -> 1-19 -> IRQ 19
Pin 1-17 already programmed
Pin 1-18 already programmed
Pin 1-19 already programmed
IOAPIC[0]: Set PCI routing entry (1-16 -> 0xe1 -> IRQ 16)
00:01:00[A] -> 1-16 -> IRQ 16
Pin 1-18 already programmed
 pci_irq-0297 [16] acpi_pci_irq_derive   : Unable to derive IRQ for device 
00:02.5
PCI: No IRQ known for interrupt pin A of device 00:02.5 - using IRQ 255
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 
'acpi=off'
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI 
ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
PCI: Enabling device 00:02.6 (0000 -> 0001)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
sis900.c: v1.08.06 9/24/2002
eth0: Unknown PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0x2000, IRQ 19, 00:c0:9f:27:af:e3.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 437M
agpgart: Detected SiS 650 chipset
agpgart: unable to determine aperture size.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
 pci_irq-0297 [15] acpi_pci_irq_derive   : Unable to derive IRQ for device 
00:02.5
PCI: No IRQ known for interrupt pin A of device 00:02.5 - using IRQ 255
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SiS650    ATA 133 controller
    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
hda: MATSHITADVD-RAM UJ-811, ATAPI CD/DVD-ROM drive
hdc: ST380012A, ATA DISK drive
blk: queue c0325dd4, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 156301488 sectors (80026 MB) w/1024KiB Cache, CHS=9729/255/63, UDMA(100)
hda: attached ide-cdrom driver.
hda: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hdc: hdc1 hdc2 hdc3 hdc4
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
host/usb-ohci.c: USB OHCI at membase 0xe0819000, IRQ 20
host/usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] 7001
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-ohci.c: USB OHCI at membase 0xe081b000, IRQ 21
host/usb-ohci.c: usb-00:03.1, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-ohci.c: USB OHCI at membase 0xe081d000, IRQ 22
host/usb-ohci.c: usb-00:03.2, Silicon Integrated Systems [SiS] 7001 (#3)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 112k freed
Adding Swap: 1775172k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,2), internal journal
Real Time Clock Driver v1.10e
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
PCI: Enabling device 00:0a.0 (0000 -> 0002)
Yenta IRQ list 0098, PCI irq17
Socket status: 30000007


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.