View Single Post
  #4 (permalink)  
Old 29-Jun-2009, 12:59
escaner escaner is offline
Puzzled Penguin
 
Join Date: Dec 2008
Location: Barcelona, Spain
Posts: 15
escaner hasn't been rated much yet
Default Re: openSuse 11.1 64bit tp_smapi

If you download the .rpm packages, you can look at their contents with the following command:
Code:
rpm -qp package.rpm -l
I have found these:

Code:
oscar@seafire:~> rpm -qp tp_smapi-kmp-pae-0.40_2.6.27.23_0.1-3.3.i586.rpm -l
/lib/modules/2.6.27.23-0.1-pae
/lib/modules/2.6.27.23-0.1-pae/updates
/lib/modules/2.6.27.23-0.1-pae/updates/hdaps.ko
/lib/modules/2.6.27.23-0.1-pae/updates/thinkpad_ec.ko
/lib/modules/2.6.27.23-0.1-pae/updates/tp_smapi.ko

oscar@seafire:~> rpm -qp tp_smapi-kmp-vmi-0.40_2.6.27.23_0.1-3.3.i586.rpm -l
/lib/modules/2.6.27.23-0.1-vmi
/lib/modules/2.6.27.23-0.1-vmi/updates
/lib/modules/2.6.27.23-0.1-vmi/updates/hdaps.ko
/lib/modules/2.6.27.23-0.1-vmi/updates/thinkpad_ec.ko
/lib/modules/2.6.27.23-0.1-vmi/updates/tp_smapi.ko
Therefore, they are modules for various kernels.

I think that the "/sys" filesystem is like "/proc", a virtual fs to access system data. Therefore your /sys/devices/platform/smapi should appear when the kernel loads the module.

If it is correcly intalled, it will probably do it in the next boot. To load it manually, execute: "modprobe <module-name>" (without the ".ko"). There are three of them: hdaps, thinkpad_ec and tp_smapi...

To see whether they have been loaded, execute:
Code:
lsmod|egrep 'hdaps|thinkpad_ec|tp_smapi'
Regards
Óscar
Reply With Quote