Page 1 of 1

Getting experimental mode for ibm_acpi to work

Posted: Tue Feb 21, 2006 4:41 am
by mini
Hi!

I'm trying to get the experimental features for ibm_acpi to work to be able to use a fan script. I'm not really a linux pro, so I would appreciate some help with this.

I now have Ubuntu 5.10 with kernel 2.6.12. I downloaded the v0.11 of ibm_acpi, replaced it in my kernel source and recompiled the kernel. dmesg now shows "ibm_acpi: ... v0.11" and "cat /proc/acpi/ibm/thermal" shows me reasonable numbers, but I still don't see "/proc/acpi/ibm/fan".

In "/etc/modprobe.d/ibm_acpi.modprobe" I have the line "options ibm_acpi experimental=1,hotkey=enable,0xffgf".

Further, I wonder why, though ibm_acpi obviously is functional (in non-expirimental mode), lsmod does not show ibm_acpi.

Can somebody get me on the right track, please? Thanks!

Regards,
Marcus

Posted: Tue Feb 21, 2006 7:28 am
by mini
I got it to work. I had ibm_acpi compiled into the kernel. I changed it to "M", recompiled the kernel and I now see "fan".

Marcus

Posted: Mon Apr 10, 2006 3:50 pm
by cvwright
I'm having a similar problem, only I'm using Fedora Core 4. I have the experimental=1 option in /etc/modprobe.d/ibm_acpi.modprobe, but it just won't enable the experimental stuff on startup. I can manually do 'rmmod ibm_acpi; modprobe ibm_acpi', and suddenly it works, but that's kind of annoying to have to type every time.

I think the problem arises because Fedora loads the ACPI modules in /etc/rc.d/rc.sysinit using insmod instead of modprobe, so it doesn't "get the memo" to use experimental=1.

Would it be a bad idea to change 'insmod' to 'modprobe' in the rc.sysinit script?