#15239: USB Problems with TL-WR1043ND v2
--------------------------+----------------------------------
  Reporter:  geduxas      |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  high         |  Milestone:  Chaos Calmer (trunk)
 Component:  base system  |    Version:  Trunk
Resolution:               |   Keywords:  USB hub disconnects
--------------------------+----------------------------------

Comment (by ericwong):

 I have a similar problem on my TL-WR1043ND v2 when using USB hub.
 I tried two different USB hub and they show different behaviour.

 One hub does not work at all. With USB hub and two USB storage devices
 connected, I get this in dmesg after reboot.

 {{{
 [   85.060000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   86.070000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   87.080000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   88.090000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   89.100000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   89.100000] hub 1-1.1:1.0: Cannot enable port 1.  Maybe the USB cable
 is bad?
 [   90.120000] hub 1-1.1:1.0: cannot disable port 1 (err = -145)
 [   91.130000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   92.140000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   93.150000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   94.160000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   95.170000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   95.170000] hub 1-1.1:1.0: Cannot enable port 1.  Maybe the USB cable
 is bad?
 [   96.190000] hub 1-1.1:1.0: cannot disable port 1 (err = -145)
 [   97.200000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   98.210000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [   99.220000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  100.230000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  101.240000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  101.240000] hub 1-1.1:1.0: Cannot enable port 1.  Maybe the USB cable
 is bad?
 [  102.260000] hub 1-1.1:1.0: cannot disable port 1 (err = -145)
 [  103.270000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  104.280000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  105.290000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  106.300000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  107.310000] hub 1-1.1:1.0: cannot reset port 1 (err = -145)
 [  107.310000] hub 1-1.1:1.0: Cannot enable port 1.  Maybe the USB cable
 is bad?
 [  108.330000] hub 1-1.1:1.0: cannot disable port 1 (err = -145)
 [  109.340000] hub 1-1.1:1.0: cannot disable port 1 (err = -145)
 [  109.340000] sd 1:0:0:1: Device offlined - not ready after error
 recovery
 [  109.350000] sd 1:0:0:1: [sdb] Unhandled error code
 [  109.350000] sd 1:0:0:1: [sdb]  Result: hostbyte=0x05 driverbyte=0x00
 [  109.360000] sd 1:0:0:1: [sdb] CDB: cdb[0]=0x28: 28 20 00 00 01 2a 00 00
 08 00
 [  109.370000] end_request: I/O error, dev sdb, sector 298
 [  109.370000] Buffer I/O error on device sdb1, logical block 33
 [  109.380000] sd 1:0:0:1: rejecting I/O to offline device
 [  109.380000] sd 1:0:0:1: rejecting I/O to offline device
 [  109.390000] sd 1:0:0:1: rejecting I/O to offline device
 [  109.390000] sd 1:0:0:1: rejecting I/O to offline device
 [  109.400000] sd 1:0:0:1: rejecting I/O to offline device
 [  109.410000] sd 1:0:0:1: rejecting I/O to offline device
 [  114.390000] hub 1-1.1:1.0: hub_port_status failed (err = -145)
 [  125.790000] ipt_bandwidth: timezone shift of 780 minutes detected,
 adjusting
 [  125.800000]                old minutes west=0, new minutes west=-780
 }}}

 The other hub works right after reboot but it will fail sometime after and
 shows similar error as above...
 The log below is what is shown right after reboot with this hub that
 "works" on this router.

 {{{
 [   35.800000] usbcore: registered new interface driver cdc_acm
 [   35.800000] cdc_acm: USB Abstract Control Model driver for USB modems
 and ISD
 N adapters
 [   35.900000] usbcore: registered new interface driver usblp
 [   35.920000] usbcore: registered new interface driver usbserial
 [   35.930000] USB Serial support registered for generic
 [   35.940000] usbcore: registered new interface driver usbserial_generic
 [   35.940000] usbserial: USB Serial Driver core
 [   36.010000] USB Serial support registered for Sierra USB modem
 [   36.010000] usbcore: registered new interface driver sierra
 [   36.020000] sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems
 [   36.040000] usbcore: registered new interface driver sierra_net
 [   36.130000] usbcore: registered new interface driver ums-alauda
 [   36.150000] usbcore: registered new interface driver ums-cypress
 [   36.170000] usbcore: registered new interface driver ums-datafab
 [   36.220000] usbcore: registered new interface driver ums-freecom
 [   36.240000] usbcore: registered new interface driver ums-isd200
 [   36.250000] usbcore: registered new interface driver ums-jumpshot
 [   36.270000] usbcore: registered new interface driver ums-karma
 [   36.290000] usbcore: registered new interface driver ums-sddr09
 [   36.310000] usbcore: registered new interface driver ums-sddr55
 [   36.330000] usbcore: registered new interface driver ums-usbat
 [   36.410000] USB Serial support registered for GSM modem (1-port)
 [   36.410000] usbcore: registered new interface driver option
 [   36.420000] option: v0.7.2:USB Driver for GSM modems
 [   36.480000] USB Serial support registered for Qualcomm USB modem
 [   36.480000] usbcore: registered new interface driver qcserial
 [   36.580000] fuse init (API version 7.18)
 [   41.650000] eth1: link up (1000Mbps/Full duplex)
 [   41.660000] device eth1 entered promiscuous mode
 [   41.660000] br-lan: port 1(eth1) entered forwarding state
 [   41.670000] br-lan: port 1(eth1) entered forwarding state
 [   42.940000] eth0: link up (1000Mbps/Full duplex)
 [   43.670000] br-lan: port 1(eth1) entered forwarding state
 [   47.480000] device wlan0 entered promiscuous mode
 [   47.650000] br-lan: port 2(wlan0) entered forwarding state
 [   47.650000] br-lan: port 2(wlan0) entered forwarding state
 [   49.650000] br-lan: port 2(wlan0) entered forwarding state
 [   53.500000] disktype: sending ioctl 5305 to a partition!
 [   53.510000] disktype: sending ioctl 5305 to a partition!
 [   54.270000] disktype: sending ioctl 5305 to a partition!
 [   54.270000] disktype: sending ioctl 5305 to a partition!
 [   57.380000] disktype: sending ioctl 5305 to a partition!
 [   57.380000] disktype: sending ioctl 5305 to a partition!
 [   57.970000] disktype: sending ioctl 5305 to a partition!
 [   57.970000] disktype: sending ioctl 5305 to a partition!
 [   59.410000] disktype: sending ioctl 5305 to a partition!
 [   59.410000] disktype: sending ioctl 5305 to a partition!
 [   60.680000] disktype: sending ioctl 5305 to a partition!
 [   60.680000] disktype: sending ioctl 5305 to a partition!
 [   63.230000] disktype: sending ioctl 5305 to a partition!
 [   63.230000] disktype: sending ioctl 5305 to a partition!
 [   63.830000] disktype: sending ioctl 5305 to a partition!
 [   63.830000] disktype: sending ioctl 5305 to a partition!
 [   65.200000] disktype: sending ioctl 5305 to a partition!
 [   65.200000] disktype: sending ioctl 5305 to a partition!
 [   65.800000] disktype: sending ioctl 5305 to a partition!
 [   65.810000] disktype: sending ioctl 5305 to a partition!
 [   67.160000] disktype: sending ioctl 5305 to a partition!
 [   67.160000] disktype: sending ioctl 5305 to a partition!
 [   67.760000] disktype: sending ioctl 5305 to a partition!
 [   67.760000] disktype: sending ioctl 5305 to a partition!
 }}}

 Note: the same USB hub and USB storage devices works fine on TL-WR1043ND
 v1. All hardware are defintely working when through a computer.

--
Ticket URL: <https://dev.openwrt.org/ticket/15239#comment:9>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to