I had some trouble before I found a way to patch the module. First I thought that I could compile the modules in the kernel tree, but I figured out that Ubuntu seems to build the alsa-modules separately. I tried the official way with make-kpkg for building those modules, but I failed. I commented this in: https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/204698.
Finally I used the already installed alsa-sources, configured it myself, build it myself, backuped the appropriate .ko file e.g. snd.ko and replaced it with my version. I also added a printk("Modified ..."); to the code to see that my module was indeed taken ;-), which I deleted of course from the patch.
cd /usr/src/modules/alsa-driver*
sudo ./configure --with-kernel=/usr/src/linux-headers-$(uname -r)
sudo make
Hi Juan,
I had some trouble before I found a way to patch the module. First I thought that I could compile the modules in the kernel tree, but I figured out that Ubuntu seems to build the alsa-modules separately. I tried the official way with make-kpkg for building those modules, but I failed. I commented this in: /bugs.launchpad .net/ubuntu/ +source/ kernel- package/ +bug/204698.
https:/
Finally I used the already installed alsa-sources, configured it myself, build it myself, backuped the appropriate .ko file e.g. snd.ko and replaced it with my version. I also added a printk("Modified ..."); to the code to see that my module was indeed taken ;-), which I deleted of course from the patch.
cd /usr/src/ modules/ alsa-driver* kernel= /usr/src/ linux-headers- $(uname -r)
sudo ./configure --with-
sudo make
Frank