* Battery Status on Acer Extensa 4101
@ 2005-03-22 10:14 Philipp Wollermann
[not found] ` <200503221114.22874.phil_wo-hi6Y0CQ0nG0@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Philipp Wollermann @ 2005-03-22 10:14 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]
Hello again,
well - no one replied to my last mail, so I'll post again with the current
status. :-) The ACPI errors on boot continue to appear, however the only
thing which isn't working is to get the status of the battery. I can see it
in /proc/acpi/battery/BAT1/state but it says:
# cat /proc/acpi/battery/BAT1/state
present: yes
ERROR: Unable to read battery status
I tried to use the sbs-cm patches but they don't apply to my DSDT (actually,
the DSDT doesn't even compile with the IASL without any patches. :-(). I then
tried to use the program smartbatt which only needs a small kernel patch
(acpi-ec-2.6.10.diff which applies cleanly to my 2.6.11.3) and then tries to
access the battery using i2c. However there are no i2c busses detected!
bash-2.05b# ./smartbattery
Error: No i2c-bus specified!
Syntax: smartbatt I2CBUS
Error: No I2C busses found!
Be sure you have done 'modprobe i2c-dev'
and also modprobed your i2c bus drivers
I did load the modules of course. Does anyone have an idea how I could get the
state of my battery?
Philipp
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Battery Status on Acer Extensa 4101
[not found] ` <200503221114.22874.phil_wo-hi6Y0CQ0nG0@public.gmane.org>
@ 2005-03-23 16:50 ` Bruno Ducrot
0 siblings, 0 replies; 2+ messages in thread
From: Bruno Ducrot @ 2005-03-23 16:50 UTC (permalink / raw)
To: Philipp Wollermann; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, Mar 22, 2005 at 11:14:19AM +0100, Philipp Wollermann wrote:
> Hello again,
>
> well - no one replied to my last mail, so I'll post again with the current
> status. :-) The ACPI errors on boot continue to appear, however the only
> thing which isn't working is to get the status of the battery. I can see it
> in /proc/acpi/battery/BAT1/state but it says:
>
> # cat /proc/acpi/battery/BAT1/state
> present: yes
> ERROR: Unable to read battery status
>
> I tried to use the sbs-cm patches but they don't apply to my DSDT (actually,
> the DSDT doesn't even compile with the IASL without any patches. :-(). I then
> tried to use the program smartbatt which only needs a small kernel patch
> (acpi-ec-2.6.10.diff which applies cleanly to my 2.6.11.3) and then tries to
> access the battery using i2c. However there are no i2c busses detected!
>
> bash-2.05b# ./smartbattery
> Error: No i2c-bus specified!
> Syntax: smartbatt I2CBUS
> Error: No I2C busses found!
> Be sure you have done 'modprobe i2c-dev'
> and also modprobed your i2c bus drivers
It wont work: there isn't a smartbattery susbsystem declared in that DSDT
> I did load the modules of course. Does anyone have an idea how I could get the
> state of my battery?
That DSDT is buggy for sure, but Im not sure its the original one.
I cant debug anyway. I need a full acpidump (there are SSDT) and I got only
a decompiled DSDT from your previous mail.
wget ftp://ftp.kernel.org//pub/linux/kernel/people/lenb/acpi/utils/pmtools-20031210.tar.bz2
tar xjvfp pmtools-20031210.tar.bz2
cd pmtools-20031210/acpidmp
make
sudo ./acpidmp > acpidmp.out
bzip2 acpidmp.out
Then mail me the acpidmp.out.bz2
Cheers,
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-23 16:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 10:14 Battery Status on Acer Extensa 4101 Philipp Wollermann
[not found] ` <200503221114.22874.phil_wo-hi6Y0CQ0nG0@public.gmane.org>
2005-03-23 16:50 ` Bruno Ducrot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox