#15012: USB port problem with Huawei HG556a REV A
------------------------------+--------------------------------------
  Reporter:  qshen            |      Owner:  developers
      Type:  defect           |     Status:  closed
  Priority:  response-needed  |  Milestone:  Barrier Breaker 14.07
 Component:  packages         |    Version:  Trunk
Resolution:  fixed            |   Keywords:  hg556 hg553 usb ohci hub
------------------------------+--------------------------------------

Comment (by ericwong):

 I have a Vodafone HG556 HW.C router here and the side USB port was working
 fine until I rebuild the Barrier Breaker firmware for it. At first, the
 USB port was working on BB (14.07, r42625) but after I reflash the router
 repeatedly with usb sound card connected at the side USB port, this side
 USB port stopped working. The USB port besides the ethernet ports are not
 working too.

 I have also tried to reflash it to factory firmware and these two USB
 ports do not detect anything either... However, I can clearly see the port
 is powered as my USB drive led turns on but it does not get detected.

 The USB port at the back for the USB 3G is working fine though.
 Does this means the two not working USB ports are physically dead forever?
 or this is a software problem and can be fixed somehow?

 Logs from my router:
   {{{#!python
 root@HG556:~# lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 root@HG556:~# lsusb -v

 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               2.00
   bDeviceClass            9 Hub
   bDeviceSubClass         0 Unused
   bDeviceProtocol         0 Full speed (or root) hub
   bMaxPacketSize0        64
   idVendor           0x1d6b Linux Foundation
   idProduct          0x0002 2.0 root hub
   bcdDevice            3.10
   iManufacturer           3 ??????????????????????
   iProduct                2 ????????????????????
   iSerial                 1 ?????????????
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           25
     bNumInterfaces          1
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0xe0
       Self Powered
       Remote Wakeup
     MaxPower                0mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           1
       bInterfaceClass         9 Hub
       bInterfaceSubClass      0 Unused
       bInterfaceProtocol      0 Full speed (or root) hub
       iInterface              0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            3
           Transfer Type            Interrupt
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0004  1x 4 bytes
         bInterval              12
 Hub Descriptor:
   bLength               9
   bDescriptorType      41
   nNbrPorts             2
   wHubCharacteristic 0x0009
     Per-port power switching
     Per-port overcurrent protection
   bPwrOn2PwrGood       10 * 2 milli seconds
   bHubContrCurrent      0 milli Ampere
   DeviceRemovable    0x00
   PortPwrCtrlMask    0xff
  Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
 Device Status:     0x0001
   Self Powered

 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            9 Hub
   bDeviceSubClass         0 Unused
   bDeviceProtocol         0 Full speed (or root) hub
   bMaxPacketSize0        64
   idVendor           0x1d6b Linux Foundation
   idProduct          0x0001 1.1 root hub
   bcdDevice            3.10
   iManufacturer           3 ??????????????????????
   iProduct                2 ????????????????????????????????
   iSerial                 1 ?????????????
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           25
     bNumInterfaces          1
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0xe0
       Self Powered
       Remote Wakeup
     MaxPower                0mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           1
       bInterfaceClass         9 Hub
       bInterfaceSubClass      0 Unused
       bInterfaceProtocol      0 Full speed (or root) hub
       iInterface              0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            3
           Transfer Type            Interrupt
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0002  1x 2 bytes
         bInterval             255
 Hub Descriptor:
   bLength               9
   bDescriptorType      41
   nNbrPorts             2
   wHubCharacteristic 0x0200
     Ganged power switching
     Ganged overcurrent protection
   bPwrOn2PwrGood        2 * 2 milli seconds
   bHubContrCurrent      0 milli Ampere
   DeviceRemovable    0x00
   PortPwrCtrlMask    0xff
  Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
 Device Status:     0x0001
   Self Powered
 root@HG556:~# dmesg
 [    0.000000] Linux version 3.10.49 (openwrt@openwrt-Invalid-entry-
 length-0-DMI-table-is-broken-Stop) (gcc version 4.8.3 (OpenWrt/Linaro GCC
 4.8-2014.04 r42625) ) #7 Wed Sep 24 08:27:37 EST 2014
 [    0.000000] Detected Broadcom 0x6358 CPU revision a1
 [    0.000000] CPU frequency is 300 MHz
 [    0.000000] 64MB of RAM installed
 [    0.000000] registering 40 GPIOs
 [    0.000000] board_bcm963xx: Boot address 0xbe000000
 [    0.000000] board_bcm963xx: CFE version: d081.5003
 [    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be
 invalid (expected 33313130, got a5b3c0a0)
 [    0.000000] No bcm_tag found!
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
 [    0.000000] board: board name: HW556_A
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 04000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
 [    0.000000] On node 0 totalpages: 16384
 [    0.000000] free_area_init_node: node 0, pgdat 802b06b0, node_mem_map
 81000000
 [    0.000000]   Normal zone: 128 pages used for memmap
 [    0.000000]   Normal zone: 0 pages reserved
 [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
 [    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16
 bytes.
 [    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases,
 linesize 16 bytes
 [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 [    0.000000] pcpu-alloc: [0] 0
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 16256
 [    0.000000] Kernel command line:  root=/dev/mtdblock2
 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
 [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
 bytes)
 [    0.000000] Memory: 61592k/65536k available (2339k kernel code, 3944k
 reserved, 449k data, 280k init, 0k highmem)
 [    0.000000] NR_IRQS:256
 [    0.036000] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
 [    0.036000] pid_max: default: 32768 minimum: 301
 [    0.040000] Mount-cache hash table entries: 512
 [    0.048000] NET: Registered protocol family 16
 [    0.064000] registering PCI controller with io_map_base unset
 [    0.084000] bio: create slab <bio-0> at 0
 [    0.092000] PCI host bridge to bus 0000:00
 [    0.096000] pci_bus 0000:00: root bus resource [mem
 0x30000000-0x37ffffff]
 [    0.100000] pci_bus 0000:00: root bus resource [io
 0x8000000-0x800ffff]
 [    0.104000] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    0.108000] pci 0000:00:01.0: [1814:3592] type 00 class 0x028000
 [    0.108000] pci 0000:00:01.0: reg 10: [mem 0xffff0000-0xffffffff]
 [    0.120000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
 [    0.120000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 [    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem
 0x30000000-0x3000ffff]
 [    0.128000] Switching to clocksource MIPS
 [    0.140000] NET: Registered protocol family 2
 [    0.148000] TCP established hash table entries: 512 (order: 0, 4096
 bytes)
 [    0.156000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 [    0.160000] TCP: Hash tables configured (established 512 bind 512)
 [    0.168000] TCP: reno registered
 [    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.176000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.184000] NET: Registered protocol family 1
 [    0.188000] PCI: CLS 0 bytes, default 16
 [    0.196000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.200000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.212000] msgmni has been set to 120
 [    0.216000] io scheduler noop registered
 [    0.220000] io scheduler deadline registered (default)
 [    0.228000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a
 bcm63xx_uart
 [    0.236000] console [ttyS0] enabled, bootconsole disabled
 [    0.256000] physmap platform flash device: 02000000 at 1e000000
 [    0.260000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank.
 Manufacturer ID 0x0000c2 Chip ID 0x00227e
 [    0.272000] physmap-flash.0: Found an alias at 0x1000000 for the chip
 at 0x0
 [    0.272000] Amd/Fujitsu Extended Query Table at 0x0040
 [    0.276000]   Amd/Fujitsu Extended Query version 1.3.
 [    0.284000] number of CFI chips: 1
 [    0.288000] bcm63xxpart: CFE boot tag found with version 8 and board
 type HW556
 [    0.292000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
 [    0.300000] bcm63xxpart: Partition 1 is kernel offset 20100 and length
 fff00
 [    0.308000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length
 dc0000
 [    0.316000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and
 length 20000
 [    0.324000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length
 20000
 [    0.332000] bcm63xxpart: Partition 5 is linux offset 20000 and length
 ec0000
 [    0.336000] bcm63xxpart: Spare partition is offset ca0004 and length
 23fffc
 [    0.344000] 6 bcm63xxpart partitions found on MTD device physmap-
 flash.0
 [    0.352000] Creating 6 MTD partitions on "physmap-flash.0":
 [    0.356000] 0x000000000000-0x000000020000 : "CFE"
 [    0.368000] 0x000000020100-0x000000120000 : "kernel"
 [    0.372000] mtd: partition "kernel" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    0.388000] 0x000000120000-0x000000ee0000 : "rootfs"
 [    0.396000] mtd: device 2 (rootfs) set to be root filesystem
 [    0.404000] mtd: partition "rootfs_data" created automatically,
 ofs=0xca0000, len=0x240000
 [    0.412000] 0x000000ca0000-0x000000ee0000 : "rootfs_data"
 [    0.420000] 0x000000ee0000-0x000000f00000 : "cal_data"
 [    0.432000] 0x000000fe0000-0x000001000000 : "nvram"
 [    0.440000] 0x000000020000-0x000000ee0000 : "linux"
 [    0.452000] bcm63xx-spi bcm63xx-spi: at 0xfffe0800 (irq 9, FIFOs size
 542)
 [    0.472000] libphy: bcm63xx_enet MII bus: probed
 [    0.480000] b53_common: found switch: BCM5325, rev 0
 [    0.484000] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0
 [Broadcom B53 (1)]
 [    0.496000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
 [    0.516000] TCP: cubic registered
 [    0.520000] NET: Registered protocol family 17
 [    0.524000] 8021q: 802.1Q VLAN Support v1.8
 [    0.544000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:2.
 [    0.552000] Freeing unused kernel memory: 280K (802ca000 - 80310000)
 [    5.524000] usbcore: registered new interface driver usbfs
 [    5.528000] usbcore: registered new interface driver hub
 [    5.536000] usbcore: registered new device driver usb
 [    5.552000] Button Hotplug driver version 0.4.1
 [    5.572000] SCSI subsystem initialized
 [    5.592000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    5.600000] ehci-platform: EHCI generic platform driver
 [    5.608000] ehci-platform ehci-platform: EHCI Host Controller
 [    5.612000] ehci-platform ehci-platform: new USB bus registered,
 assigned bus number 1
 [    5.620000] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
 [    5.640000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00,
 overcurrent ignored
 [    5.648000] hub 1-0:1.0: USB hub found
 [    5.652000] hub 1-0:1.0: 2 ports detected
 [    5.660000] ehci-pci: EHCI PCI platform driver
 [    5.672000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 [    5.680000] ohci-platform ohci-platform: Generic Platform OHCI
 Controller
 [    5.684000] ohci-platform ohci-platform: new USB bus registered,
 assigned bus number 2
 [    5.696000] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
 [    5.760000] hub 2-0:1.0: USB hub found
 [    5.764000] hub 2-0:1.0: 2 ports detected
 [    5.776000] uhci_hcd: USB Universal Host Controller Interface driver
 [    5.808000] usbcore: registered new interface driver usb-storage
 [    5.816000] input: gpio-keys-polled as /devices/platform/gpio-keys-
 polled.0/input/input0
 [    8.772000] eth0: link UP - 100/full - flow control off
 [   10.928000] jffs2: notice: (257) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 3 of xdatum (0 unchecked, 2 orphan) and 66 of
 xref (0 dead, 44 orphan) found.
 [   11.008000] jffs2: notice: (254) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 3 of xdatum (0 unchecked, 2 orphan) and 66 of
 xref (0 dead, 44 orphan) found.
 [   11.784000] eth0: link DOWN
 [   18.008000] tun: Universal TUN/TAP device driver, 1.6
 [   18.016000] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
 [   18.092000] Linux video capture interface: v2.00
 [   18.132000] hidraw: raw HID events driver (C) Jiri Kosina
 [   18.196000] fuse init (API version 7.22)
 [   18.212000] Loading modules backported from Linux version
 master-2014-05-22-0-gf2032ea
 [   18.220000] Backport generated by backports.git
 backports-20140320-37-g5c33da0
 [   18.236000] cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
 [   18.244000] usbcore: registered new interface driver cpia2
 [   18.264000] gspca_main: v2.14.0 registered
 [   18.288000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
 [   18.324000] usbcore: registered new interface driver Philips webcam
 [   18.344000] usbcore: registered new interface driver ums-alauda
 [   18.356000] usbcore: registered new interface driver ums-cypress
 [   18.364000] usbcore: registered new interface driver ums-datafab
 [   18.376000] usbcore: registered new interface driver ums-freecom
 [   18.388000] usbcore: registered new interface driver ums-isd200
 [   18.400000] usbcore: registered new interface driver ums-jumpshot
 [   18.412000] usbcore: registered new interface driver ums-karma
 [   18.424000] usbcore: registered new interface driver ums-sddr09
 [   18.436000] usbcore: registered new interface driver ums-sddr55
 [   18.448000] usbcore: registered new interface driver ums-usbat
 [   18.468000] usbcore: registered new interface driver usbhid
 [   18.472000] usbhid: USB HID core driver
 [   18.484000] usbcore: registered new interface driver usblp
 [   18.508000] usbcore: registered new interface driver uvcvideo
 [   18.512000] USB Video Class driver (1.1.1)
 [   18.564000] xt_time: kernel timezone is -0000
 [   18.628000] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   18.684000] cfg80211: Calling CRDA to update world regulatory domain
 [   18.696000] cfg80211: World regulatory domain updated:
 [   18.700000] cfg80211:  DFS Master region: unset
 [   18.704000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   18.716000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   18.724000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   18.732000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
 2000 mBm), (N/A)
 [   18.740000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (N/A)
 [   18.748000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   18.756000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   18.764000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   18.772000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 0 mBm), (N/A)
 [   18.932000] usbcore: registered new interface driver snd-usb-audio
 [   18.980000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
 [   18.984000] rt2800pci 0000:00:01.0: setting latency timer to 64
 [   18.988000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info -
 Loading EEPROM data from 'rt2x00.eeprom'.
 [   19.004000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev
 0221 detected
 [   19.012000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008
 detected
 [   19.020000] ieee80211 phy0: Selected rate control algorithm
 'minstrel_ht'
 [   25.832000] eth0: link UP - 100/full - flow control off
 [   35.024000] device eth0.1 entered promiscuous mode
 [   35.028000] device eth0 entered promiscuous mode
 [   35.036000] br-lan: port 1(eth0.1) entered forwarding state
 [   35.040000] br-lan: port 1(eth0.1) entered forwarding state
 [   37.004000] eth0: link UP - 100/full - flow control off
 [   37.044000] br-lan: port 1(eth0.1) entered forwarding state
 [   39.152000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading
 firmware file 'rt2860.bin'
 [   39.176000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware
 detected - version: 0.34
   }}}

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