Created attachment 26779 [details] acpidump output The battery always shows as being at 0% charged # acpi -V Battery 0: Unknown, 0%, rate information unavailable Battery 0: design capacity 4400 mAh, last full capacity 4400 mAh = 100% Adapter 0: on-line Thermal 0: ok, 40.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 105.0 degrees C Thermal 0: trip point 1 switches to mode passive at temperature 98.0 degrees C Cooling 0: LCD 0 of 9 Cooling 1: LCD 0 of 9 Cooling 2: Processor 0 of 10 Cooling 3: Processor 0 of 10 Cooling 4: Processor 0 of 10 Cooling 5: Processor 0 of 10 # grep . /proc/acpi/battery/*/* /proc/acpi/battery/BAT1/alarm:alarm: 300 mAh /proc/acpi/battery/BAT1/info:present: yes /proc/acpi/battery/BAT1/info:design capacity: 4400 mAh /proc/acpi/battery/BAT1/info:last full capacity: 4400 mAh /proc/acpi/battery/BAT1/info:battery technology: rechargeable /proc/acpi/battery/BAT1/info:design voltage: 11100 mV /proc/acpi/battery/BAT1/info:design capacity warning: 300 mAh /proc/acpi/battery/BAT1/info:design capacity low: 132 mAh /proc/acpi/battery/BAT1/info:capacity granularity 1: 32 mAh /proc/acpi/battery/BAT1/info:capacity granularity 2: 32 mAh /proc/acpi/battery/BAT1/info:model number: BAT1 /proc/acpi/battery/BAT1/info:serial number: 11 /proc/acpi/battery/BAT1/info:battery type: 11 /proc/acpi/battery/BAT1/info:OEM info: 11 /proc/acpi/battery/BAT1/state:present: yes /proc/acpi/battery/BAT1/state:capacity state: ok /proc/acpi/battery/BAT1/state:charging state: charged /proc/acpi/battery/BAT1/state:present rate: unknown /proc/acpi/battery/BAT1/state:remaining capacity: unknown /proc/acpi/battery/BAT1/state:present voltage: 10000 mV
Created attachment 26780 [details] dmesg output
Also tested with plain kernel 2.6.34 and 2.6.35-rc3 with same results.
The temperature reading also does not work on this model.
Created attachment 26878 [details] dsdt.dsl
Created attachment 26879 [details] ssdt2.dsl I also get compile errors for the ssdt2.dsl file and it also mentions BAT1
Here is my log: http://pastebin.com/qV5bZ1n8
Created attachment 26968 [details] custom _BST method Please 1. build a kernel, later than 2.6.34, set CONFIG_ACPI_DEBUG. 2. reboot with acpi.debug_layer=0x80, acpi.debug_level=0x06. 3. mount debugfs to /sys/kernel/debug 4. download this _BST.aml file 5. apply this custom _BST control method by running "cat _BST.aml > /sys/kernel/debug/acpi/custom_method" 6. run "grep . /proc/acpi/battery/*/*" 7. attach the dmesg output after this test.
Kernel: v2.6.35-rc3-242-g5904b3b Config: http://pastebin.com/7WN8Pmr2 Dmesg after grep: http://pastebin.ca/1891716
Forgot to paste grep: /proc/acpi/battery/BAT1/alarm:alarm: 300 mAh /proc/acpi/battery/BAT1/info:present: yes /proc/acpi/battery/BAT1/info:design capacity: 4400 mAh /proc/acpi/battery/BAT1/info:last full capacity: 4400 mAh /proc/acpi/battery/BAT1/info:battery technology: rechargeable /proc/acpi/battery/BAT1/info:design voltage: 11100 mV /proc/acpi/battery/BAT1/info:design capacity warning: 300 mAh /proc/acpi/battery/BAT1/info:design capacity low: 132 mAh /proc/acpi/battery/BAT1/info:cycle count: 0 /proc/acpi/battery/BAT1/info:capacity granularity 1: 32 mAh /proc/acpi/battery/BAT1/info:capacity granularity 2: 32 mAh /proc/acpi/battery/BAT1/info:model number: BAT1 /proc/acpi/battery/BAT1/info:serial number: 11 /proc/acpi/battery/BAT1/info:battery type: 11 /proc/acpi/battery/BAT1/info:OEM info: 11 /proc/acpi/battery/BAT1/state:present: yes /proc/acpi/battery/BAT1/state:capacity state: ok /proc/acpi/battery/BAT1/state:charging state: charged /proc/acpi/battery/BAT1/state:present rate: unknown /proc/acpi/battery/BAT1/state:remaining capacity: unknown /proc/acpi/battery/BAT1/state:present voltage: 10000 mV
(In reply to comment #8) > Kernel: v2.6.35-rc3-242-g5904b3b > Config: http://pastebin.com/7WN8Pmr2 > Dmesg after grep: http://pastebin.ca/1891716 sorry, I can not access these pages. can you attach them in the bugzilla?
Created attachment 26976 [details] Complete Log with latest git kernel.
Sorry, you should ungzip it first.
please run 1. "echo 0x02 > /sys/modules/acpi/parameters/debug_level" 2. dmesg -c 3. "grep . /proc/acpi/battery/*/*" 4. attach the dmesg output after this test.
Created attachment 26979 [details] log.gz [root@snowflake ~]# grep . /proc/acpi/battery/*/* /proc/acpi/battery/BAT1/alarm:alarm: 300 mAh /proc/acpi/battery/BAT1/info:present: yes /proc/acpi/battery/BAT1/info:design capacity: 4400 mAh /proc/acpi/battery/BAT1/info:last full capacity: 4400 mAh /proc/acpi/battery/BAT1/info:battery technology: rechargeable /proc/acpi/battery/BAT1/info:design voltage: 11100 mV /proc/acpi/battery/BAT1/info:design capacity warning: 300 mAh /proc/acpi/battery/BAT1/info:design capacity low: 132 mAh /proc/acpi/battery/BAT1/info:cycle count: 0 /proc/acpi/battery/BAT1/info:capacity granularity 1: 32 mAh /proc/acpi/battery/BAT1/info:capacity granularity 2: 32 mAh /proc/acpi/battery/BAT1/info:model number: BAT1 /proc/acpi/battery/BAT1/info:serial number: 11 /proc/acpi/battery/BAT1/info:battery type: 11 /proc/acpi/battery/BAT1/info:OEM info: 11 /proc/acpi/battery/BAT1/state:present: yes /proc/acpi/battery/BAT1/state:capacity state: ok /proc/acpi/battery/BAT1/state:charging state: charged /proc/acpi/battery/BAT1/state:present rate: unknown /proc/acpi/battery/BAT1/state:remaining capacity: unknown /proc/acpi/battery/BAT1/state:present voltage: 10000 mV With debug level 0x02 dmesg had no output at all. Attached with 0x06 instead
Created attachment 26980 [details] acpidump I also noticed that my acpidump is a little (a couple of lines in diff) different from acpidump posted here.
please run 1. "echo 0x02 > /sys/modules/acpi/parameters/debug_level" 2. "echo 0x88 > /sys/modules/acpi/parameters/debug_layer" 2. dmesg -c 3. "grep . /proc/acpi/battery/*/*" 4. attach the dmesg output after this test. this time.
dmesg was empty. If it can be useful, when i attached battery a message appeared PM: Adding info for No Bus:BAT1
No EC address space, results in ECON cleared.
I have Acer Aspire 5745G and i have the same problem. Linux wings 2.6.35-6-generic-pae #9~lucid1-Ubuntu SMP Wed Jun 30 12:48:10 UTC 2010 i686 GNU/Linux ~$ acpi -V Battery 0: Unknown, 0%, rate information unavailable Battery 0: design capacity 4400 mAh, last full capacity 4400 mAh = 100% Adapter 0: on-line Thermal 0: ok, 40.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 105.0 degrees C Thermal 0: trip point 1 switches to mode passive at temperature 98.0 degrees C Cooling 0: LCD 0 of 9 Cooling 1: Processor 0 of 10 Cooling 2: Processor 0 of 10 Cooling 3: Processor 0 of 10 Cooling 4: Processor 0 of 10 ~$ grep . /proc/acpi/battery/*/* /proc/acpi/battery/BAT1/alarm:alarm: 300 mAh /proc/acpi/battery/BAT1/info:present: yes /proc/acpi/battery/BAT1/info:design capacity: 4400 mAh /proc/acpi/battery/BAT1/info:last full capacity: 4400 mAh /proc/acpi/battery/BAT1/info:battery technology: rechargeable /proc/acpi/battery/BAT1/info:design voltage: 11100 mV /proc/acpi/battery/BAT1/info:design capacity warning: 300 mAh /proc/acpi/battery/BAT1/info:design capacity low: 132 mAh /proc/acpi/battery/BAT1/info:cycle count: 0 /proc/acpi/battery/BAT1/info:capacity granularity 1: 32 mAh /proc/acpi/battery/BAT1/info:capacity granularity 2: 32 mAh /proc/acpi/battery/BAT1/info:model number: BAT1 /proc/acpi/battery/BAT1/info:serial number: 11 /proc/acpi/battery/BAT1/info:battery type: 11 /proc/acpi/battery/BAT1/info:OEM info: 11 /proc/acpi/battery/BAT1/state:present: yes /proc/acpi/battery/BAT1/state:capacity state: ok /proc/acpi/battery/BAT1/state:charging state: charged /proc/acpi/battery/BAT1/state:present rate: unknown /proc/acpi/battery/BAT1/state:remaining capacity: unknown /proc/acpi/battery/BAT1/state:present voltage: 10000 mV
There's a workaround, but i'd like to see code that solves definetively our problem.
There is a workable patch here[1] and confirmed by Ubuntu user that the patch works correctly[2]. I'm trying to contact the patch owner now and I think I should expose it here to see if this patch is acceptable. [1] http://wiki.archlinux.org/index.php/Acer_TimelineX#Issues [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/578894
News about inclusion in main tree/creation of a new patch?
Solution is TimelineX-ACPI-fix.patch in kernel. I tested it on Acer 5820t, Ubuntu 10.04 with trevinos precompiled kernel 2.6.35 with this patch its working. patch: http://download.tuxfamily.org/3v1deb/acer-timelinex/ next info: http://georgia.ubuntuforums.org/showthread.php?t=1495123&page=9 5 weeks old solution and status still NEEDINFO <OMG> fix it in oficial kernel </OMG> thanks
BIOS 1.18 from acer solves this issue. I'm running with 2.6.35 without timelinex.patch
BIOS version 1.18 solves this issue for unpatched 2.6.32 as well.
Acer 5745G, BIOS 1.15 solves this issue for unpatched 2.6.32 $ grep . /proc/acpi/battery/*/* /proc/acpi/battery/BAT1/alarm:alarm: 300 mAh /proc/acpi/battery/BAT1/info:present: yes /proc/acpi/battery/BAT1/info:design capacity: 4400 mAh /proc/acpi/battery/BAT1/info:last full capacity: 4400 mAh /proc/acpi/battery/BAT1/info:battery technology: rechargeable /proc/acpi/battery/BAT1/info:design voltage: 10800 mV /proc/acpi/battery/BAT1/info:design capacity warning: 300 mAh /proc/acpi/battery/BAT1/info:design capacity low: 0 mAh /proc/acpi/battery/BAT1/info:capacity granularity 1: 32 mAh /proc/acpi/battery/BAT1/info:capacity granularity 2: 32 mAh /proc/acpi/battery/BAT1/info:model number: AS10B41 /proc/acpi/battery/BAT1/info:serial number: 4FCC /proc/acpi/battery/BAT1/info:battery type: LION /proc/acpi/battery/BAT1/info:OEM info: SONY /proc/acpi/battery/BAT1/state:present: yes /proc/acpi/battery/BAT1/state:capacity state: ok /proc/acpi/battery/BAT1/state:charging state: charged /proc/acpi/battery/BAT1/state:present rate: 0 mA /proc/acpi/battery/BAT1/state:remaining capacity: 4400 mAh /proc/acpi/battery/BAT1/state:present voltage: 12155 mV
Comment #24 From Radu Andries 2010-09-09 17:19:37 (-) [reply] ------- BIOS 1.18 from acer solves this issue. I'm running with 2.6.35 without timelinex.patch ------- Comment #25 From Hans Jørgen Hoel 2010-09-14 18:46:42 (-) [reply] ------- BIOS version 1.18 solves this issue for unpatched 2.6.32 as well. ------- Comment #26 From Igor 2010-09-14 18:59:20 (-) [reply] ------- Acer 5745G, BIOS 1.15 solves this issue for unpatched 2.6.32 Bug closed.