From: Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: Philipp Wollermann <phil_wo-hi6Y0CQ0nG0@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Battery Status on Acer Extensa 4101
Date: Wed, 23 Mar 2005 17:50:37 +0100 [thread overview]
Message-ID: <20050323165037.GN2298@poupinou.org> (raw)
In-Reply-To: <200503221114.22874.phil_wo-hi6Y0CQ0nG0@public.gmane.org>
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
prev parent reply other threads:[~2005-03-23 16:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050323165037.GN2298@poupinou.org \
--to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=phil_wo-hi6Y0CQ0nG0@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox