Re: UA-101

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clemens Ladisch wrote:
> Colin Fletcher wrote:
>> Clemens Ladisch wrote:
>>> Colin Fletcher wrote:
>>>> Sorry to jump in late to this thread, but is your new UA-101 driver
>>>> likely to work for the UA-1000 as well?
>>> This might be possible, if the UA-1000's device IDs are added to the
>>> driver.  Please send me the output of "lsusb -v" for this device for all
>>> sample rate settings.
>> lsusb -v output for all four sample rate settings attached. I hope it's
>> helpful.
> 
> 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:

make -C /lib/modules/2.6.32.7-b43-force-pio/source
SUBDIRS=/home/colinf/src/alsa/alsa-driver-1.0.22.1  CPP="gcc -E"
CC="gcc" modules
make[1]: Entering directory `/home/colinf/src/linux/linux-2.6'
   CC [M]  /home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/ua101.o
In file included from
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/ua101.c:2:
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/../alsa-kernel/usb/ua101.c:914: 

error: ‘snd_pcm_lib_mmap_vmalloc’ undeclared here (not in a function)
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/../alsa-kernel/usb/ua101.c:
In function ‘ua101_card_free’:
/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/../alsa-kernel/usb/ua101.c:1187: 

warning: unused variable ‘ua’
make[3]: *** [/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb/ua101.o]
Error 1
make[2]: *** [/home/colinf/src/alsa/alsa-driver-1.0.22.1/usb] Error 2
make[1]: *** [_module_/home/colinf/src/alsa/alsa-driver-1.0.22.1] Error 2
make[1]: Leaving directory `/home/colinf/src/linux/linux-2.6'
make: *** [compile] Error 2

If I comment out the references to snd_pcm_lib_mmap_vmalloc on lines 914 
and 927, 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
Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695326] snd_usb_lib: 
Unknown symbol snd_rawmidi_receive
Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695454] snd_usb_lib: 
disagrees about version of symbol snd_rawmidi_transmit_empty
Feb 17 17:11:50 colinf-laptop kernel: [ 2141.695456] snd_usb_lib: 
Unknown symbol snd_rawmidi_transmit_empty

[and so on for about 60 different snd_* symbols ]

I have kernel 2.6.32.8 (built from kernel.org source). Should I be using 
a different kernel, or a different version of alsa-driver, or have I 
made some other mistake?

Cheers,

Colin.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux