Re: State of highspeed usb2 audio?

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

 



On 15.06.2012 13:43, alexander wrote:
> On 04/13/2012 01:47 AM, Daniel Mack wrote:
>> On 13.04.2012 00:06, Daniel Mack wrote:
>>
>>> Ah ok. Saw the patch and added a new one that implements the quirk for
>>> newer kernels. I also attached the patch here.
>>>
>>> Once you managed to build the kernel (there are plenty of good HOWTOs
>>> out there), let me know the result. You can apply the other patch
>>> additionally (from the gist location I pointed you to), but that should
>>> be optional.
>> Eh, sorry. My last patch was bogus. Instead, you should try the one
>> attached to this mail, but you need to apply the streaming rework series
>> *before* that: https://gist.github.com/1168715
>>
>> Let me know if that works.
>>
>>
>> Daniel
>>
> Any news on this? The patche's didn't work last time I tried.

I lost track on this. Was it that the patch didn't apply?

> I could 
> try again with the latest stable kernel, but I doubt that helps :P I 
> still get the same error with the vanilla 3.4.2 kernel.

There have been some final updates on the new streaming logic just
recently. Please checkout v3.5-rc3 and apply the patch I sent back then
(attached again). I just double-checked that it still applies cleanly.


Daniel

diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index 5cfad6d..f692e2f 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -474,6 +474,10 @@ struct snd_usb_endpoint *snd_usb_add_endpoint(struct snd_usb_audio *chip,
 			ep->syncinterval = 3;
 
 		ep->syncmaxsize = le16_to_cpu(get_endpoint(alts, 1)->wMaxPacketSize);
+
+		if (chip->usb_id == USB_ID(0x0926, 0x0202) &&
+		    snd_usb_get_speed(chip->dev) == USB_SPEED_HIGH)
+			ep->syncmaxsize = 4;
 	}
 
 	list_add_tail(&ep->list, &chip->ep_list);
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux