Hi,
We tested the code on our board. Now the USB host controller
functionality works almost perfect, with some losses at very high rates
(921600), while it does not crash any more nor with use-to-serial USB or
other media devices.
Thanks a lot,
Spyros
On 22/3/2012 9:12 μμ, Conor O'Gorman wrote:
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
--
Best Regards,
Spyridon Tompros
----------------------------------------
Dr. Ing. Spyridon Tompros
36 GE Lebon, 1160 Brussels
tel:+322.5133076
www.qualtek.eu
----------------------------------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel