You are not logged in.

#1 2010-03-01 16:26:37

gothmog.todi
Member
From: Austria
Registered: 2007-07-18
Posts: 120

Conflict between OSSv4 and thinkpad_acpi in 2.6.33

With the new Kernel release the thinkpad_acpi module was reworked to use ALSA for its volume subsystem. Therefore it now depends on the snd module, which prevents OSSv4 from working. The CONFIG_THINKPAD_ACPI_ALSA_SUPPORT flag would allow disabling this, but it is set to "y" in kernel26.
My question is now, is there a way short of recompiling the whole kernel to change this setting? (e.g. compiling only the module in question)

Offline

#2 2010-03-01 22:39:48

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Conflict between OSSv4 and thinkpad_acpi in 2.6.33

Ya you would have recompile your kernel.

Take a look at this wiki page: http://wiki.archlinux.org/index.php/Ker … rom_Source


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2010-03-02 12:06:55

gothmog.todi
Member
From: Austria
Registered: 2007-07-18
Posts: 120

Re: Conflict between OSSv4 and thinkpad_acpi in 2.6.33

I had hoped for a way to compile only the module, so that I would be able to continue using the stock kernel.

Offline

#4 2010-03-02 14:56:46

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Conflict between OSSv4 and thinkpad_acpi in 2.6.33

I'm pretty sure that would be possible, however I don't know how to do it.

Here is the path to the module: ./linux-2.6.33/drivers/platform/x86


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2010-03-02 15:14:21

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Conflict between OSSv4 and thinkpad_acpi in 2.6.33

Try that from the kernel src root.

make CONFIG_THINKPAD_ACPI=m CONFIG_THINKPAD_ACPI_VIDEO=y CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y CONFIG_SND=n CONFIG_RFKILL=y  M=drivers/platform/x86
pyther@tux: ls drivers/platform/x86/*.ko              ~/builds/linux-2.6.33-ck1
drivers/platform/x86/thinkpad_acpi.ko

You might be missing rfkill features as the documentation states

Extra functionality will be available if the rfkill (CONFIG_RFKILL)
and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
Note that if you want ThinkPad-ACPI to be built-in instead of
modular, ALSA and rfkill will also have to be built-in.

Guide I used to figure out how to do this: http://www.g-loaded.eu/2005/12/20/build … el-module/


Website - Blog - arch-home
Arch User since March 2005

Offline

Board footer

Powered by FluxBB