Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

Thinkpad Edge e420 and tp_smapi in Ubuntu 12.04

Linux on ThinkPads
Post Reply
Message
Author
evgk90
Posts: 1
Joined: Wed May 02, 2012 9:56 am
Location: Cheboksary, Russia

Thinkpad Edge e420 and tp_smapi in Ubuntu 12.04

#1 Post by evgk90 » Wed May 02, 2012 10:40 am

i have ubuntu 12.04 on ThinkPad edge E420

Code: Select all

3.2.0-24-generic-pae #37-Ubuntu SMP  i686 i686 i386 GNU/Linux
where i`m load tp_smapi, i have error:

Code: Select all

$ sudo 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

i`m search solution:
edit /usr/src/tp-smapi-0.41/thinkpad_ec.c on 460 line

Code: Select all

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
and comment line 489 this source code

Code: Select all

/*
	if (!check_dmi_for_ec()) {
		printk(KERN_WARNING
		       "thinkpad_ec: no ThinkPad embedded controller!\n");
		return -ENODEV;
	}
*/
and

Code: Select all

# 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
but i have this error again.
Who is encountered this problem?
Where solve this problem?
Thank you for any information. I`m sorry for my english.

ykee
Posts: 1
Joined: Wed Jul 04, 2012 10:01 am
Location: Kuala Lumpur, Malaysia

Re: Thinkpad Edge e420 and tp_smapi in Ubuntu 12.04

#2 Post by ykee » Wed Jul 04, 2012 10:04 am

You can try this (add your model info into the tp_smapi source code).
http://ubuntuforums.org/showthread.php?p=11044346

EDIT: Ah sorry, seems like you have tried it.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 43 guests