[ltp] Can't use TPCTL
Thomas Hood
linux-thinkpad@www.bm-soft.com
19 Apr 2002 20:15:42 -0400
On Fri, 2002-04-19 at 02:29, Chris Hegan wrote:
> Using Debian, kernel 2.4.17, I can't use the tpctl package. It installs
> without error, but whenever I try to use it I get the same error
> message:
> Can't open device file /dev/thinkpad with flags O_RDWR. Exiting.
> I'm being lazy and hoping someone can tell me what this means before I
> start digging into it myself.
> Any suggestions appreciated.
You need to install a thinkpad-modules package for your
kernel. Currently, there are no thinkpad-modules packages
available in the Debian archive. You have to build one
from the thinkpad-source package using the make-kpkg utility.
Also be sure to install thinkpad-base.
Here's the procedure using, e.g., the 2.4.19 kernel sources
installed at /usr/src/linux-2.4.19
(If you don't use "sudo" then do the following as root.)
sudo apt-get install thinkpad-base thinkpad-source tpctl
cd /usr/src
tar zxvf thinkpad.tar.gz
cd linux-2.4.19
sudo make-kpkg modules_image
cd ..
sudo dpkg --install thinkpad-modules-2.4.19*.deb
Then tpctl should work.
--
Thomas Hood
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html