Bug 63491 - ASUSTeK TX300CA: second battery is not detected
Summary: ASUSTeK TX300CA: second battery is not detected
Status: CLOSED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Lan Tianyu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 17:05 UTC by mealejan
Modified: 2014-06-12 06:19 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.x
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Output of dmidecode (9.69 KB, text/x-log)
2013-10-22 17:05 UTC, mealejan
Details
Output of lspci (1.46 KB, text/x-log)
2013-10-22 17:06 UTC, mealejan
Details
Acpidump dump (412.89 KB, text/x-log)
2013-10-23 13:23 UTC, mealejan
Details
Output of "grep . /sys/class/power_supply/BAT0/*" (1.71 KB, text/x-log)
2013-10-28 15:27 UTC, mealejan
Details
debug.patch (482 bytes, patch)
2013-12-05 00:39 UTC, Lan Tianyu
Details | Diff
Output of grep . /sys/class/power_supply/BAT0/* (1.71 KB, application/octet-stream)
2013-12-11 18:03 UTC, mealejan
Details
Output of dmesg of the patched kernel (82.48 KB, text/x-log)
2013-12-13 09:31 UTC, mealejan
Details

Description mealejan 2013-10-22 17:05:31 UTC
Created attachment 111951 [details]
Output of dmidecode

On my convertible TX300CA from Asus the battery in the dock isn't recognized. This limits the runtime to 1.5 hours.
Comment 1 mealejan 2013-10-22 17:06:40 UTC
Created attachment 111961 [details]
Output of lspci
Comment 2 Lan Tianyu 2013-10-23 01:05:13 UTC
Please provide the output of acpidump.
Comment 3 mealejan 2013-10-23 13:23:29 UTC
Created attachment 112081 [details]
Acpidump dump
Comment 4 mealejan 2013-10-25 17:41:39 UTC
Can I provide any more info to help you resolve the issue?
Comment 5 Lan Tianyu 2013-10-28 02:03:59 UTC
Please provide the output of "grep . /sys/class/power_supply/BAT0/*" when the machine is in the dock.
Comment 6 mealejan 2013-10-28 15:27:56 UTC
Created attachment 112551 [details]
Output of "grep . /sys/class/power_supply/BAT0/*"
Comment 7 Lan Tianyu 2013-12-05 00:39:44 UTC
Created attachment 117521 [details]
debug.patch

Sorry for later response. Please apply the debug patch and rebuild kernel. After booting, run "grep . /sys/class/power_supply/BAT0/*" and attach the dmesg. The debug patch is to print the value of state returned by Bios.
Comment 8 Lan Tianyu 2013-12-11 14:45:20 UTC
ping ..
Comment 9 mealejan 2013-12-11 14:50:28 UTC
I am at it.
Comment 10 yoann.losbar 2013-12-11 15:13:04 UTC
I have got a TX300CA too, and the same problem, and I'm available for making some tests on it if you need to, guys.
Comment 11 mealejan 2013-12-11 17:57:57 UTC
grep: /sys/class/power_supply/BAT0/subsystem: Ist ein Verzeichnis
/sys/class/power_supply/BAT0/technology:Li-ion
/sys/class/power_supply/BAT0/type:Battery
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_NAME=BAT0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_STATUS=Unknown
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_PRESENT=1
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CYCLE_COUNT=380
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=7600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=7600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_POWER_NOW=0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_FULL_DESIGN=38000000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_FULL=36046000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_NOW=34792000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CAPACITY=96
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MODEL_NAME=TX30--50
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MANUFACTURER=ASUSTeK
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_SERIAL_NUMBER= 
/sys/class/power_supply/BAT0/voltage_min_design:7600000
/sys/class/power_supply/BAT0/voltage_now:7600000
Comment 12 mealejan 2013-12-11 18:03:31 UTC
Created attachment 118091 [details]
Output of grep . /sys/class/power_supply/BAT0/*

Ptched Kernel 3.12.4
Comment 13 Lan Tianyu 2013-12-12 08:52:31 UTC
Please attach the dmesg after grepping sysfs interface with the patch in the comment 7.
Comment 14 mealejan 2013-12-13 09:31:50 UTC
Created attachment 118231 [details]
Output of dmesg of the patched kernel
Comment 15 Lan Tianyu 2014-05-21 07:37:29 UTC
Hi, Sorry for later response. After reviewing the bug, I found I went a wrong direction. In the ACPI table, I only find one Battery device(BAT0) that we see. About the second battery, it wasn't shown in the DSDT table and so this is not a ACPI bug.

Note You need to log in before you can comment on or make changes to this bug.