Skip to contentSkip to conversation

Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module

DISCUSSION Alex Pintilie 4 participants 6 messages May 28, 2007 – May 31, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Alex Pintilie

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

#2 lore raw

At Tue, 29 May 2007 09:49:11 +0200,

Quoted 9 lines · Clemens Ladisch
Quoted 1 line · Alex Pintilie

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

#3 lore raw

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

Quoted 26 lines · Takashi Iwai

At Tue, 29 May 2007 09:49:11 +0200,

Quoted 10 lines · Clemens Ladisch
Quoted 2 lines · Alex Pintilie

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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#4 lore raw
Quoted 8 lines · Alex Pintilie
# 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

#5 lore raw

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.

Quoted 26 lines · Clemens Ladisch
Quoted 8 lines · Alex Pintilie
# 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
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Signature · 1 line
Tobin Davis <[email protected]>