Re: UAC2 gadget not recognized on Windows 10

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

 



On Fri, Feb 09, 2018 at 03:56:30PM +0000, Robert Bielik wrote:
> > We don't do github pull requests for the kernel, please see the long
> > text response in that request for how to do it properly.
> > 
> > Heck, we don't even use github :)
> 
> I know, found it out the hard way 😉
> 
> > 
> > > However, that wasn't enough. The device still isn't loaded properly.
> > 
> > What do you mean by "not loaded properly"?
> > 
> > What specific errors are reported?  And what kernel version are you
> > using?
> 
> Kernel version is 4.9.68 (https://github.com/raspberrypi/linux ,
> commit d5a3b4cab0c8eacc93e58cfa1bdbd259399caedd), the wTotalLength
> calc error is present in latest version also
> (https://github.com/torvalds/linux/blob/master/drivers/usb/gadget/function/f_uac2.c#L219)

4.9 is over a year old, can you try 4.14, or even better yet, 4.15?

> Error is simply "This device cannot start. (Code 10)", with an excerpt from setupapi.dev.log:
> 
>     sto:                     {Configure Driver Package: exit(0x00000000)}
>      dvi:                     Install Device: Configuring device class. 15:36:08.031
>      dvi:                     Install Device: Configuring device class completed. 15:36:08.038
>      dvi:                     Device Status: 0x01806400, Problem: 0x1 (0xc0000493)
>      dvi:                     Install Device: Starting device 'USB\VID_1D6B&PID_0104\DEADBEEF00115599'. 15:36:08.045
>      dvi:                     Install Device: Starting device completed. 15:36:08.070
> !!!  dvi:                     Device not started: Device has problem: 0x0a (CM_PROB_FAILED_START), problem status: 0xc0440025.
> 
> Using the TDD tool (http://www.thesycon.de/eng/usb_descriptordumper.shtml) I can see that the patch fixed the problem with wTotalLength, and now I can't see anything that looks suspicious.

I don't remember if usbmon works on the gadget side, but some hint of
what commands the host is sending you and failing would be good to
find...

good luck!

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux