Clemens Ladisch wrote:
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. :)
Good: I hoped so.
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.
Yes, sorry, I realised this after I hit 'send'. Anyway, it all
seems to work after a reboot, but I have a feeling it might still be
using the snd-usb-audio driver rather than the snd-ua101.
Should the create_ua1000_quirk() function be removed from usbaudio.c too?
Cheers,
Colin.