[ltp] DPMS and fan problem on t23

Michael Gaber linux-thinkpad@linux-thinkpad.org
Tue, 15 Mar 2005 06:38:15 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Perry wrote:
| On 03/14/2005 02:25 PM, Khosrow Hassani wrote:
|
|> Hi all,
|> finally, thank to your great suggestions, I got acpi
|> sort of working on my Thinkpad T23 using
|> Debain-patched kernel 2.6.10. the problem is that my /proc/acpi/fan
|> directory is
|> empty!
|> acpi did not detect my fan. in other words,
|> /proc/acpi/thermal_zone/THM0/state always shows OK! my
|> fan is controlled by the BIOS which is the newest
|> version, 1.18. I think it just works too often! it
|> broke once and I had to have it replaced (I was lucky
|> my computer was still covered by IBM warranty!). I am
|> scared if it keeps working like this, it is going to
|> break again!
|>
|> I have another problem with DPMS:
|>
|> when I press Fn-F3, acpid does not catch the event!!
|> my /etc/acpi/events/fn3 file reads these two lines:
|>
|> event=ibm/hotkey HKEY 00000080 00001003
|> action=/etc/acpi/actions/fn3.sh
|>
|> and here is my /etc/acpi/actions/fn3.sh:
|>
|> xset +dpms
|> xset dpms force off
|>
|> suprisingly, if I run this script directly from the
|> shell command line, it works just fine!
|>
|> any idea?

perhaps you should include the whole path to the xset-command.
the script like a cron might have a different PATH set as your user // root


|>
|>  thanks,
|>  Khosrow
|>
|> growing OLD is mandatory, growing UP is optional !
|>
|>
|
| Hi!
|
| Been a few of us getting closer to a degree of perfection with the T23.
|  Just a few notes on the 2.6.10 kernel on my T23 and then a few
| questions for you.  With every kernel I have done from about 2.6.7 on, I
| have had to patch the acpi sources with the latest from acpi.sf.net to
| get things working at a decent level.  Im now on 2.6.11.2 on debian
| unstable; no debian kernels here.  Just a few notes from my ongoing list
| of things I have had to do:
|
| Fn keys - had to load ibm-acpi and also get the latest acpi sources
| lid close - write a lid handler script and a suspend script
| ibm-acpi - gives me the hotkeys/Fn keys
|
| Do you have ibm-acpi compiled from the kernel or from the website?  I
| could swear before my laptop did its hard disk destruction act, nothing
| else was needed; but I have always had to get the latest acpi sources
| anyways.
|
| Im not good with the dpms stuff so I'll leave that to another master on
| this list :)  BTW, my laptop is running the latest bios and the embedded
| controller firmware update from ibm.com.  One other difference is that
| my suspend script lives in /etc/acpi and the handler scripts live in
| /etc/acpi/events.  Not sure that is a difference if you source the
| script completely
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCNnTHGulvCdQndLcRAtOLAKCWzaNi6i0GoFI/wq55DsYF99cJSACgrMIL
GbWXEagXSw+FWpCrnpPTgLs=
=BN4I
-----END PGP SIGNATURE-----