Errors installing Thinkpad drivers for tpctl on Minislack
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Errors installing Thinkpad drivers for tpctl on Minislack
Hi all!
As the title specifies, I am getting the following error when trying to install the Thinkpad drivers for tpctl.
Quote:
The directions in the README specify the following:
On distributions that don't set things up for you automatically,
you can install from the source tarball. First make sure that your
kernel source tree is at /lib/modules/`uname -r`/build and make
sure that the file include/linux/modversions.h is in that tree.
(It is generated by the "make dep" command in the kernel build
procedure.) Then do:
tar zxvf thinkpad_<ver.num>.src.tar.gz
cd thinkpad-<ver.num>
If you are running Linux 2.6, do:
ln -s 2.6/drivers drivers
ln -s 2.6/include include
make all
And I believe this is the problem, when I look for the modversions.h file, I find it in /usr/include/linux directory.
Does anyone know how I can specify where this file can be found when executing the make all command? When I unpack the tarball and go to the new dir to run the command, I get the following error:
Code:
make -C 2.6/drivers
make[1]: Entering directory `/usr/src/linux/thinkpad-5.8/2.6/drivers'
make -C /lib/modules/2.6.101/build SUBDIRS=/usr/src/linux/thinkpad-5.8/2.6/drivers modules
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: Leaving directory `/usr/src/linux/thinkpad-5.8/2.6/drivers'
Which buttons are you trying to get to work. The ibm-acpi module sorts out a lot, and you can use xmodmap for others. I did play with tpctl once, and somehow managed to screw my x-server, so gave up on it.
Mainly, I was trying to get my alsa settings to stick after I shutdown my laptop. Please tell me where I can find this IBM module you are referring to!
Its on option in 2.6.8? plus kernels or apt-get install ibm-acpi (source) or get the latest from sourceforge. Whats wrong with your alsa, I dont think ibm-acpi will help that.
The problem with Alsa is that my settings aren't sticking; every time I shut down the system, the next time I turn it back on I have to go thru the process of re-initializing, rebooting, re-running alsaconf to get my sound to work at all. And even then, sound doesn't work with Firefox, just XMMS. Anyway, it's really annoying, and a problem every TP 600e user has to go thru if they want sound to work while using Linux.
My latest theory is that maybe the battery on the motherboard is dead, or it may have to do with the fact that the laptop battery is dead and needs replacing, but I'm not sure.
Anyway, if you have any ideas, please let me know.
I HAVE to run alsaconf everytime I boot my system. The problem is that the alsa settings are not sticking; I have to go thru the following process EVERY time I boot my system if I want ANY sound to work:
1. Boot system while pressing F1 and go into IBM's stupid excuse for BIOS
2. Select "Configure"
3. Select "Initialize" - What I am initializing is not stated. Why doesn't it do this by default is beyond me.
4. Reboot and login as root
5. Run alsaconf
6. Run alsamix, or aumix
7. Run alsactl store
8. Log out and log back on as a normal user
This is the problem I am looking for an answer to. If you have any ideas, other than the ones stated previously, please let me know.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Rep:
Hmmmmm,
I had Slack 10 running on a 760XL for awhile. Sound was never a problem. I think when you initialize the BIOS you are resetting to factory condition. Try setting your BIOS for the sound card ( I think it is ESS 1688) and saving BIOS settings. Then retry alsaconf. If that doesn't work, you may indeed need a new BIOS battery.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.