Comment 19 for bug 1037763

Revision history for this message
AceLan Kao (acelankao) wrote :

Just try to dig in the root cause and explain the difference between alsa-hda-realtek-patched-dkms v1.0 and v1.1.
Looks like the new kernel changes some code in snd-hda, so that makes the kernel module produced by the dkms package becomes doesn't match with other snd-hda modules come with kernel package.
So, in dkms.conf file, it copy more kernel modules to the system to overwrite those come with kernel package.

% diff -Nru alsa-hda-realtek-patched-1.0/Makefile alsa-hda-realtek-patched-1.1/Makefile
--- alsa-hda-realtek-patched-1.0/Makefile 2012-08-31 16:09:03.000000000 +0800
+++ alsa-hda-realtek-patched-1.1/Makefile 2012-09-03 09:33:16.373771214 +0800
@@ -72,3 +72,5 @@

 all:
        make -C $(KERNELBUILD) M=$(shell pwd) modules
+clean:
+ rm -rf *.o *.cmd *.ko *.mod.c modules.order Module.symvers

% diff -Nru alsa-hda-realtek-patched-1.0/dkms.conf alsa-hda-realtek-patched-1.1/dkms.conf
--- alsa-hda-realtek-patched-1.0/dkms.conf 2012-06-06 11:43:07.000000000 +0800
+++ alsa-hda-realtek-patched-1.1/dkms.conf 2012-09-03 09:33:15.269771484 +0800
@@ -1,4 +1,4 @@
-PACKAGE_VERSION="1.0"
+PACKAGE_VERSION="1.1"
 PACKAGE_NAME="alsa_hda_realtek_patched"
 AUTOINSTALL="yes"
 REMAKE_INITRD="yes"
@@ -6,3 +6,12 @@
 BUILT_MODULE_NAME[0]="snd-hda-codec-realtek"
 DEST_MODULE_LOCATION[0]="/updates/kernel"

+BUILT_MODULE_NAME[1]="snd-hda-codec"
+DEST_MODULE_LOCATION[1]="/updates/kernel"
+
+BUILT_MODULE_NAME[2]="snd-hda-codec-hdmi"
+DEST_MODULE_LOCATION[2]="/updates/kernel"
+
+BUILT_MODULE_NAME[3]="snd-hda-intel"
+DEST_MODULE_LOCATION[3]="/updates/kernel"