Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Thinkpad Control .dsl extension, Ready for beta testing< Next Oldest | Next Newest >
Max Offline





Group: Members
Posts: 211
Joined: July 2004
Posted: July 22 2005,14:52 QUOTE

I'm running a T42.  Loaded the thinkpad.dsl at boot.

After boot, started terminal and ran "tpctl -ic"
System reported that it couldn't open device.

Did an insmod on thinkpad.o and then ran "tpctl -ic" and all is well.

I thought that your S50updatemodules might also do the insmod.  So I guess we'll need to add the insmod to the bootlocal.sh file to make it completely automatic.

Haven't tried the apmiser proggie yet...hope that works too.


--------------
Using DSL on: IBM T42, IBM 560x, Dell Dimension CPx
Back to top
Profile PM 
Max Offline





Group: Members
Posts: 211
Joined: July 2004
Posted: July 22 2005,15:27 QUOTE

I don't think apmiser is working...

This is what I got...
root@DSL1:/opt/thinkpad# apmiser
apmiser: 10:22:37  Automatic power miser 4.14 started (daemon: no, low: 35%, high: 97%, term: 0.5s, trendiness: 2.2)
No such file or directory at ./apmiser line 202.

Line 202 is:
open(APM,"/proc/apm") or die $!;

and sure enough, there is on apm file in proc....


--------------
Using DSL on: IBM T42, IBM 560x, Dell Dimension CPx
Back to top
Profile PM 
kopsis Offline





Group: Members
Posts: 65
Joined: July 2005
Posted: July 22 2005,15:36 QUOTE

Quote (Max @ July 22 2005,10:52)
I thought that your S50updatemodules might also do the insmod.  So I guess we'll need to add the insmod to the bootlocal.sh file to make it completely automatic.

Thanks for mentioning that! Yes, S50updatemodules just updates the modutils info -- it doesn't actually load anything.

It's worth noting that because S50updatemodules doesn't actualy load anything, anyone that wants to package modules in mydsl extensions should feel free to add S50updatemodules to their .dsl file. That way no matter how many module .dsl files you load at boot, the same init script will register them all with modutils. Doing a seperate update-modules for every .dsl that adds modules could really slow down the boot process.

As for loading thinkpad.o, which would folks prefer to see: an rc5.d script that automatically loads thinkpad.o or a "Load thinkpad module" MyDSL menu item (and leave it to the user to add the insmod to their bootlocal.sh if they want it every time)?
Back to top
Profile PM WEB YIM 
libretto Offline





Group: Members
Posts: 336
Joined: Oct. 2003
Posted: July 22 2005,21:24 QUOTE

I tried tpctl again.

As i'm on a hdd install, i re-loaded thinkpad.o

'lsmod' lists the thinkpad module

went to /opt/thinkpad

running "tpctl --ix" as user dsl gives:
"tpctl: module required for request is not loaded."

running the command again as root gives the same

running 'sudo tpctl' says theres no file or directory


--------------
Small Radio,  Small Laptop, DSL Linux
Back to top
Profile PM WEB 
kopsis Offline





Group: Members
Posts: 65
Joined: July 2005
Posted: July 22 2005,21:55 QUOTE

Quote (libretto @ July 22 2005,17:24)
running "tpctl --ix" as user dsl gives:
"tpctl: module required for request is not loaded."

running the command again as root gives the same

I should have done this sooner, but a check of the tpctl supported models page doesn't list any models prior to the 365. Your 240 may not have the necessary BIOS features to support tpctl.

You might want to try starting klogd and syslogd prior to loading thinkpad.o. Then after loading thinkpad.o, check dmesg, /var/log/syslog, etc. for any thinkpad.o error messages. You may find something telling you the driver didn't load properly (which would mean there's not much hope for tpctl).

You may also want to try a "tpctl -ic" which (I believe) doesn't need to load the SMAPI BIOS driver.
Back to top
Profile PM WEB YIM 
14 replies since July 22 2005,03:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Thinkpad Control .dsl extension

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code