[ltp] 600x and tpctl?

Thomas Hood linux-thinkpad@www.bm-soft.com
Tue, 4 Sep 2001 20:28:46 +0100 (BST)


 --- Boyan <bt@wiwi.uni-bonn.de> wrote:
> Now I am even more confused. It turns out that there is some automatically
> generated entry in the /etc/modules.conf file which is:
> 
> options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1
> keep
> path[thinkpad]=/lib/modules/`uname -r`/thinkpad
> alias char-major-10-170 thinkpad
> 
> So overal when compared to the recommendation below only one line is
> different actually missing:
> > thinkpad_enable_rtcmosram=1 thinkpad_enable_thinkpadpm=1
> 
> Is this crucial?

Yes it is: the option names have changed: in tpctl 2.5,
'thinkpad_' is prefixed to the option names.  The change was
required because module options are global kernel variables.

How did the lines you mention get "automatically generated"?
(Please cc: me at jdthood AT yahoo.co.uk so that I don't
overlook your reply.)

> And the order of the lines in my modules.conf entry are
> somewhat different. Is this modules.conf entry wrong?

The order of the entries doesn't matter except that the
"keep" line must precede the "path" line(s).

> Also I am not sure if it is right for the /dev/thinkpad to be a character
> special file as from the command ls -l /dev/thinkpad:
> 
> crw-rw-r--    1 root     root      10, 170 Jun 27 21:05 /dev/thinkpad

This looks right.

Thomas
(tpctl developer)

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

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

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