hi folks, at first, thanks for the software.
unfortunately it seems my thinkpad t42p does not support some of these important options to use hotswappable ultrabay batteries and system battery together.
i installed debian lenny 5.0.2 on my tp, installed tp_amapi as shipped with the debian repository, but my tp seems not to support these options.
i downloaded latest sourcepackage tp_amapi 0.40 from sf, compiled and installed (after removing old deb package and unloading old module) and loaded the new module. but my t42p still does not have force_discharge, charge start/stop threshold and inherit times.
what information do you need to support these functions on a t42p? if you tell me, i will try to find out everything you need :) if <you tell me how to find out :)
thank you.
vizzy
dmesg:
[ 638.462030] tp_smapi unloaded.
[ 644.289440] tp_smapi 0.40 loading...
[ 644.289724] tp_smapi successfully loaded (smapi_port=0xb2).
t42:~/tp_smapi-0.40# echo 1 > /sys/devices/platform/smapi/BAT0/force_discharge
bash: echo: write error: Operation not supported
dmesg:
[ 666.252046] smapi smapi: smapi_request: SMAPI error: Function is not supported by SMAPI BIOS (func=2118)
[ 666.252065] smapi smapi: set_force_discharge: get failed for bat=1: Function is not supported by SMAPI BIOS
uname -a:
Linux t42 2.6.26-2-686 #1 SMP Fri Aug 14 01:27:18 UTC 2009 i686 GNU/Linux