On Thu, 2012-03-22 at 17:48 +0100, Spyridon Tompros wrote:

> We have tested the following the following USB drivers provided with the 
> latest openwrt/trunk version (downloaded yesterday):
> -Kmod-usb-core
> -Kmod-usb2
> -Kmod-serial-to-usb
> 
> In all cases we observe lost packets when sending files to a PC and 
> receiving them back. Some times the kernel crashes, while crashes happen 
> always when we try to physically connect a USB HUB or a media USB device.
> 

I saw improvements in native danube usb behaviour with this change:

+++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
-@@ -0,0 +1,1841 @@
+@@ -0,0 +1,1839 @@
 +/* ==========================================================================
 + * $File: 
//dwh/usb_iip/dev/software/otg_ipmate/linux/drivers/dwc_otg_hcd_intr.c $
 + * $Revision: 1.1.1.1 $
@@ -11891,8 +11891,6 @@
 +                       * automatically executes the PING, then the transfer.
 +                       */
 +                  halt_channel(_hcd, _hc, _qtd, DWC_OTG_HC_XFER_ACK, 
must_free);
-+              } else {
-+                  halt_channel(_hcd, _hc, _qtd, _hc->halt_status, must_free);
 +              }
 +      }
 +

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to