public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acer travelmate 2313 battery problem.
@ 2005-10-20  9:35 marek czardybon
       [not found] ` <435764CD.1090700-MEOeS5c08o1g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: marek czardybon @ 2005-10-20  9:35 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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 ?


-- 
marek czardybon / maxilee   +48 0697 724 404       http://inbox.eu.org
GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/wNWPw@public.gmane.org                  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: acer travelmate 2313 battery problem.
@ 2005-10-20 15:12 Yu, Luming
  2005-10-21  7:26 ` marek czardybon
  0 siblings, 1 reply; 5+ messages in thread
From: Yu, Luming @ 2005-10-20 15:12 UTC (permalink / raw)
  To: marek czardybon, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Please test patch at http://bugzilla.kernel.org/show_bug.cgi?id=5322

Thanks
Luming 

>-----Original Message-----
>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
>[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of 
>marek czardybon
>Sent: 2005年10月20日 17:35
>To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: [ACPI] acer travelmate 2313 battery problem.
>
>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 ?
>
>
>-- 
>marek czardybon / maxilee   +48 0697 724 404       http://inbox.eu.org
>GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/wNWPw@public.gmane.org                  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
>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: acer travelmate 2313 battery problem.
       [not found] ` <435764CD.1090700-MEOeS5c08o1g9hUCZPvPmw@public.gmane.org>
@ 2005-10-20 17:30   ` foo_bar_baz_boo-acpi-/E1597aS9LQAvxtiuMwx3w
       [not found]     ` <20051020173040.51826.qmail-AjlHvM9Xp4mA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: foo_bar_baz_boo-acpi-/E1597aS9LQAvxtiuMwx3w @ 2005-10-20 17:30 UTC (permalink / raw)
  To: marek czardybon, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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!

--- marek czardybon <max-MEOeS5c08o1g9hUCZPvPmw@public.gmane.org> wrote:

> 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 ?
> 
> 
> -- 
> marek czardybon / maxilee   +48 0697 724 404      
> http://inbox.eu.org
> GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/wNWPw@public.gmane.org                 
> 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
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: acer travelmate 2313 battery problem.
  2005-10-20 15:12 acer travelmate 2313 battery problem Yu, Luming
@ 2005-10-21  7:26 ` marek czardybon
  0 siblings, 0 replies; 5+ messages in thread
From: marek czardybon @ 2005-10-21  7:26 UTC (permalink / raw)
  To: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Dnia 2005-10-20 17:12, Yu, Luming napisał:
> Please test patch at http://bugzilla.kernel.org/show_bug.cgi?id=5322
> 
> Thanks
> Luming 
> 
> 
[cut]

ehlo.

after applaying this path battery works fine :)

maxik:~# cat /proc/acpi/battery/BAT1/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mA
remaining capacity:      1873 mAh
present voltage:         0 mV

but as foo_bar_baz_boo-acpi-/E1597aS9LQAvxtiuMwx3w@public.gmane.org write I've got buggy BIOS.
after decompile my DSDT table ther are errors - today I'll try to fix DSDT table ...

I'll send a report after tests ...

THx for help.

with regards.
-- 
marek czardybon / maxilee   +48 0697 724 404       http://inbox.eu.org
GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/wNWPw@public.gmane.org                  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: acer travelmate 2313 battery problem.
       [not found]     ` <20051020173040.51826.qmail-AjlHvM9Xp4mA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
@ 2005-10-21 12:56       ` marek czardybon
  0 siblings, 0 replies; 5+ messages in thread
From: marek czardybon @ 2005-10-21 12:56 UTC (permalink / raw)
  To: foo_bar_baz_boo-acpi-/E1597aS9LQAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Dnia 2005-10-20 19:30, foo_bar_baz_boo-acpi-/E1597aS9LQAvxtiuMwx3w@public.gmane.org napisał:
> 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.

-- 
marek czardybon / maxilee   +48 0697 724 404       http://inbox.eu.org
GG:3299479 JAB:maxilee-veJsmC5npURmR6Xm/wNWPw@public.gmane.org                  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-21 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 15:12 acer travelmate 2313 battery problem Yu, Luming
2005-10-21  7:26 ` marek czardybon
  -- strict thread matches above, loose matches on Subject: below --
2005-10-20  9:35 marek czardybon
     [not found] ` <435764CD.1090700-MEOeS5c08o1g9hUCZPvPmw@public.gmane.org>
2005-10-20 17:30   ` foo_bar_baz_boo-acpi-/E1597aS9LQAvxtiuMwx3w
     [not found]     ` <20051020173040.51826.qmail-AjlHvM9Xp4mA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2005-10-21 12:56       ` marek czardybon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox