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.


Daniel


------------------------------------------------------------------------------
"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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to