[ltp] Re: more /dev/thinkpad
Tom Adelstein
linux-thinkpad@linux-thinkpad.org
Mon, 18 Jul 2005 11:08:43 -0500
Bottom posted
On Mon, 2005-07-18 at 18:07 +0300, David Tansey wrote:
> Tom,
>
> Well, keep me updated. I'm using hoary as well. I thought I wrote out
> all my steps a couple days ago. After doing that I could modprobe it no
> problem. And thinkpad-base put an entry into modprobe.d (or somwhere
> --i've removed it since then) so that the module is loaded at boottime.
>
> -David
>
> Here it is:
>
> Ubuntu has a package called thinkpad-source. You have to install that
> along with thinkpad-base and tpctl (and tpb if you want it.)
>
> You also need the right linux-headers package. for me it is
> linux-headers-2.6.10-5-686 -- you can apt-cache this.
>
> Then go to /usr/src/ and tar -xzf thinkpad.tar.gz
>
> cd go the modules/thinkpad/2.6/drivers
> make
> sudo make install
>
> and it works.
>
> the problem is that ubuntu uses acpi (which works largely for me) and
> they say configure-thinkpad is based on APM so some features are
> disabled. but it does let me switch to external monitor and back, which
> might be just the thing for me for my external monitor setup.
>
> good luck all.
>
> -david
> Mon, 2005-07-18 at 08:46 -0500, Tom Adelstein wrote:
> > On Mon, 2005-07-18 at 16:00 +0300, David Tansey wrote:
> > > Tom,
> > >
> > > If I remember correctly, I tar -xzf'd the thinkpad-source.tgz and then
> > > in the end did a "sudo make install" and then sudo modprobe thinkpad
> > > worked for me.
> > >
> >
> > David,
> >
> > I did the same. It should work. I'll let you know what I find.
> >
> >
>
Dave,
Thanks again. I did all of the steps you listed. I got the information
from google searches and from a number of howto's and documents,
postings on mailings lists, etc.
The T21 doesn't work with acpi, so I disabled it and enabled apm. I can
do apm commands and those work fine.
tpctl, tpb etc. work fine from the command line. In fact, it makes my
Thinkpad work nicely. I can control all the buttons and function keys I
have tried. I'm tweak everything with some other tools I found for the
backlight and the hard drive motor later.
I'm simply attempting to enable the GUI - configure-thinkpad (gnome).
I got it to build by adding glade and related packages because it needed
a library libgnomeui 2.0 and even after installing it from source, it
wasn't in the correct location. Adding glade made configure-thinkpad
build.
It's also on the menu and starts up nicely - then gives me a missing
device. /dev/thinkpad.
I tried this in fedora and got it to work - but only with the 2.6.9
kernel. configure-thinkpad gave me the same dumb message when I did the
upgrades. I read something about the upgrade kernels not working
correctly.
If I can figure out this device problem, I'll write up a howto and
publish it.
I'm really surprised at the lack of troubleshooting documentation about
this subject. Plenty of howto's exist, but they are not working 100%.