[ltp] Battery tweaks for X1 Carbon - cannot install ts_mapi
Sandro
linux-thinkpad@linux-thinkpad.org
Fri, 21 Dec 2012 17:43:43 +0100
Hello,
I thought I'd install tp-smapi-dkms because my battery keeps charging
those small percentages while I'd rather have it charge only when it
has dropped below 40%.
But those instructions found in
<http://www.thinkwiki.org/wiki/Tp_smapi> do no good in Ubuntu 12.10.
The modprobe_command gives an error about a missing file that is
there?
Does somebody know how to get those precise battery functions in
modern thinkpads tike this Carbon X1?
script follows: --
# apt-get install tp-smapi-dkms
(..)
Creating symlink /var/lib/dkms/tp-smapi/0.41/source ->
/usr/src/tp-smapi-0.41
(..)
thinkpad_ec:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.5.0-19-generic/extra/
tp_smapi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.5.0-19-generic/extra/
hdaps.ko:
Running module version sanity check.
- Original module
- Found /lib/modules/3.5.0-19-generic/kernel/drivers/platform/x86/hdaps.ko
- Storing in /var/lib/dkms/tp-smapi/original_module/3.5.0-19-generic/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /lib/modules/3.5.0-19-generic/updates/
depmod....
DKMS: install completed.
# modprobe tp_smapi
FATAL: Error inserting tp_smapi
(/lib/modules/3.5.0-19-generic/extra/tp_smapi.ko): No such device or
address
# ls -lah /lib/modules/3.5.0-19-generic/extra/
total 72K
drwxr-xr-x 2 root root 4.0K Dec 21 17:33 .
drwxr-xr-x 6 root root 4.0K Dec 21 17:33 ..
-rw-r--r-- 1 root root 16K Dec 21 17:33 thinkpad_ec.ko
-rw-r--r-- 1 root root 48K Dec 21 17:33 tp_smapi.ko