On Tuesday 07 December 2004 09:37, Tim Nicholson wrote:
Paul Hewlett wrote:
SuSE 9.1 & 9.2 come with special Thinkpad BIOS programs. One is called 'tpctl'. A graphical version is 'configure-thinkpad'. There is also a special kernel module 'km_tpctl'.
First off, I am using 9.1 on a Thinkpad 600 that has a faulty battery. (Evidently the battery electronics were badly designed on these models - something IBM never admitted to but that is another story)
km_tpctl only appears to be in source, but I have no idea what it is supposed to do!
It is the source to the thinkpad kernel module. As root try typing : modprobe thinkpad and look at /var/log/messages to see if anything went wrong. I note that on my laptop I get an error message from the thinkpadpm module about not being able to get the power state of device at 0x400. If this is successful, edit /etc/sysconfig/kernel and add this module to the appropriate variable. Look in /usr/src/kernel-modules/tpctl for the source code from the km_tpctl package to see what it does. Also check /etc/modprobe.conf for an alias for the thinkpad device. Lastly look at /usr/share/doc/packages/tpctl directory. Try typing 'ntpctl' in a console window.
tpctl tells me all sorts of useful things, but I haven't got it to do anything clever like suspend yet.
tpctl -all tpctl -ib are useful.
COnfigure-thinkpad tells me that on "lid close" the machine will go into suspend, however closing the lid does no such thing, and clicking on the suspend icon on the toolbar gives a "non entry" error saying "system is invalid!"
Mine returns an error "System busy". Additionally the Edit->Preferences and View->Information menu items are greyed out.
Its almost as if there is no apm on the machine, which there is 'cos it worked with 9.0.
Mine seems to be OK. However I am always on AC power because of the faulty battery problem.. I have my laptop set up as moving pictureframe as described at www.linuxtoys.net and simply needed to disable the internal display blank timer. This I did by putting /usr/bin/tpctl --pm-timer-mode-blank-display=disable in the file /etc/init.d/boot.local. It seems to have worked i.e. I no longer have to periodically hit the spacebar to get my pictures back.
I wonder if the change from the apmd to the powersaved is the culprit? I put apmd back on but no change. I tried taking powersaved off but the were dependency issues so I didn't.
I boot with acpi=off on the kernel commandline. dmesg reveals that APM is initialized.
The conclusion I am rapidly coming to is that the apm part of powersaved is not working properly :(
Something is definitely not right. Have you looked at tpctl.sourceforge.net ? Regards Paul -- Paul Hewlett (Linux #359543) Email:`echo az.oc.evitcaten@ttelweh | rev` Tel: +27 21 852 8812 Cel : +27 72 719 2725 FAX: +27 866720563 --