Skip to contentSkip to conversation

acer travelmate 2313 battery problem.

DISCUSSION marek czardybon 2 participants 3 messages Oct 20, 2005 – Oct 21, 2005 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hello.

I'm using acer travlemate 2313. I've installed Debian 3.1 on it. I've kernel 2.6.13 with acpi-20050902-2.6.13 patch. All works fine but without battery.

When I load module "battery" battery is detected

form dmesg:
"ACPI: Battery Slot [BAT1] (battery present)"

under /proc/acpi I can see battery directory and BAT1 in it.

list from it:

maxik:/proc/acpi/battery/BAT1# cat state
present:                 yes
ERROR: Unable to read battery status
maxik:/proc/acpi/battery/BAT1# cat alarm
alarm:                   unsupported
maxik:/proc/acpi/battery/BAT1# cat info
present:                 yes
design capacity:         2000 mAh
last full capacity:      1873 mAh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 300 mAh
design capacity low:     74 mAh
capacity granularity 1:  32 mAh
capacity granularity 2:  32 mAh
model number:            11ZL
serial number:           3149
battery type:            LION
OEM info:                SIMPLO

but in dmesg i've:

"ACPI: Battery Slot [BAT1] (battery present)
psargs-0339: *** Error: Looking up [Z004] in namespace, AE_NOT_FOUND
search_node cddc5628 start_node cddc5628 return_node 00000000
dswexec-0460 [2350] ds_exec_end_op : [Index]: Could not resolve
operands, AE_NOT_FOUND
psparse-0508: *** Error: Method execution failed [\_SB_.BAT1._BST] (Node
cddc5428), AE_NOT_FOUND
acpi_battery-0205 [2341] battery_get_status : Error evaluating _BST
psargs-0339: *** Error: Looking up [Z004] in namespace, AE_NOT_FOUND
search_node cddc5628 start_node cddc5628 return_node 00000000
dswexec-0460 [2364] ds_exec_end_op : [Index]: Could not resolve
operands, AE_NOT_FOUND
psparse-0508: *** Error: Method execution failed [\_SB_.BAT1._BST] (Node
cddc5428), AE_NOT_FOUND
acpi_battery-0205 [2355] battery_get_status : Error evaluating _BST"

And any application can't read status of battery...

Any sugestion with this ?
I've searched google with this problem but I can't find nothing ?

Signature · 10 lines
marek czardybon / maxilee   +48 0697 724 404       http://inbox.eu.org
GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/[email protected]                  http://outbox.eu.org
ARP: 00:90:CC:43:D8:0D         GCC d? s:- a- C+++ UL++ P++ L++ E--- W+
N+ o K w--- O M- V- PS+ PE+ Y PGP t 5 X+R+ !tv b+ DI- D++ G e h r++ y?


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

That's a little bit weird but similar to the problem I had with my Acer. You will need to build the IASL DSDT compiler and fix your DSDT, because there is not a fixed one in the ACPI4Linux database yet. But first, before you try that, try upgrading your BIOS and seeing if that solves the problem.

Please look here http://forums.gentoo.org/viewtopic.php?t=122145 for ideas. They apply to more than just Gentoo machines.

HTH!

Quoted 61 lines · --- marek czardybon

Hello.

I'm using acer travlemate 2313. I've installed Debian 3.1 on it. I've kernel 2.6.13 with acpi-20050902-2.6.13 patch. All works fine but without battery.

When I load module "battery" battery is detected

form dmesg:
"ACPI: Battery Slot [BAT1] (battery present)"

under /proc/acpi I can see battery directory and BAT1 in it.

list from it:

maxik:/proc/acpi/battery/BAT1# cat state
present:                 yes
ERROR: Unable to read battery status
maxik:/proc/acpi/battery/BAT1# cat alarm
alarm:                   unsupported
maxik:/proc/acpi/battery/BAT1# cat info
present:                 yes
design capacity:         2000 mAh
last full capacity:      1873 mAh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 300 mAh
design capacity low:     74 mAh
capacity granularity 1:  32 mAh
capacity granularity 2:  32 mAh
model number:            11ZL
serial number:           3149
battery type:            LION
OEM info:                SIMPLO

but in dmesg i've:

"ACPI: Battery Slot [BAT1] (battery present)
psargs-0339: *** Error: Looking up [Z004] in namespace,
AE_NOT_FOUND
search_node cddc5628 start_node cddc5628 return_node 00000000
dswexec-0460 [2350] ds_exec_end_op : [Index]: Could not
resolve
operands, AE_NOT_FOUND
psparse-0508: *** Error: Method execution failed [\_SB_.BAT1._BST]
(Node
cddc5428), AE_NOT_FOUND
acpi_battery-0205 [2341] battery_get_status : Error evaluating
_BST
psargs-0339: *** Error: Looking up [Z004] in namespace,
AE_NOT_FOUND
search_node cddc5628 start_node cddc5628 return_node 00000000
dswexec-0460 [2364] ds_exec_end_op : [Index]: Could not
resolve
operands, AE_NOT_FOUND
psparse-0508: *** Error: Method execution failed [\_SB_.BAT1._BST]
(Node
cddc5428), AE_NOT_FOUND
acpi_battery-0205 [2355] battery_get_status : Error evaluating
_BST"

Quoted 27 lines

And any application can't read status of battery...

Any sugestion with this ?
I've searched google with this problem but I can't find nothing ?

Signature · 19 lines
marek czardybon / maxilee   +48 0697 724 404      
http://inbox.eu.org
GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/[email protected]                 
http://outbox.eu.org
ARP: 00:90:CC:43:D8:0D         GCC d? s:- a- C+++ UL++ P++ L++ E---
W+
N+ o K w--- O M- V- PS+ PE+ Y PGP t 5 X+R+ !tv b+ DI- D++ G e h r++
y?


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads,
discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Acpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl

A message that is not in the archive (sent off-list or not yet received): 20051020173040.51826.qmail-AjlHvM9Xp4mA/[email protected]

#4 lore raw
Quoted 9 lines · Dnia 2005-10-20 19:30, foo_bar_baz_boo-acpi-/[email protected]…

That's a little bit weird but similar to the problem I had with my Acer. You will need to build the IASL DSDT compiler and fix your DSDT, because there is not a fixed one in the ACPI4Linux database yet. But first, before you try that, try upgrading your BIOS and seeing if that solves the problem.

Please look here http://forums.gentoo.org/viewtopic.php?t=122145 for ideas. They apply to more than just Gentoo machines.

[cut]

I've downloaded tools from this link and here is my output:

maxik:/usr/src/battery/iasl-linux-20030918# ./iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030918 [Sep 18 2003] Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.dsl 1577: Method (_CRS, 0, Serialized)
Warning 2019 - ^ Not all control paths return a value (_CRS)

dsdt.dsl 1577: Method (_CRS, 0, Serialized)
Warning 2026 - ^ Reserved method must return a value (_CRS)

dsdt.dsl 2673: Z004,
Error 1022 - ^ Object does not exist (Z004)

dsdt.dsl 2674: Z004,
Error 1022 - ^ Object does not exist (Z004)

dsdt.dsl 3049: Method (_WAK, 1, NotSerialized)
Warning 2026 - ^ Reserved method must return a value (_WAK)

ASL Input: dsdt.dsl - 3169 lines, 107438 bytes, 1506 keywords Compilation complete. 2 Errors, 3 Warnings, 0 Remarks, 510 Optimizations

I've corected this 2 error after read this http://acpi.sourceforge.net/dsdt/view.php?id=405

and one warning using http://users.pandora.be/PrittyFlemishPages/linux/aspire1800_3.html

and now i've somethink like this:

maxik:/usr/src/battery/iasl-linux-20030918# ./iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030918 [Sep 18 2003] Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.dsl 1577: Method (_CRS, 0, Serialized)
Warning 2019 - ^ Not all control paths return a value (_CRS)

dsdt.dsl 1577: Method (_CRS, 0, Serialized)
Warning 2026 - ^ Reserved method must return a value (_CRS)

ASL Input:  dsdt.dsl - 3171 lines, 107474 bytes, 1507 keywords
AML Output: DSDT.aml - 12898 bytes 371 named objects 1136 executable opcodes

Compilation complete. 0 Errors, 2 Warnings, 0 Remarks, 512 Optimizations

Now i've to compile DSDT into my kernel and test it. after weekend i'll send report from tests.

Signature · 10 lines
marek czardybon / maxilee   +48 0697 724 404       http://inbox.eu.org
GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/[email protected]                  http://outbox.eu.org
ARP: 00:90:CC:43:D8:0D         GCC d? s:- a- C+++ UL++ P++ L++ E--- W+
N+ o K w--- O M- V- PS+ PE+ Y PGP t 5 X+R+ !tv b+ DI- D++ G e h r++ y?


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl