diff --git a/dwc2.ko b/dwc2.ko deleted file mode 100644 index c43ba24..0000000 Binary files a/dwc2.ko and /dev/null differ diff --git a/gadget.patch b/gadget.patch deleted file mode 100644 index 7a9f181..0000000 --- a/gadget.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- gadget_orig.c 2017-01-13 13:47:56.293600033 -0500 -+++ ../linux/drivers/usb/dwc2/gadget.c 2017-01-13 14:49:00.711208323 -0500 -@@ -1207,6 +1207,15 @@ - ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, - ctrl->wIndex, ctrl->wLength); - -+ /* Prints setup requests */ -+ printk("USB DWC2 REQ %02x %02x %04x %04x %04x\n", -+ ctrl->bRequestType, -+ ctrl->bRequest, -+ ctrl->wValue, -+ ctrl->wIndex, -+ ctrl->wLength); -+ -+ - if (ctrl->wLength == 0) { - ep0->dir_in = 1; - hsotg->ep0_state = DWC2_EP0_STATUS_IN; diff --git a/kernelmodules/gadget.patch b/kernelmodules/gadget.patch new file mode 100644 index 0000000..ae21431 --- /dev/null +++ b/kernelmodules/gadget.patch @@ -0,0 +1,19 @@ +*** gadget.bak 2017-03-02 15:04:37.850238559 -0500 +--- gadget.c 2017-03-02 14:45:05.883206776 -0500 +*************** +*** 1207,1212 **** +--- 1207,1220 ---- + ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, + ctrl->wIndex, ctrl->wLength); + ++ /* Prints setup requests */ ++ printk("USB DWC2 REQ %02x %02x %04x %04x %04x\n", ++ ctrl->bRequestType, ++ ctrl->bRequest, ++ ctrl->wValue, ++ ctrl->wIndex, ++ ctrl->wLength); ++ + if (ctrl->wLength == 0) { + ep0->dir_in = 1; + hsotg->ep0_state = DWC2_EP0_STATUS_IN;