> 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) 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. Regards /Robert ��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥