All of lore.kernel.org
 help / color / mirror / Atom feed
* Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module
@ 2007-05-28 14:37 Alex Pintilie
  2007-05-29  7:49 ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Pintilie @ 2007-05-28 14:37 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module
  2007-05-28 14:37 Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module Alex Pintilie
@ 2007-05-29  7:49 ` Clemens Ladisch
  2007-05-29 16:46   ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2007-05-29  7:49 UTC (permalink / raw)
  To: Alex Pintilie, alsa-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module
  2007-05-29  7:49 ` Clemens Ladisch
@ 2007-05-29 16:46   ` Takashi Iwai
  2007-05-30 23:37     ` Alex Pintilie
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2007-05-29 16:46 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Alex Pintilie, alsa-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module
  2007-05-29 16:46   ` Takashi Iwai
@ 2007-05-30 23:37     ` Alex Pintilie
  2007-05-31  6:39       ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Pintilie @ 2007-05-30 23:37 UTC (permalink / raw)
  To: alsa-devel

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
>
>   

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module
  2007-05-30 23:37     ` Alex Pintilie
@ 2007-05-31  6:39       ` Clemens Ladisch
  2007-05-31  6:55         ` Tobin Davis
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2007-05-31  6:39 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module
  2007-05-31  6:39       ` Clemens Ladisch
@ 2007-05-31  6:55         ` Tobin Davis
  0 siblings, 0 replies; 6+ messages in thread
From: Tobin Davis @ 2007-05-31  6:55 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

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:
> 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
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 
Tobin Davis <tdavis@dsl-only.net>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-31  6:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-28 14:37 Native Instruments - Audio Kontrol 1 - snd_usb_caiaq module Alex Pintilie
2007-05-29  7:49 ` Clemens Ladisch
2007-05-29 16:46   ` Takashi Iwai
2007-05-30 23:37     ` Alex Pintilie
2007-05-31  6:39       ` Clemens Ladisch
2007-05-31  6:55         ` Tobin Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.