[alsa-devel] snd-usb endpoint rework

Daniel Mack zonque at gmail.com
Wed May 23 15:53:31 CEST 2012


Hey Aurélien,

On 22.05.2012 20:22, Aurélien Leblond wrote:
> Hello Daniel,
> 
> Here are the results of today's testing.
> I don't know if they'll help in anyway, but here we go.

Thanks! Which version of your kernel is this? The one with the new driver?

> BOOT WITH THE UA-25EX
> 
> Trying to use aplay:
> 
> blablack at igorito:~$ aplay 10\ -\ Track\ 10-L.wav
> ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
> ALSA lib conf.c:4241:(_snd_config_evaluate) function
> snd_func_card_driver returned error: No such file or directory
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat
> returned error: No such file or directory
> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer
> returned error: No such file or directory
> ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file
> or directory
> ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
> aplay: main:682: audio open error: No such file or directory

What does "aplay -l" show? Also, what does it show on the older Ubuntu
kernel? Is there any difference?

> 
> blablack at igorito:~$ aplay -D default:CARD=UA25EX 10\ -\ Track\ 10-L.wav
> 
> Second one work ok... Let it play for several minutes and it's all fine.

Ok, fine.

> BOOT WITH THE FTU
> 
> blablack at igorito:~$ aplay 10\ -\ Track\ 10-L.wav
> ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
> ALSA lib conf.c:4241:(_snd_config_evaluate) function
> snd_func_card_driver returned error: No such file or directory
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat
> returned error: No such file or directory
> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer
> returned error: No such file or directory
> ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file
> or directory
> ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
> aplay: main:682: audio open error: No such file or directory
> 
> blablack at igorito:~$ aplay -D default:CARD=Ultra 10\ -\ Track\ 10-L.wav

Try "aplay -D hw:CARD=Ultra 10\ -\ Track\ 10-L.wav"

> No sound...
> I tried to reboot several times, unplug/replug, checked alsamixer: all
> look fine to me but still no sound.
> Actually, it is not "exactly" no sound: I can see the 4 front leds
> flash very quickly, and I can hear a click in the speakers (with the
> FX, the click is longer due to the reverb, handy to notice it!).

The 4 front LEDs on the FTU signal input level activity, not output. Is
there anything connected to those inputs?

> Using mplayer...well I don't know if I'm just an idiot or if there is
> a deeper problem, but I can't get the alsa parameter to connect to the
> sound card. And if I don't specify the -ao parameter, I get the same
> error as aplay "cannot find card 0".

Try "mplayer -ao alsa:device=plughw=Ultra file.wav"

> Using VLC, I can see that VLC doesn't get stuck but plays something,
> unfortunately, still no sound.

I have to try VLC later today.

> In dmesg, I get:
> [    3.031270] usb 2-1.2: new high-speed USB device number 3 using ehci_hcd
> [    3.118175] usb 2-1.2: config 1 interface 3 altsetting 0 bulk
> endpoint 0x7 has invalid maxpacket 8
> [    3.118185] usb 2-1.2: config 1 interface 3 altsetting 0 bulk
> endpoint 0x87 has invalid maxpacket 8
> ...
> [   18.090854] ALSA mixer.c:796 usb-audio: set quirks for FTU Effect
> Feedback/Volume
> [   18.107831] ALSA mixer.c:787 usb-audio: set quirk for FTU Effect Duration
> [   18.109496] ALSA mixer.c:796 usb-audio: set quirks for FTU Effect
> Feedback/Volume
> 
> The first error message is "ok" I far as I remember, and the second
> message shows the detection of the FTU - all look fine to me...

Yes, to me, too.

> IN BOTH CASES, FTU AND UA-25EX
> 
> Starting jack result in an immediate freeze of the system.

I really fail to see any of these issues on my system. I tried with both
jackd and jackd2 and set them to real time priorities and chose 64 bytes
sample frames in PureData. All good, no lockups. Can you describe your
jackd setup? How do you start it?

> If there is anything else I can provide to you, let me know.
> Hope all this help somehow!

I need to be able to see the issues you describe. Once I do, I'll work
fixing them!


Daniel


More information about the Alsa-devel mailing list