[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ibm-acpi, thinkpad_acpi (was: Thinkpad Fn-F5 Bluetooth Switch)



On 30/09/2007, Roberto Ragusa <mail robertoragusa it> wrote:
Christoph Höger wrote:
> Am Sonntag, den 30.09.2007, 01:49 +0100 schrieb Christopher Brown:
>>
>> I take it:
>>
>> # modprobe thinkpad-acpi
>>
>> doesn't do anything for you?
>
> Hi,
>
> I did not know that module until this morning. Thank you for the hint :)
> And to topic: I can use FN-F5 with this module in F7 with
> 2.6.22.9-91.fc7

It was called ibm-acpi until a few weeks ago, then it
changed for F7 too.
The path also changed and that causes a problem because
/etc/rc.d/rc.sysinit doesn't load the module.

The new path is:

  /lib/modules/$unamer/kernel/drivers/misc/thinkpad_acpi.ko

But the loading script does this:

  # Initialize ACPI bits
  if [ -d /proc/acpi ]; then
      for module in /lib/modules/$unamer/kernel/drivers/acpi/* ; do
          module=${module##*/}
          module=${module%.ko}
          modprobe $module >/dev/null 2>&1
      done
  fi

I noticed because some gkrellm temperature readings (gkibm-acpi) are
unavailable without the module.

It was moved to drivers/misc for 2.6.22 (and renamed from ibm-acpi to thinkpad-acpi) as it doesn't just cover acpi functions. As this is intentional it looks like sysinit will need tweaking. Maybe.

I've filed a bug with patch for this.

https://bugzilla.redhat.com/show_bug.cgi?id=313091

We'll see what happens.

Cheers
Chris

--
http://www.chruz.com
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]