[ltp] more /dev/thinkpad

William Sherman -Visualization linux-thinkpad@www.bm-soft.com
Fri, 26 Oct 2001 17:41:02 -0500 (CDT)


> 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?

Okay, you were right of course, something happened when I did:
	# insmod thinkpad.o
	# tpctl -pmb=high

But then I guess I had to also load smpti.o because I got this:
---
tpctl: Power management mode for battery power has been set to high
power management modes:
   battery power expenditure:   (power management code not recognized)
---

Unfortunately, even after doing:
	# insmod smapi.o
	# insmod superio.o
	# insmod rtcmosram.o
	# tpctl -pma=high	(which reported success!)
	# tpctl -pmb=high	(which reported success!)

cat /proc/cpuinfo still reported:
	cpu MHz         : 91.978

BUT, after a reboot:
	# cat /proc/cpuinfo
	cpu MHz         : 363.965


So now The Who are rocking on my laptop (using Xine 0.9.0) a lot
better than they were yesterday.  363.965MHz isn't quite enough
to keep up The Who for perfect playback, but it's not too bad.

	So, thank you very much,
	Bill


-----------
And for the record (ie. for people who might have the same problem
and find this message in the archive), to answer some of your questions
above:

There were/are four modules in /lib/modules/<kernver>/thinkpad/:
# ls -l /lib/modules/2.2.16-3/thinkpad
total 26
-r--r--r--   1 root     root         3644 Oct 25 18:31 rtcmosram.o
-r--r--r--   1 root     root         5307 Oct 25 18:31 smapi.o
-r--r--r--   1 root     root         8920 Oct 25 18:31 superio.o
-r--r--r--   1 root     root         6184 Oct 25 18:31 thinkpad.o

depmod reported:
# depmod -a
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol(s)

and /var/log/messages reported:
Oct 25 18:16:59 cezanne modprobe: no dependency information for module: "/lib/modules/2.2.16-3/thinkpad/thinkpad.o"
...
Oct 26 11:44:38 cezanne modprobe: can't locate module char-major-10-170


Also, my "Easy Setup" system didn't have an option to control power
managment anywhere that I could find.


----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html