On 05/10/2014 06:53 AM, 野宮 賢 / NOMIYA Masaru wrote:
> In the Message; 
> 
>   Subject    : Re: [Alsa-user] Problem with TEAC USB UD-H01 and ALSA
>   Message-ID : <536d9c74.9020...@benoist.name>
>   Date & Time: Fri, 09 May 2014 20:26:44 -0700
> 
> Julien Benoist <jul...@benoist.name> has written:
> 
>> On 05/09/2014 12:00 AM, Clemens Ladisch wrote:
>>> Rutger Noot wrote:
>>>> I heard that there is a patch solving the problem with the TEAC USB
>>>> UD-H01. Did that already make it to a stable kernel?
>>>
>>> Linus merged the patch yesterday; it should show up in the next
>>> stable kernel.
> 
>> FYI, your patch also addresses some playback issues I have experienced 
>> with another device - TEAC AI-501DA - which shares the same USB-ID.
> 
> Unfortunately, still sounds distort with TEAC USB UD-501.

Please test the attached patch, on top of Linus' master git as of today.


Thanks,
Daniel

>From 1d8d7b48054de79bfbb8075d81d40f37842c7a33 Mon Sep 17 00:00:00 2001
From: Daniel Mack <zon...@gmail.com>
Date: Sat, 10 May 2014 19:15:37 +0200
Subject: [PATCH] ALSA: snd-usb: add quirk for TEAC USB UD-501

As reported, the TEAC USB UD-501 needs the same quirk as the UD-H01.

Signed-off-by: Daniel Mack <zon...@gmail.com>
Reported-by: Masaru Nomiya <nom...@galaxy.dti.ne.jp>
---
 sound/usb/endpoint.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index 289f582..8066aa5 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -472,7 +472,8 @@ struct snd_usb_endpoint *snd_usb_add_endpoint(struct snd_usb_audio *chip,
 
 		ep->syncmaxsize = le16_to_cpu(get_endpoint(alts, 1)->wMaxPacketSize);
 
-		if (chip->usb_id == USB_ID(0x0644, 0x8038) /* TEAC UD-H01 */ &&
+		if ((chip->usb_id == USB_ID(0x0644, 0x8038) ||	/* TEAC UD-HD501 */
+		     chip->usb_id == USB_ID(0x0644, 0x8043)) &&	/* TEAC UD-H01 */
 		    ep->syncmaxsize == 4)
 			ep->udh01_fb_quirk = 1;
 	}
-- 
1.9.0

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to