Re: [LAU] Trouble getting Tascam US-122 to run

From: Guido Aulisi <guido.aulisi@email-addr-hidden>
Date: Sun May 19 2013 - 01:10:44 EEST

What is the output of dmesg? If you get something like:

Sequence Error!(hcd_frame=
Most probably some urb of usb-frame is still missing.
Cause could be too long delays in usb-hcd interrupt handling.

then there are problems with urb and usb.

I managed to use my Us122 with this patch:

diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c
index b376532..9b672a5 100644
--- a/sound/usb/usx2y/usbusx2yaudio.c
+++ b/sound/usb/usx2y/usbusx2yaudio.c
@@ -324,7 +324,7 @@ static void i_usX2Y_urb_complete(struct urb *urb)
                usX2Y_error_urb_status(usX2Y, subs, urb);
                return;
        }
- if (likely((urb->start_frame & 0xFFFF) == (usX2Y->wait_iso_frame & 0xFFFF)))
+ if (likely((urb->start_frame & 0x03FF) == (usX2Y->wait_iso_frame & 0x03FF)))
                subs->completed_urb = urb;
        else {
                usX2Y_error_sequence(usX2Y, subs, urb);

You should also try to set snd-usb.usx2y paramenter nrpacks to 1.

Ciao
Guido

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue May 21 00:15:01 2013

This archive was generated by hypermail 2.1.8 : Tue May 21 2013 - 00:15:01 EEST