#16505: AR9331 USB 2.0 Device issues again on WR710nV1 and other devices
------------------------+-----------------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  reopened
  Priority:  high       |  Milestone:  Barrier Breaker (trunk)
 Component:  kernel     |    Version:  Trunk
Resolution:             |   Keywords:  AR9331 USB2.0 TIMING ISSUES
------------------------+-----------------------------------------

Comment (by anonymous):

 after i investigated more devices with SVN 41055 i figured out a "hardware
 issue" between WR710nV1.1 and WR710nV1.2 !

 I tested 5 devices v1.2 (green led) and 2 devices v1.1 (blue led)


 And the result is reproduceable on ALL devices:

 the v1.2 hardware works always perfect with directly attached LTE-stick
 the v1.1 hardware never works WITHOUT an extra attached passive USB 2.0
 Hub!

 I opened up booth devices and check for different hardware, the
 flash/ram/cpu
 is exactly the same: AR9331-AL3A (Taiwan) - so the cpu is 100% the same!

 But i figured out, that the usb-connectors "feeding" is a little bit
 changed
 with extra condensors and a few SMD parts are replaced/changed?


 So my conclusion is: There is NO Power-Problem on the v1.1 Model, because
 with an extra hub in the middle, this combination consumes more power as
 without -
 but it works this way!

 With the older v1.1 model, there is a timing issue, as this results from
 the "different"
 d+/d- coupling/pulldown/pullup, or something else.

 So i think it make sense the timing in the ehci-driver to modify and be
 more relaxed
 after a "power" on - There is still the same "streaming" problem as before
 with SVN < 40842.

 Playing with the "gpio8 0/1" trick to switch off usb power works after a
 coldboot,
 but it is far from perfect, because it´s not always working.



 This is the result from a v1.1 without passive hub:
 {{{
 Sun Jun  8 18:16:18 2014 kern.info kernel: usb 1-1: new high-speed USB
 device number 2 using ehci-platform
 Sun Jun  8 18:16:18 2014 kern.info kernel: usb-storage 1-1:1.0: USB Mass
 Storage device detected
 Sun Jun  8 18:16:18 2014 kern.info kernel: scsi0 : usb-storage 1-1:1.0
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch: 1-1:
 Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=? 12d1 14fe
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch: * Start of Modem
 Detection and Connection Information
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch: *
 Product=HUAWEI_Mobile 12d1 14fe
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:16:18 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:16:19 2014 kern.info kernel: usb 1-1: USB disconnect, device
 number 2
 Sun Jun  8 18:16:19 2014 kern.info kernel: usb 1-1: new high-speed USB
 device number 3 using ehci-platform
 Sun Jun  8 18:16:28 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:16:28 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:16:29 2014 user.notice usb-modeswitch: * Switched to : :
 Sun Jun  8 18:16:29 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:16:29 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:16:29 2014 user.notice usb-modeswitch: BasePort : 0
 Sun Jun  8 18:16:35 2014 kern.err kernel: usb 1-1: device descriptor
 read/64, error -145
 Sun Jun  8 18:16:50 2014 kern.err kernel: usb 1-1: device descriptor
 read/64, error -145
 Sun Jun  8 18:16:50 2014 kern.info kernel: usb 1-1: new high-speed USB
 device number 4 using ehci-platform
 Sun Jun  8 18:16:55 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:16:55 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:16:55 2014 user.notice usb-modeswitch: * ProtoFind returns :
 0
 Sun Jun  8 18:16:55 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:16:55 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:16:55 2014 user.notice usb-modeswitch: Ignore Remove after
 connection 1d6b
 }}}

 This is the result on a v1.1 WITH a passive 2.0 HUB:

 {{{
 Sun Jun  8 18:17:05 2014 kern.info kernel: usb 1-1: new high-speed USB
 device number 5 using ehci-platform
 Sun Jun  8 18:17:06 2014 kern.info kernel: hub 1-1:1.0: USB hub found
 Sun Jun  8 18:17:06 2014 kern.info kernel: hub 1-1:1.0: 4 ports detected
 Sun Jun  8 18:17:06 2014 user.notice usb-modeswitch: 1-1: Manufacturer=?
 Product=USB2.0_Hub Serial=? 05e3 0608
 Sun Jun  8 18:17:06 2014 user.notice usb-modeswitch: Ignoring Unnamed Hub
 Sun Jun  8 18:17:16 2014 kern.info kernel: usb 1-1.3: new high-speed USB
 device number 6 using ehci-platform
 Sun Jun  8 18:17:16 2014 kern.info kernel: usb-storage 1-1.3:1.0: USB Mass
 Storage device detected
 Sun Jun  8 18:17:16 2014 kern.info kernel: scsi1 : usb-storage 1-1.3:1.0
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch: 1-1.3:
 Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=? 12d1 14fe
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch: * Start of Modem
 Detection and Connection Information
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch: *
 Product=HUAWEI_Mobile 12d1 14fe
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:17:16 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:17:17 2014 kern.info kernel: usb 1-1.3: USB disconnect,
 device number 6
 Sun Jun  8 18:17:17 2014 kern.info kernel: usb 1-1.3: new high-speed USB
 device number 7 using ehci-platform
 Sun Jun  8 18:17:17 2014 kern.info kernel: option 1-1.3:1.0: GSM modem
 (1-port) converter detected
 Sun Jun  8 18:17:17 2014 kern.info kernel: usb 1-1.3: GSM modem (1-port)
 converter now attached to ttyUSB0
 Sun Jun  8 18:17:17 2014 kern.info kernel: option 1-1.3:1.1: GSM modem
 (1-port) converter detected
 Sun Jun  8 18:17:17 2014 kern.info kernel: usb 1-1.3: GSM modem (1-port)
 converter now attached to ttyUSB1
 Sun Jun  8 18:17:17 2014 kern.info kernel: usb 1-1.3: MAC-Address:
 0c:5b:8f:27:9a:64
 Sun Jun  8 18:17:17 2014 kern.info kernel: cdc_ncm 1-1.3:1.2 wwan0:
 register 'cdc_ncm' at usb-ehci-platform-1.3, Mobile Broadband Network
 Device, 0c:5b:8f:27:9a:64
 Sun Jun  8 18:17:26 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:17:26 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:17:26 2014 user.notice usb-modeswitch: * Switched to :
 12d1:1506
 Sun Jun  8 18:17:26 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch: BasePort : 0
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:17:27 2014 user.notice Script Print : Driver Name : 1 option
 Sun Jun  8 18:17:27 2014 user.notice Script Print : Driver Name : 2 option
 Sun Jun  8 18:17:27 2014 user.notice Script Print : Driver Name : 3
 cdc_ncm
 Sun Jun  8 18:17:27 2014 user.notice Script Print : Driver Name : 4
 cdc_ncm
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch: * ProtoFind returns :
 6
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch: *
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch:
 *******************************************************
 Sun Jun  8 18:17:27 2014 user.notice usb-modeswitch: Modem 1 found
 Sun Jun  8 18:17:27 2014 user.notice sierra_set: Connection is active for
 NCM
 Sun Jun  8 18:17:45 2014 daemon.notice netifd: Interface 'wan' is enabled
 Sun Jun  8 18:17:45 2014 kern.info kernel: cdc_ncm: wwan0: 43 mbit/s
 downlink 43 mbit/s uplink
 Sun Jun  8 18:17:45 2014 kern.info kernel: cdc_ncm: wwan0: network
 connection: connected
 Sun Jun  8 18:17:45 2014 daemon.notice netifd: Network device 'wwan0' link
 is up
 Sun Jun  8 18:17:45 2014 daemon.notice netifd: Interface 'wan' has link
 connectivity
 Sun Jun  8 18:17:45 2014 daemon.notice netifd: Interface 'wan' is setting
 up now
 Sun Jun  8 18:17:46 2014 daemon.notice netifd: wan (1888): udhcpc
 (v1.22.1) started
 Sun Jun  8 18:17:46 2014 daemon.notice netifd: wan (1888): Sending
 discover...
 Sun Jun  8 18:17:46 2014 daemon.notice netifd: wan (1888): Sending select
 for 10.35.249.93...
 Sun Jun  8 18:17:46 2014 daemon.notice netifd: wan (1888): Lease of
 10.35.249.93 obtained, lease time 518400
 Sun Jun  8 18:17:46 2014 daemon.notice netifd: Interface 'wan' is now up
 Sun Jun  8 18:17:46 2014 user.notice usb-modeswitch: Modem 1 1-1.3 1-1.3
 12d1
 Sun Jun  8 18:17:46 2014 user.notice usb-modeswitch: Ignore Remove after
 connection 12d1
 Sun Jun  8 18:17:47 2014 user.notice usb-modeswitch: 1-1.3:
 Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=? 12d1 1506
 Sun Jun  8 18:17:47 2014 user.notice usb-modeswitch: Ignoring Modem 1
 Sun Jun  8 18:17:47 2014 user.notice firewall: Reloading firewall due to
 ifup of wan (wwan0)
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/16505#comment:6>
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