[alsa-devel] [PATCH 0/6] snd-usb endpoint rework, version 7

Aurélien Leblond blablack at gmail.com
Tue Apr 17 15:33:00 CEST 2012


> Here's the 7th iteration of patches that reimplement the streaming logic of
> the ALSA USB audio driver.
>
> There were some bugs reportes by Felix and Grant, which have been resolved.
>
> More testing is definitely important, but maybe the code will get a wider
> test coverage when merged to the development tree?
>
>
> Daniel
>
>
> Daniel Mack (6):
>  ALSA: snd-usb: add snd_usb_audio-wide mutex
>  ALSA: snd-usb: implement new endpoint streaming model
>  ALSA: snd-usb: switch over to new endpoint streaming logic
>  ALSA: snd-usb: remove old streaming logic
>  ALSA: snd-usb: add support for implicit feedback
>  ALSA: snd-usb: add some documentation
>
>  sound/usb/card.c     |   10 +-
>  sound/usb/card.h     |   62 ++
>  sound/usb/endpoint.c | 1601 ++++++++++++++++++++++++++++----------------------
>  sound/usb/endpoint.h |   32 +-
>  sound/usb/pcm.c      |  441 ++++++++++++---
>  sound/usb/stream.c   |   31 +-
>  sound/usb/usbaudio.h |    2 +
>  7 files changed, 1381 insertions(+), 798 deletions(-)
>

Hi Daniel,

Sorry for the delay in testing!

It almost works for me!

Using the EHCI USB Port on my laptop (USB 2):
- The UA-25Ex works perfectly.
- The FTU works perfectly.

Using the XHCI USB Port on my laptop (USB 3):
- The UA-25Ex works perfectly.
- Unfortunately, the FTU isn't recognized and I get this error message in dmesg:

[  656.543267] usb 3-1: new high-speed USB device number 8 using xhci_hcd
[  656.556409] usb 3-1: config 1 interface 3 altsetting 0 bulk
endpoint 0x7 has invalid maxpacket 8
[  656.556413] usb 3-1: config 1 interface 3 altsetting 0 bulk
endpoint 0x87 has invalid maxpacket 8
[  656.557650] usb 3-1: ep 0x87 - rounding interval to 32768
microframes, ep desc says 0 microframes
[  656.557869] xhci_hcd 0000:04:00.0: ERROR: unexpected command
completion code 0x11.
[  656.557877] usb 3-1: can't set config #1, error -22

Let me know if there is any other information I can provide you.

Regards,
Aurélien


More information about the Alsa-devel mailing list