root@pc-note:~# modprobe tp_smapi
FATAL: Error inserting tp_smapi (/lib/modules/3.2.0-24-generic-pae/extra/tp_smapi.ko): No such device or address
tail -1 /var/log/syslog
kernel: [ 9493.919839] thinkpad_ec: initial ec test failed
Так же по поиску решения было найдено - добавить в белый лист этой модели и перекомпилировать (не удачно) модуль и загрузить в ядро.
добавить в /usr/src/tp-smapi-0.41/thinkpad_ec.c (460 строка)
TP_DMI_MATCH("IBM", "ThinkPad T23"),
TP_DMI_MATCH("IBM", "ThinkPad E420"), //ADD
TP_DMI_MATCH("IBM", "ThinkPad X24"),
TP_DMI_MATCH("LENOVO", "ThinkPad E420"), //ADD
далее пересобирая, удаляя модуль, сборка модуля, установка модуля
# dkms remove -m tp-smapi -v 0.41 --all
# dkms add -m tp-smapi -v 0.41
# dkms build -m tp-smapi -v 0.41
# dkms install -m tp-smapi -v 0.41
# modprobe tp-smapi
я думаю, что тут есть ошибка, а именно в модели ThinkPad E420, пробывал разное написание и прочеенашел:
http://unix.stackexchange.com/questions/11670/how-to-load-tp-smapi-on-thinkpad-x120e пробывал найти через
root@pc-note# dmidecode -t0 -t1 -t11
# dmidecode 2.11
SMBIOS 2.6 present.
Handle 0x000C, DMI type 0, 24 bytes
BIOS Information
Vendor: LENOVO
Version: 8HET40WW(1.22)
Release Date: 11/03/2011
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 2560 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
3.5"/720 kB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 0.1
Handle 0x000D, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 1141B8G
Version: ThinkPad E420
Serial Number: R9KCGY0
UUID: D1470E81-50C7-11CB-9113-D40359C41555
Wake-up Type: Other
SKU Number: <BAD INDEX>
Family: <BAD INDEX>
"Version: ThinkPad E420"
Так же пробывал: tp_smapi 0.41 c
https://github.com/evgeni/tp_smapiroot@pc-note:/home/pc/github/tp_smapi# make load
if lsmod | grep -q '^hdaps '; then rmmod hdaps; fi
if lsmod | grep -q '^tp_smapi '; then rmmod tp_smapi; fi
if lsmod | grep -q '^thinkpad_ec '; then rmmod thinkpad_ec; fi
if lsmod | grep -q '^tp_base '; then rmmod tp_base; fi # old thinkpad_ec
make -C /lib/modules/3.2.0-24-generic-pae/build M=/home/pc/github/tp_smapi O=/lib/modules/3.2.0-24-generic-pae/build modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.2.0-24-generic-pae'
Building modules, stage 2.
MODPOST 2 modules
make[1]: Выход из каталога `/usr/src/linux-headers-3.2.0-24-generic-pae'
{ insmod ./thinkpad_ec.ko && insmod ./tp_smapi.ko debug=0 && :; }; :
insmod: error inserting './thinkpad_ec.ko': -1 No such device or address
Recent dmesg output:
[ 8445.450283] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0
[ 8445.450288] thinkpad_ec: initial ec test failed
[ 8723.811563] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0
[ 8723.811568] thinkpad_ec: initial ec test failed
[ 9493.919830] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0
[ 9493.919839] thinkpad_ec: initial ec test failed
[ 9804.744319] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0
[ 9804.744328] thinkpad_ec: initial ec test failed
[ 9826.641006] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0
[ 9826.641009] thinkpad_ec: initial ec test failed