Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ibm-acpi not working!
ibm-acpi not working!
I have added: "ibm-acpi" to /etc/modules. I have then restarted the computer but it only works for the first 5 minutes, then the fan goes on again permanently eventhough I have only emacs running. Any ideas on how I get the acpi module to work for more than 5 minutes? I have an IBM T40/p
-
- Posts: 34
- Joined: Sun Jan 29, 2006 5:50 pm
- Location: Tokyo, Japan
- Contact:
Do you have
options ibm_acpi experimental=1
in /etc/modules.d/ibm_acpi.modprobe ?
If not, add it like this:
echo "options ibm_acpi experimental=1" >> /etc/modules.d/ibm_acpi.modprobe
Then reboot, or do:
rmmod ibm_acpi
modprobe ibm_acpi
Check if you get an output with both:
cat /proc/acpi/ibm/thermal
and
cat /proc/acpi/ibm/fan
Finally, this is just the "interface" to the thermal sensors and the fan. The fan won't stop just like this. You need a script running that checks the sensors and sets the fan speed. You can find that here:
http://thinkwiki.org/wiki/ACPI_fan_control_script
HTH,
Marcus
options ibm_acpi experimental=1
in /etc/modules.d/ibm_acpi.modprobe ?
If not, add it like this:
echo "options ibm_acpi experimental=1" >> /etc/modules.d/ibm_acpi.modprobe
Then reboot, or do:
rmmod ibm_acpi
modprobe ibm_acpi
Check if you get an output with both:
cat /proc/acpi/ibm/thermal
and
cat /proc/acpi/ibm/fan
Finally, this is just the "interface" to the thermal sensors and the fan. The fan won't stop just like this. You need a script running that checks the sensors and sets the fan speed. You can find that here:
http://thinkwiki.org/wiki/ACPI_fan_control_script
HTH,
Marcus
Ok I now have this:
and this in: /etc/modprobe.d/
The I have rebooted but afterwards I get:
And the fan starts to run again after a few minutes, permanently .
Code: Select all
johs@ubuntu:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
lp
mousedev
psmouse
ibm_acpi
johs@ubuntu:~$
Code: Select all
options ibm_acpi hotkey=enable,0xff9f,experimental=1
Code: Select all
johs@ubuntu:~$ cat /proc/acpi/ibm/thermal
cat: /proc/acpi/ibm/thermal: No such file or directory
johs@ubuntu:~$ cat /proc/acpi/ibm/fan
cat: /proc/acpi/ibm/fan: No such file or directory
johs@ubuntu:~$
Code: Select all
johs@ubuntu:~$ dmesg | grep acpi
[4294695.031000] ibm_acpi: IBM ThinkPad ACPI Extras v0.8
[4294695.031000] ibm_acpi: http://ibm-acpi.sf.net/
[4294695.044000] ibm_acpi: dock device not present
[4294703.515000] shpchp: acpi_shpchprm:\_SB_.PCI0.PCI1 _HPP fail=0x5
[4294703.515000] shpchp: acpi_pciehprm:\_SB_.PCI0.PCI1 OSHP fails=0x5
[4294703.515000] shpchp: acpi_shpchprm: Slot sun(1) at s:b:d:f=0x00:02:00:00
[4294703.515000] shpchp: acpi_shpchprm:\_SB_.PCI0.PCI1 _HPP fail=0x5
[4294703.515000] shpchp: acpi_pciehprm:\_SB_.PCI0.PCI1 OSHP fails=0x5
[4294703.515000] shpchp: acpi_shpchprm: Slot sun(2) at s:b:d:f=0x00:02:00:01
johs@ubuntu:~$
Code: Select all
johs@ubuntu:~$ modprobe ibm_acpi
johs@ubuntu:~$
You have v0.8 of ibm_acpi which isn't good enough. That is probably the module that was included with your kernel. You'll need version 0.11 for the experimental option. You can download this version here: http://ibm-acpi.sourceforge.net/
The README file http://ibm-acpi.sourceforge.net/README has the instructions how to compile and install the baby.
When this is done and "dmesg | grep acpi" after a reboot shows that you now actually run the 0.11 version, I'd suggest to read http://thinkwiki.org/wiki/ACPI_fan_control_script to learn how to go on from there.
HTH,
Marcus
The README file http://ibm-acpi.sourceforge.net/README has the instructions how to compile and install the baby.
When this is done and "dmesg | grep acpi" after a reboot shows that you now actually run the 0.11 version, I'd suggest to read http://thinkwiki.org/wiki/ACPI_fan_control_script to learn how to go on from there.
HTH,
Marcus
I just get this error when I try to make it:
root@ubuntu:/home/johs/apps/ibm-acpi-0.11/ibm-acpi-0.11# make
make -C /lib/modules/2.6.12-10-386/build SUBDIRS=/home/johs/apps/ibm-acpi-0.11/ibm-acpi-0.11 modules
make: *** /lib/modules/2.6.12-10-386/build: No such file or directory. Stop.
make: *** [default] Error 2
root@ubuntu:/home/johs/apps/ibm-acpi-0.11/ibm-acpi-0.11#
I have read the readme but it only says that I need to run
make
make install
But it seems that something is missing...
root@ubuntu:/home/johs/apps/ibm-acpi-0.11/ibm-acpi-0.11# make
make -C /lib/modules/2.6.12-10-386/build SUBDIRS=/home/johs/apps/ibm-acpi-0.11/ibm-acpi-0.11 modules
make: *** /lib/modules/2.6.12-10-386/build: No such file or directory. Stop.
make: *** [default] Error 2
root@ubuntu:/home/johs/apps/ibm-acpi-0.11/ibm-acpi-0.11#
I have read the readme but it only says that I need to run
make
make install
But it seems that something is missing...
johs@ubuntu:~$ ls -la /lib/modules/
total 16
drwxr-xr-x 4 root root 4096 2006-02-19 11:27 .
drwxr-xr-x 19 root root 4096 2006-02-19 11:27 ..
drwxr-xr-x 6 root root 4096 2006-02-26 00:51 2.6.12-10-386
drwxr-xr-x 6 root root 4096 2006-02-19 11:28 2.6.12-9-386
johs@ubuntu:~$
johs@ubuntu:~$ uname -a
Linux ubuntu 2.6.12-10-386 #1 Mon Feb 13 12:13:15 UTC 2006 i686 GNU/Linux
johs@ubuntu:~$
total 16
drwxr-xr-x 4 root root 4096 2006-02-19 11:27 .
drwxr-xr-x 19 root root 4096 2006-02-19 11:27 ..
drwxr-xr-x 6 root root 4096 2006-02-26 00:51 2.6.12-10-386
drwxr-xr-x 6 root root 4096 2006-02-19 11:28 2.6.12-9-386
johs@ubuntu:~$
johs@ubuntu:~$ uname -a
Linux ubuntu 2.6.12-10-386 #1 Mon Feb 13 12:13:15 UTC 2006 i686 GNU/Linux
johs@ubuntu:~$
Though I am not sure, I think the problem is caused by the fact that your kernel-headers/source does not match your kernel version.
I don't know if there is an easy way to fix it. Personally, I would download the kernel sources and compile and install a custom kernel at this point. This way I'd know exactly what I have. I'm using kernel 2.6.12, while I had issues with newer kernels.
You would not need to do any modifications to the kernel config (just make sure ibm_acpi is set to M, not to Y) and after compilation, installation and reboot, I think the compilation of ibm_acpi should work.
Here's on HOWTO: https://wiki.ubuntu.com/KernelHowto
If you use this, you need to read and appy the "Using an existing configuration" section. It shows how to use your existing kernel configuration as the base for the configuration of your new kernel. Unfortunetly, this section is not in the HOWTO where you need it, but appended below.
HTH,
Marcus
I don't know if there is an easy way to fix it. Personally, I would download the kernel sources and compile and install a custom kernel at this point. This way I'd know exactly what I have. I'm using kernel 2.6.12, while I had issues with newer kernels.
You would not need to do any modifications to the kernel config (just make sure ibm_acpi is set to M, not to Y) and after compilation, installation and reboot, I think the compilation of ibm_acpi should work.
Here's on HOWTO: https://wiki.ubuntu.com/KernelHowto
If you use this, you need to read and appy the "Using an existing configuration" section. It shows how to use your existing kernel configuration as the base for the configuration of your new kernel. Unfortunetly, this section is not in the HOWTO where you need it, but appended below.
HTH,
Marcus
I would like to revive an old thread here, since I am having these problems now..
I am trying to install ibm_acpi on my X60, under Ubuntu 6.10 running under VMware 5.5.3, and have a basic understanding of how to use Linux. All I need from this is the ability to toggle the Thinklight so that I can use the Gaim-thinklight plugin to notify me of incoming instant messages.
I have ran 'make' and 'make install' sucessfully on ibm_acpi version 0.11, but cannot get past 'modprobe ibm_acpi'. Here is my output:
sparta@thinkpad:/lib/modules/2.6.17-11-generic/acpi$ ls
ibm_acpi.ko
sparta@thinkpad:/lib/modules/2.6.17-11-generic/acpi$ sudo modprobe ibm_acpi
FATAL: Error inserting ibm_acpi (/lib/modules/2.6.17-11-generic/acpi/ibm_acpi.ko): No such device
If there is any other info I can give that will enable anyone to help me, just let me know. Also, if there is any howto or forum threads that can solve my issues, I wouldn't mind just being pointed there either. I have already tried searching through this forum, Ubuntu's forum, as well as Googling for how to install ibm_acpi.
I am trying to install ibm_acpi on my X60, under Ubuntu 6.10 running under VMware 5.5.3, and have a basic understanding of how to use Linux. All I need from this is the ability to toggle the Thinklight so that I can use the Gaim-thinklight plugin to notify me of incoming instant messages.
I have ran 'make' and 'make install' sucessfully on ibm_acpi version 0.11, but cannot get past 'modprobe ibm_acpi'. Here is my output:
sparta@thinkpad:/lib/modules/2.6.17-11-generic/acpi$ ls
ibm_acpi.ko
sparta@thinkpad:/lib/modules/2.6.17-11-generic/acpi$ sudo modprobe ibm_acpi
FATAL: Error inserting ibm_acpi (/lib/modules/2.6.17-11-generic/acpi/ibm_acpi.ko): No such device
If there is any other info I can give that will enable anyone to help me, just let me know. Also, if there is any howto or forum threads that can solve my issues, I wouldn't mind just being pointed there either. I have already tried searching through this forum, Ubuntu's forum, as well as Googling for how to install ibm_acpi.
X220 Windows 7 Pro, X60 - 1709-7HU Ubuntu 9.10 + Ultrabase X6, X61t - 7764-CTO Windows 7 32b Ultimate + Ultrabase X6, , 19" Sony - SDM-HS95/B, Logitech MX Revolution, Logitech Dinovo Cordless keyboard and mouse, IBM Model M (1390131)
Re: ibm-acpi not working!
sorry to bringing back to life this obsolete thread , but do you know how to forceloading some modules to prevent :
cat: /proc/acpi/ibm/thermal: No such file or directory
Some of my logs at :
http://rzr.online.fr/q/sensor#module
cat: /proc/acpi/ibm/thermal: No such file or directory
Some of my logs at :
http://rzr.online.fr/q/sensor#module
http://rzr.online.fr/q/lenovo# Lenovo G470 | Model Name : 20078 | M fg Date: 11/03/23 | BIOS: 40CN23WW(V2.09) 06/20/2011 | OS:GNU/Linux/Debian
http://forum.thinkpads.com/viewtopic.php?f=41&t=100355# Please help to fix : Fan, Acpi, Dsdt, Aspm ...
http://forum.thinkpads.com/viewtopic.php?f=41&t=100355# Please help to fix : Fan, Acpi, Dsdt, Aspm ...
-
- Posts: 2
- Joined: Tue Oct 04, 2011 5:40 pm
- Location: London, UK
Re: ibm-acpi not working!
First use to check it hasn't loaded. to manually insert.
I think you're problem might actually be to do with the move from /proc to /sys/class
Jamie
Code: Select all
lsmod | grep acpi
Code: Select all
modprobe x
I think you're problem might actually be to do with the move from /proc to /sys/class
Jamie
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 584 Views
-
Last post by TPFanatic
Wed Feb 28, 2024 7:06 pm
-
-
T430 Thinklight and Integrated Camera not working
by wurmhol3 » Tue Oct 24, 2023 10:58 am » in ThinkPad T430-T490 / T530-T590 Series - 2 Replies
- 2912 Views
-
Last post by axur-delmeria
Fri Oct 27, 2023 7:12 am
-
-
-
T440p + Ultra Dock, but dock video out (HDMI) not working
by Arf the Lab » Sat Nov 04, 2023 6:58 pm » in ThinkPad T430-T490 / T530-T590 Series - 6 Replies
- 5109 Views
-
Last post by RealBlackStuff
Mon Nov 06, 2023 1:39 am
-
-
-
thinkpad t440p Linux trackpad + trackpoint not working.
by jaggreaney » Thu Nov 09, 2023 2:54 pm » in ThinkPad T430-T490 / T530-T590 Series - 1 Replies
- 2815 Views
-
Last post by RealBlackStuff
Thu Nov 09, 2023 11:48 pm
-
Who is online
Users browsing this forum: No registered users and 10 guests