[ltp] Installing IBM_ACPI?

M.Steinmetz linux-thinkpad@linux-thinkpad.org
Sun, 21 Aug 2005 17:53:43 +0200


David A. Desrosiers schrieb:

>
>> As far as I can see the driver is compiled in my kernel now (My 
>> kernel version is: 2.6.11.4.-21.2)
>
>
>     Correct, but that is the wrong driver. You want the one from 
> ibm-acpi.sf.net, v0.11, not v.08.
>
>> Problem: How can I see the temperature of the six sensors of my 
>> thinkpad? Using "cat /proc/acpi/thermal_zone/THM0/temperature" it 
>> appears only one temperature.
>
>
>     If you don't have /proc/acpi/ibm/temperature, then you're using 
> the wrong version of ibm-acpi. This is what you should see:
>
> $ ls /proc/acpi/ibm/
> .    volume      thermal  cmos  light      hotkey
> ..   brightness  beep     bay   video      driver
> fan  ecdump      led      dock  bluetooth
>
>
> David A. Desrosiers
> desrod@gnu-designs.com
> http://gnu-designs.com
>
Hi David,
thank you for your mail.
I downloaded the newest version of ibm_acpi (vers.0.11). After that I 
created a new directory with "tar xzvf ibm-acpi-0.11.tar.gz"
Then cd ibm-acpi-0.11 and

linux:/home/steinmetz/ibm-acpi-0.11 # *make*
make -C /lib/modules/2.6.11.4-21.2-default/build
SUBDIRS=/home/steinmetz/ibm-acpi-0.11 modules
make[1]: Entering directory
`/usr/src/linux-2.6.11.4-21.2-obj/i386/default'
make -C ../../../linux-2.6.11.4-21.2
O=../linux-2.6.11.4-21.2-obj/i386/default modules
  Building modules, stage 2.
  MODPOST
make[1]: Leaving directory
`/usr/src/linux-2.6.11.4-21.2-obj/i386/default'

linux:/home/steinmetz/ibm-acpi-0.11 # *make install*
install -d /lib/modules/2.6.11.4-21.2-default/acpi/
install -m 644 -c ibm_acpi.ko
/lib/modules/2.6.11.4-21.2-default/acpi/
depmod -a

linux:/home/steinmetz/ibm-acpi-0.11 # *modprobe ibm_acpi*
linux:/home/steinmetz/ibm-acpi-0.11 # cd
linux:~ # exit
exit
steinmetz@linux:~/ibm-acpi-0.11> cd

After that:


steinmetz@linux:~> ls /proc/acpi/ibm
bay  beep  bluetooth  cmos  dock  driver  hotkey  led 
light  video

And now?   There is no "thermal".....