Re: Problem with TEAC USB UD-H01 and ALSA

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

 



Hello,

In the Message; 

  Subject    : Re:  Problem with TEAC USB UD-H01 and ALSA
  Message-ID : <5371EDC0.7050109@xxxxxxxxxx>
  Date & Time: Tue, 13 May 2014 12:02:40 +0200

Daniel Mack <daniel@xxxxxxxxxx> has written:

> On 05/13/2014 11:55 AM, Masaru Nomiya wrote:
> > Daniel Mack <daniel@xxxxxxxxxx> has written:
> > 
> >> It is related, but the code relies on the boolean variable
> >> sender->udh01_fb_quirk which should be set for you device by the patch I
> >> sent you. You could add this line inside this if-condition:
> > 
> >>   printk(KERN_ERR "%s():%d\n", __func__, __LINE__);

> ...

> > # cat messages | grep UD-501
> > 
> > 2014-05-13T16:09:08.127126+09:00 linux-uw5l kernel: [    1.390699] usb 1-10: Product: TEAC UD-501
> > 2014-05-13T16:09:08.127139+09:00 linux-uw5l kernel: [    1.391932] hid-generic 0003:0644:8043.0001: hiddev0,hidraw0: USB HID v1.10 Device [TEAC Corporation TEAC UD-501] on usb-0000:00:02.1-10/input2
> > 2014-05-13T18:26:16.490399+09:00 linux-uw5l kernel: [    1.504975] usb 1-10: Product: TEAC UD-501
> > 2014-05-13T18:26:16.490412+09:00 linux-uw5l kernel: [    1.506397]
> > hid-generic 0003:0644:8043.0001: hiddev0,hidraw0: USB HID v1.10 Device [TEAC Corporation TEAC UD-501] on usb-0000:00:02.1-10/input2
> > 
> > Is this OK?

> Play a file with aplay, then check the logs again.

No, changes.

Maybe, I've got mistaken. That is, I added your advice as follows;

		if ((chip->usb_id == USB_ID(0x0644, 0x8038) ||	/* TEAC UD-H01 */
		     chip->usb_id == USB_ID(0x0644, 0x8043)) &&	/* TEAC UD-501 */
		    printk(KERN_ERR "%s():%d\n", __func__, __LINE__);
		    ep->syncmaxsize == 4)
			ep->udh01_fb_quirk = 1;
	}
In this case, kernel compilation failed. So, I changed;

   	      	     printk(KERN_ERR "%s():%d\n", __func__, __LINE__);
		if ((chip->usb_id == USB_ID(0x0644, 0x8038) ||	/* TEAC UD-H01 */
		     chip->usb_id == USB_ID(0x0644, 0x8043)) &&	/* TEAC UD-501 */
		      ep->syncmaxsize == 4)
			ep->udh01_fb_quirk = 1;
	}

With this, I could compile. But this is not your intension, is it?

Thanks.

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
         "No..., with money."

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
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