[alsa-devel] Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module
Hallo!
I just registered to this mailing list because a developer kindly advised me to do so. I own the external sound card Audio Kontrol 1 from Native Instruments and I was happy to find that drivers for it are already in the making.
I downloaded alsa-driver-1.0.14rc4 and compiled successfully with ./hgcompile, then I installed the module with:
# install -m 644 snd-usb-caiaq.ko /lib/modules/`uname -r`/kernel/drivers/snd-usb-caiaq.ko
# /sbin/depmod -a
After the command:
# modprobe snd-usb-caiaq
I get the following error:
FATAL: Error inserting snd_usb_caiaq (/lib/modules/2.6.20-15-lowlatency/kernel/drivers/snd-usb-caiaq.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg shows the following:
[10095.330000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_new [10095.330000] snd_usb_caiaq: Unknown symbol snd_pcm_new [10095.330000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_limit_hw_rates [10095.330000] snd_usb_caiaq: Unknown symbol snd_pcm_limit_hw_rates [10095.331000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all [10095.331000] snd_usb_caiaq: Unknown symbol snd_pcm_lib_preallocate_pages_for_all [10095.331000] snd_usb_caiaq: Unknown symbol snd_hidden_kfree [10095.331000] snd_usb_caiaq: Unknown symbol snd_verbose_printk [10095.331000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_lib_malloc_pages [10095.332000] snd_usb_caiaq: Unknown symbol snd_pcm_lib_malloc_pages [10095.332000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_lib_ioctl [10095.332000] snd_usb_caiaq: Unknown symbol snd_pcm_lib_ioctl [10095.332000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_lib_free_pages [10095.332000] snd_usb_caiaq: Unknown symbol snd_pcm_lib_free_pages [10095.332000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_set_ops [10095.332000] snd_usb_caiaq: Unknown symbol snd_pcm_set_ops [10095.333000] snd_usb_caiaq: Unknown symbol snd_hidden_kmalloc [10095.333000] snd_usb_caiaq: disagrees about version of symbol snd_pcm_period_elapsed [10095.333000] snd_usb_caiaq: Unknown symbol snd_pcm_period_elapsed
This may not look like much but it's the effort from a couple of days searching, reading and testing. I hope you can help me.
-- Alex
Alex Pintilie wrote:
snd_usb_caiaq: disagrees about version of symbol snd_pcm_new
You are trying to use a new version of the snd-usb-caiaq module with some older version of the other sound modules.
Install all new modules ("make install-modules"), then unload and reload all snd* modules (or reboot).
HTH Clemens
At Tue, 29 May 2007 09:49:11 +0200, Clemens Ladisch wrote:
Alex Pintilie wrote:
snd_usb_caiaq: disagrees about version of symbol snd_pcm_new
You are trying to use a new version of the snd-usb-caiaq module with some older version of the other sound modules.
Install all new modules ("make install-modules"), then unload and reload all snd* modules (or reboot).
Right. In many cases, "stop" via alsasound init script doesn't unload the all snd-* modules but keeps some of them. Thus, after upgrading the alsa drivers, "rcalsasound restart" doesn't suffice (often).
Takashi
Thanks. After compiling I ran "make install-modules". I found some strange behaviour when executing:
# make install-modules
First output line is:
rm -f /lib/modules/2.6.20.3-ubuntu1/misc/snd*.*o /lib/modules/2.6.20.3-ubuntu1/misc/persist.o /lib/modules/2.6.20.3-ubuntu1/misc/isapnp.o
Then "make" continues to work with /lib/modules/2.6.20.3-ubuntu1/ as destination directory. The problem is, I don't know where this directory comes from, I never saw it before nor did I install any packages with that number. My installed kernels are 2.6.20-16-generic 2.6.20-16-lowlatency.
alex@****:/lib/modules$ ls 2.6.20-16-generic 2.6.20-16-lowlatency 2.6.20.3-ubuntu1 (<- ?)
-- Alex
Takashi Iwai wrote:
At Tue, 29 May 2007 09:49:11 +0200, Clemens Ladisch wrote:
Alex Pintilie wrote:
snd_usb_caiaq: disagrees about version of symbol snd_pcm_new
You are trying to use a new version of the snd-usb-caiaq module with some older version of the other sound modules.
Install all new modules ("make install-modules"), then unload and reload all snd* modules (or reboot).
Right. In many cases, "stop" via alsasound init script doesn't unload the all snd-* modules but keeps some of them. Thus, after upgrading the alsa drivers, "rcalsasound restart" doesn't suffice (often).
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Alex Pintilie wrote:
# make install-modules rm -f /lib/modules/2.6.20.3-ubuntu1/misc/snd*.*o ... Then "make" continues to work with /lib/modules/2.6.20.3-ubuntu1/ as destination directory. The problem is, I don't know where this directory comes from, I never saw it before nor did I install any packages with that number. My installed kernels are 2.6.20-16-generic 2.6.20-16-lowlatency.
The configure scripts checks the following directories to find the kernel source: 1) the directory specified with --with-kernel=... 2) /lib/modules/`uname -r`/source 3) /lib/modules/`uname -r`/build 4) /usr/src/linux
What is the output of "uname -r"?
Regards, Clemens
uname -r will output the version of the running kernel. The directory is created when you install a kernel and it's modules, whether it's a pre-compiled package or a custom kernel you build from source.
On Thu, 2007-05-31 at 08:39 +0200, Clemens Ladisch wrote:
Alex Pintilie wrote:
# make install-modules rm -f /lib/modules/2.6.20.3-ubuntu1/misc/snd*.*o ... Then "make" continues to work with /lib/modules/2.6.20.3-ubuntu1/ as destination directory. The problem is, I don't know where this directory comes from, I never saw it before nor did I install any packages with that number. My installed kernels are 2.6.20-16-generic 2.6.20-16-lowlatency.
The configure scripts checks the following directories to find the kernel source:
- the directory specified with --with-kernel=...
- /lib/modules/`uname -r`/source
- /lib/modules/`uname -r`/build
- /usr/src/linux
What is the output of "uname -r"?
Regards, Clemens _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (4)
-
Alex Pintilie
-
Clemens Ladisch
-
Takashi Iwai
-
Tobin Davis