Bug 34532

Summary: Battery not detected
Product: ACPI Reporter: Otto Domínguez (otto)
Component: Power-BatteryAssignee: Lan Tianyu (tianyu.lan)
Status: CLOSED DUPLICATE    
Severity: normal CC: gmoutso, killford, lenb, rui.zhang, sixdeags
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.38-8 ubuntu Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg
acpidump
acpidump
dmesg

Description Otto Domínguez 2011-05-04 22:01:16 UTC
Created attachment 56652 [details]
dmesg

Toshiba L645-SP4130L, Insyde H2O BIOS 2.30 (latest available).
Battery is not detected.
Comment 1 Otto Domínguez 2011-05-04 22:01:55 UTC
Created attachment 56662 [details]
acpidump
Comment 2 Steve 2011-05-16 17:00:10 UTC
Hi,
my Toshiba L645-S4060 also has this.
bios version 1.70

Using ubuntu 11.04

battery shows as not present, and ac-adapter plugged/unplugged never changes
in /proc/acpi/

My DSDT looks similar to Otto's

I changed my DSDT and compiled it into a custom kernel.

Originally ther was this line under the EC0 device:
OperationRegion (EMEM, SystemMemory, 0xFF808001, 0xFF)


I changed it to this:
OperationRegion (EMEM, EmbeddedControl, 0x00, 0xFF)

now battery status and ac adapter status seem to work perfectly.
-Steve
Comment 3 Steve 2011-05-16 17:09:37 UTC
Created attachment 58212 [details]
acpidump
Comment 4 RES 2011-05-22 23:01:07 UTC
No dsdt file present in /proc/acpi

Battery is not detected.

cat /proc/acpi/battery/BAT1/*
present:                 no
present:                 no
present:                 no

There is no BAT0.

uname -a
Linux erased 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz GenuineIntel GNU/Linux

This is on a toshiba satellite L645-S4104, new bios version 2.30. I've attached a copy of dmesg.
Comment 5 RES 2011-05-22 23:02:10 UTC
Created attachment 59032 [details]
dmesg
Comment 6 Zhang Rui 2011-05-23 01:28:06 UTC

*** This bug has been marked as a duplicate of bug 15707 ***
Comment 7 George 2011-05-23 11:53:32 UTC
What Steve did works for me on Satellite L600