[ltp] DPMS and fan problem on t23

Michael Perry linux-thinkpad@linux-thinkpad.org
Mon, 14 Mar 2005 15:06:15 -0800


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


-- 
Michael Perry | do or do not. There is no try. -Master Yoda
mperry@lnxpowered.org | http://www.lnxpowered.org