[ltp] more /dev/thinkpad

Thomas Hood linux-thinkpad@www.bm-soft.com
Fri, 26 Oct 2001 21:22:06 +0100 (BST)

 --- William Sherman -Visualization <wsherman@ncsa.uiuc.edu> wrote: 
> Okay, I guess I'm a bit thick.
> I discovered the fact that tpctl allows one to control the CPU speed
> on my 770Z, so when I go and run it, I got an error message very
> similar to ones I'd recently seen on this list.
> Unfortunately, I followed all the advice that seemed to apply to me,
> and even upgraded from tpctl-0.8.8 to tpctl-1.0.0, but still the
> error persists:
> ----
> # tpctl -pma=high
> tpctl: System error message is: No such device
> tpctl: Can't open device file /dev/thinkpad with flags O_RDWR.  Exiting.
> # ls -l /dev/thinkpad
> crwxr-xr-x   1 root     root      10, 170 Jul 18  2000 /dev/thinkpad

Your driver modules aren't loaded.

Try loading them by hand.  If they won't load, find out why.
Are the modules there in /lib/modules/<kernver>/thinkpad/?
Did you run "depmod -a"?
What does /var/log/syslog say?

> Now I did see that the new version of tpctl uses /dev/thinkpad as a
> directory, but reading the README for tpctl-3.0pre2 I have the impression
> that pre 2.4 versions of Linux should not advance beyond using tpctl-1.0.

/dev/thinkpad is a directory only if you are using devfs with 
version 3.0 of the drivers.

Linux kernels 2.2.x can only use tpctl 1.0.
Linux kernels 2.4.x can use versions 2.x or 3.x.

> So I seem to be rather stuck, and welcome any and all advice.
> 	Bill -- well, most advice,
> P.S. if you're curious as to why I want to override the battery saving
> CPU speed, it's because the AC decector on my laptop doesn't work, so
> even when plugged in, I get poor performance -- it's been broken for 6
> months, and it just occured to me that this was happening (xine just isn't
> doing well enough with my DVDs).


Linux on ThinkPad 600 page: http://panopticon.csustan.edu/thood/tp600lnx.htm

Nokia Game is on again. 
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at: