다음 단계를 사용하여 Thinkpad T500용 tp_smapi 모듈을 다운로드했습니다.ThinkWiki그리고 make를 실행했습니다. 오류가 발생하지 않았습니다
root@Forge:/storage/Repository/git/tp_smapi# make install HDAPS=1 FORCE_IO=1
make -C /lib/modules/3.19.0-18-generic/build M=/storage/Repository/git/tp_smapi O=/lib/modules/3.19.0-18-generic/build modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
make[2]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
Building modules, stage 2.
MODPOST 3 modules
make[2]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
rm -f /lib/modules/3.19.0-18-generic/kernel/drivers/platform/x86/{thinkpad_ec,tp_smapi,tp_base}.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/drivers/firmware/{thinkpad_ec,tp_smapi,tp_base}.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/extra/{thinkpad_ec,tp_smapi,tp_base}.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/drivers/platform/x86/hdaps.ko
rm -f /lib/modules/3.19.0-18-generic/kernel/extra/hdaps.ko
make -C /lib/modules/3.19.0-18-generic/build M=/storage/Repository/git/tp_smapi O=/lib/modules/3.19.0-18-generic/build modules_install
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
make[2]: Entering directory '/usr/src/linux-headers-3.19.0-18-generic'
INSTALL /storage/Repository/git/tp_smapi/hdaps.ko
Can't read private key
INSTALL /storage/Repository/git/tp_smapi/thinkpad_ec.ko
Can't read private key
INSTALL /storage/Repository/git/tp_smapi/tp_smapi.ko
Can't read private key
DEPMOD 3.19.0-18-generic
make[2]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-18-generic'
depmod 3.19.0-18-generic
하지만 tlp를 사용하여 배터리 상태를 보려고 하면 로드/설치되지 않은 것으로 표시됩니다.
root@Forge:/storage/Repository/git/tp_smapi# tlp-stat -b
--- TLP 0.7 --------------------------------------------
+++ ThinkPad Extended Battery Functions
tp-smapi = inactive (kernel module 'tp_smapi' load error)
tpacpi-bat = inactive (unsupported hardware)
+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer = SONY
/sys/class/power_supply/BAT0/model_name = 92P1141
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/energy_full_design = 56160 [mWh]
/sys/class/power_supply/BAT0/energy_full = 39310 [mWh]
/sys/class/power_supply/BAT0/energy_now = 39310 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Full
내가 아는 한 사이트에 제공된 단계를 따랐지만 왜 모듈이 설치되지 않는지 잘 모르겠습니다.
- OS: 주분투 15.04 LTS
- 모듈 코드:tp_smapi-GitHub
- 커널: 3.19.0-18-일반(x86-64)
답변1
thinkwiki.org의 많은 지침은 다음과 같습니다.매우시대에 뒤쳐진.
Ubuntu 저장소에서 패키지를 설치하십시오.
sudo apt-get install tp-smapi-dkms
(에 설명된 대로TLP의 문서도)