[LAU] UA-101

Clemens Ladisch clemens at ladisch.de
Wed Feb 17 13:22:15 EST 2010


Colin Fletcher wrote:
> Clemens Ladisch wrote:
>> Okay, it should work.  Please replace your ua101.c with this one:
>> http://www.alsa-project.org/~clemens/ua101.c
> 
> Thank you for looking at this.
> 
> I replaced the version of ua101.c in alsa-driver-1.0.22.1 with this one, 
> and I get:
> ...
> ua101.c:914: error: ‘snd_pcm_lib_mmap_vmalloc’ undeclared here (not in a function)

Sorry, this function is defined only in the latest development ALSA
drivers.

> If I comment out the references to snd_pcm_lib_mmap_vmalloc on lines 914 
> and 927,

This is actually the correct remedy for an older ALSA.  :)

> make && sudo make install in alsa-driver-1.0.22.1 run to 
> completion, but when I connect the UA-1000, I get  the following in 
> /var/log/messages:
> 
> Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695322] snd_usb_lib: 
> disagrees about version of symbol snd_rawmidi_receive

Unload all old sound modules before loading the new ones, or just reboot.


HTH
Clemens


More information about the Linux-audio-user mailing list