At Tue, 13 May 2014 19:52:54 +0900, Masaru Nomiya wrote: > > Hello, > > In the Message; > > Subject : Re: Problem with TEAC USB UD-H01 and ALSA > Message-ID : <5371F686.2010800@xxxxxxxxxx> > Date & Time: Tue, 13 May 2014 12:40:06 +0200 > > Daniel Mack <daniel@xxxxxxxxxx> has written: > > > On 05/13/2014 12:19 PM, Masaru Nomiya wrote: > > > 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? > > > Nope. What I meant is this: > > > if ((chip->usb_id == USB_ID(0x0644, 0x8038) || /* TEAC UD-H01 */ > > chip->usb_id == USB_ID(0x0644, 0x8043)) && /* TEAC UD-501 */ > > ep->syncmaxsize == 4) { > > printk(KERN_ERR "XXX %s():%d\n", __func__, __LINE__); > > ep->udh01_fb_quirk = 1; > > } > > > Then check for "XXX" in the logs when you plug in the device. > > I'm very sorry for bother you. > What is "XXX"? > 3 digit? It's meant just as a marker for grep to hit. It can be any string (such as "PICKUPME", "qwertyuiop" or whatever) while "XXX" is often a standard choice for a debug print. So, follow blindly what he asked. Takashi ------------------------------------------------------------------------------ "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