Battery Status on Acer Extensa 4101
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 17 lines · Philipp Wollermann
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/statebut it says:# cat /proc/acpi/battery/BAT1/state present: yes ERROR: Unable to read battery statusI 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!
Quoted 6 lines
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
Quoted 2 lines
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,
Signature · 11 lines
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