Package Details: tp_smapi-ck 0.41-8

Git Clone URL: (read-only)
Package Base: tp_smapi-ck
Description: Modules for ThinkPad's SMAPI functionality, ck kernel
Upstream URL:
Keywords: kernel linux smapi thinkpad
Licenses: GPL
Provides: tp_smapi
Submitter: fackamato
Maintainer: None
Last Packager: alcasa
Votes: 18
Popularity: 0.000000
First Submitted: 2011-04-09 11:55
Last Updated: 2015-08-08 16:03

Required by (7)

Sources (1)

Latest Comments

alcasa commented on 2016-06-05 22:46

I am not using the CK-Kernel anymore, I hope someone who needs this package will pick it up.

aphirst commented on 2015-01-27 23:58

I am VERY sorry about the delay in fixing this package.

I suspect the root cause of the problem is that the email address associated with my AUR account is a dead one, and anyone attempting to contact me (or any automated notifications) will have disappeared into thin air.

The package should now build fine. Feel free to contact me at the email address shown in the updated PKGBUILD if there are any further issues.

orschiro commented on 2015-01-14 08:48

Seems that the '/lib exists in filesystem' error can be fixed by the following change:

- INSTALL_MOD_PATH="$pkgdir"
+ INSTALL_MOD_PATH="$pkgdir/usr"

and subsequently all instances of $pkgdir to be changed to $pkgdir/usr.



Can you please update the package accordingly?

orschiro commented on 2015-01-13 07:51


Thanks! I will ask for help in the forums and, if successful, will adopt this package.

hyshka commented on 2015-01-13 01:17

Sorry I am unable to help since I don't have much PKGBUILD experience and am unable to maintain this package any longer since I stopped using the ck kernel.

I suspect the PKGBUILD may need some updating but you may have more luck on the forums.

orschiro commented on 2015-01-12 22:01

I tried rebuilding the package after the installation of a new kernel version. However, I stuck with the following error message and do not know how to resolve it:

(1/1) checking for file conflicts [###############################################################] 100%
error: failed to commit transaction (conflicting files)
tp_smapi-ck: /lib exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).
:: tp_smapi-ck cleaned

Why does the package complain about an existing /lib?

Many thanks for your help!


orschiro commented on 2014-11-13 11:19


Now I understand. Thanks for making your point clear!

aphirst commented on 2014-11-13 10:31


That's not what I meant. As in, the PKGBUILD only works if the *currently running kernel* is a -ck one. I have both -ck and -ARCH installed on my system (in case one has issues at any given time), and because there were module issues with -ck (this module and `acpi_call-ck`) I had rebooted into -ARCH to perform maintenance.

What happens if you build this PKGBUILD *while running* the -ARCH kernel, the generated package contains files in `/usr/lib/modules/extramodules-3.17-ARCH/`, because it seems to pull the "-ARCH" from the *currently running* kernel (I assume this is the purpose of lines 11-14 and lines 42 and 49). And so, one cannot install that package if one has the vanilla version of `tp_smapi` installed due to file conflicts (and the resulting module files would be in the wrong directory).

I hope that sufficiently clarifies the point I was trying to make.

orschiro commented on 2014-11-13 08:37


Since the package name appends `-ck` it should be obvious that it is for linux-ck, or not? :)

aphirst commented on 2014-11-13 00:42

Ah, on further inspection, this PKGBUILD seems to only work if you are currently running a -ck kernel. I had been running on the stock kernel during the time in which modules were not updated for -ck, and so the PKGBUILD read -ARCH instead.

aphirst commented on 2014-11-13 00:36

linux-ck 3.17.2 is now available, and as it is currently, this package no longer is able to install after building:

error: failed to commit transaction (conflicting files)
tp_smapi-ck: /usr/lib/modules/extramodules-3.17-ARCH/hdaps.ko.gz exists in filesystem
tp_smapi-ck: /usr/lib/modules/extramodules-3.17-ARCH/thinkpad_ec.ko.gz exists in filesystem
tp_smapi-ck: /usr/lib/modules/extramodules-3.17-ARCH/tp_smapi.ko.gz exists in filesystem

If *I* can work out what modifications are necessary, I will post a link to a working PKGBUILD in a follow-up comment. Regardless, some modification will be necessary, and a new pkgrel will need to be posted to the AUR.

hyshka commented on 2014-05-07 15:28

They use different git repo's. The one used here ( seems to be more up-to-date, and is also used by the tp_smapi package in Community (

The repo in the dkms variety seems to have been forked from this repo 3 years ago but has not been updated since. The tp_smapi-dkms package does however come with a patch and dkms.conf, but I am unsure of their purpose.

The evgeni/tp_smapi repo also implemented dkms support a year ago, so it seems the git repo used in tp_smapi-dkms should be deprecated.

lockheed commented on 2014-05-07 07:39

What is the difference between this and tp_smapi-dkms? I always used the later with -ck kernel, but I just noticed this one.

hyshka commented on 2014-01-24 16:05

Updated, working for me.

flexo3001 commented on 2013-06-20 22:29

please change pkgrel :)

fackamato commented on 2013-06-01 19:13

Up for grabs.

fackamato commented on 2012-11-20 01:02

Stick a post in the forums with logs etc

Anonymous comment on 2012-11-19 15:33

Smapi won´t work on 3.6.6 corex-ck kernel on Lenovo t420. I have written a nice conky relying on it which I am not ready to give up. Does anyone have a patch for this situation ?

fackamato commented on 2012-11-02 17:57

Updated. It builds now but I can't confirm if it's working (not on a laptop).

mutlu_inek commented on 2012-09-27 07:49

After changing all but one occurrence of "/lib/" into "/usr/lib/" (there is an error changing directories caused by the line "cd "$pkgdir/lib/modules/"" in the package() section, if you add /usr), this PKGBUILD compiles and works as expected.

Anonymous comment on 2012-07-14 22:49

Had issues rebuilding this package after the latest update which moved /lib to /usr/lib.
After changing occurances of "/lib/" to "/usr/lib/" in line 13 of the PKGBUILD, it seemed to build fine without any issues and the module loads.

jakob commented on 2012-04-29 23:09

Sorry guys, I made a huge mistake! Please see my statement on

lockheed commented on 2012-04-29 19:10

So far, it would appear so.

fackamato commented on 2012-04-29 19:01

Cool, can you confirm that it's the case?

lockheed commented on 2012-04-29 15:56

I've been told this pkg may be considered (though need not necessarily) redundant, since tp_smapi pkg from AUR will be installed as tp_smapi-$kernver according to kernel on which the build process is run.

fackamato commented on 2012-04-02 05:13

Sorry, fixed.

ValdikSS commented on 2012-04-02 04:55

Not working. It doesn't package any files at all.

fackamato commented on 2012-03-30 13:29

oops, fixed

Maxr commented on 2012-03-30 13:25

Did you change the dep from linux-ck to linux with intent?

fackamato commented on 2012-03-30 13:13


fackamato commented on 2012-02-29 08:13


hcartiaux commented on 2012-02-28 23:57

Please, keep in sync with tp_smapi package
The source url has a ssl cert problem and can't be used directly with makepkg / yaourt. I've used the following instead.

Maxr commented on 2012-02-25 22:16

Should be sufficient.

lockheed commented on 2012-02-25 20:08

If I want to install it on a -pf kernel, is it enough if I just replace all -ck with -pf in PKBUILD?

fackamato commented on 2011-11-25 11:23

Thanks, updated.

Maxr commented on 2011-11-25 10:29

There's a package to download, see , tp_smapi uses it.

fackamato commented on 2011-11-25 10:05

-git? Not for this pkg perhaps?

mutlu_inek commented on 2011-11-25 09:30

There seems to be a newer version here:

fackamato commented on 2011-11-23 16:47


Maxr commented on 2011-11-14 06:44

please update

Anonymous comment on 2011-10-08 20:50

I flagged this out of date because of the makedepends reliance on kernel26-ck.

fackamato commented on 2011-08-27 11:29

Why was this flagged out of date? 0.40 is the latest version.

fackamato commented on 2011-06-14 18:30

works here, no modifications needed.

b9anders commented on 2011-06-13 10:40

md5sum doesn't match and nevertheless fails to build when corrected due to some error in the PKGBUILD.