OpenWrt Forum Archive

Topic: Ubiquiti UniFi AP AC PRO USB Device not being recognized

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

So I see that there is some USB being started but a usb device like a thumb drive is never registered. Any thoughts?

Starting kernel ...

[    0.000000] Linux version 4.4.14 (openwrt@openwrtbuild) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 49871) ) #1 Mon Jul 25 01:27:34 UTC 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=UBNT-UF-AC-PRO mtdparts=spi0.0:384k(u-boot)ro,64k(u-boot-env)ro,7744k(firmware),7744k(ubnt-airos)ro,128k(bs)ro,256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125008K/131072K available (3075K kernel code, 161K rwdata, 768K rodata, 276K init, 205K bss, 6064K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008206] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.071016] pid_max: default: 32768 minimum: 301
[    0.075978] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.082959] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092529] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103932] NET: Registered protocol family 16
[    0.109806] MIPS: machine is Ubiquiti UniFi-AC-PRO
[    0.339662] registering PCI controller with io_map_base unset
[    0.354083] PCI host bridge to bus 0000:00
[    0.358445] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.365685] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.371560] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.378707] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.387118] pci 0000:00:00.0: invalid calibration data
[    0.392873] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.400614] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.408226] pci 0000:00:00.0: using irq 40 for pin 1
[    0.414203] clocksource: Switched to clocksource MIPS
[    0.420627] NET: Registered protocol family 2
[    0.425990] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.433345] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.440084] TCP: Hash tables configured (established 1024 bind 1024)
[    0.446862] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.453025] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.459914] NET: Registered protocol family 1
[    0.465355] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.486207] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.492367] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.504719] io scheduler noop registered
[    0.508856] io scheduler deadline registered (default)
[    0.514513] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.523375] console [ttyS0] disabled
[    0.547233] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.556326] console [ttyS0] enabled
[    0.556326] console [ttyS0] enabled
[    0.563868] bootconsole [early0] disabled
[    0.563868] bootconsole [early0] disabled
[    0.576792] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.582046] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.588195] Creating 7 MTD partitions on "spi0.0":
[    0.593147] 0x000000000000-0x000000060000 : "u-boot"
[    0.599990] 0x000000060000-0x000000070000 : "u-boot-env"
[    0.606791] 0x000000070000-0x000000800000 : "firmware"
[    0.627106] 2 uimage-fw partitions found on MTD device firmware
[    0.633228] 0x000000070000-0x0000001c0000 : "kernel"
[    0.639490] 0x0000001c0000-0x000000800000 : "rootfs"
[    0.645962] mtd: device 4 (rootfs) set to be root filesystem
[    0.651863] 1 squashfs-split partitions found on MTD device rootfs
[    0.658292] 0x0000003b0000-0x000000800000 : "rootfs_data"
[    0.665246] 0x000000800000-0x000000f90000 : "ubnt-airos"
[    0.671994] 0x000000f90000-0x000000fb0000 : "bs"
[    0.678135] 0x000000fb0000-0x000000ff0000 : "cfg"
[    0.684316] 0x000000ff0000-0x000001000000 : "EEPROM"
[    0.704540] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
[    0.824871] libphy: ag71xx_mdio: probed
[    1.415818] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.427322] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    1.435215] NET: Registered protocol family 10
[    1.442773] NET: Registered protocol family 17
[    1.447480] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.460548] Bridge firewalling registered
[    1.464798] 8021q: 802.1Q VLAN Support v1.8
[    1.476132] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.484962] Freeing unused kernel memory: 276K (8044b000 - 80490000)
[    2.358504] init: Console is alive
[    2.362194] init: - watchdog -
[    3.255932] usbcore: registered new interface driver usbfs
[    3.261690] usbcore: registered new interface driver hub
[    3.267284] usbcore: registered new device driver usb
[    3.277168] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.285264] ehci-platform: EHCI generic platform driver
[    3.290738] ehci-platform ehci-platform.0: EHCI Host Controller
[    3.296923] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    3.307360] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    3.324237] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    3.331590] hub 1-0:1.0: USB hub found
[    3.335807] hub 1-0:1.0: 1 port detected
[    3.340174] ehci-platform ehci-platform.1: EHCI Host Controller
[    3.346362] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    3.356821] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    3.374222] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    3.381566] hub 2-0:1.0: USB hub found
[    3.385793] hub 2-0:1.0: 1 port detected
[    3.392345] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.399967] ohci-platform: OHCI generic platform driver
[    3.409236] init: - preinit -
[    3.797207] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.818962] random: procd urandom read with 6 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.575803] eth0: link up (1000Mbps/Full duplex)
[    5.580784] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.030775] jffs2: notice: (407) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    7.054100] mount_root: loading kmods from internal overlay
[    7.818650] SCSI subsystem initialized
[    7.837700] ehci-pci: EHCI PCI platform driver
[    7.854089] uhci_hcd: USB Universal Host Controller Interface driver
[    7.880792] usbcore: registered new interface driver usb-storage
[    8.251257] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    8.260368] block: extroot: not configured
[    8.265473] mount_root: switching to jffs2 overlay
[    8.293756] eth0: link down
[    8.309224] procd: - early -
[    8.312287] procd: - watchdog -
[    8.996645] procd: - ubus -
[    9.107884] procd: - init -
Please press Enter to activate this console.
[    9.702784] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.720358] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[    9.728226] Backport generated by backports.git backports-20160216-0-ge3c56e4
[    9.940089] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    9.946123] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.170675] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   10.181763] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.258015] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   10.712051] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   10.721626] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   10.734631] ath10k_pci 0000:00:00.0: firmware ver 10.2.4.97 api 5 features no-p2p crc32 f91e34f2
[   10.743793] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   10.754591] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.831879] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   10.842354] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   11.972793] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   12.171209] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.197223] nf_conntrack version 0.5.0 (1957 buckets, 7828 max)
[   12.224826] usbcore: registered new interface driver ums-alauda
[   12.232621] usbcore: registered new interface driver ums-cypress
[   12.240594] usbcore: registered new interface driver ums-datafab
[   12.248428] usbcore: registered new interface driver ums-freecom
[   12.257757] usbcore: registered new interface driver ums-isd200
[   12.265660] usbcore: registered new interface driver ums-jumpshot
[   12.273565] usbcore: registered new interface driver ums-karma
[   12.281686] usbcore: registered new interface driver ums-sddr09
[   12.289604] usbcore: registered new interface driver ums-sddr55
[   12.297647] usbcore: registered new interface driver ums-usbat
[   12.324072] xt_time: kernel timezone is -0000
[   12.342407] PPP generic driver version 2.4.2
[   12.349126] NET: Registered protocol family 24
[   12.384695] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47
[   18.948192] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.967823] device eth0.1 entered promiscuous mode
[   18.972782] device eth0 entered promiscuous mode
[   18.985801] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   19.046228] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   20.755806] eth0: link up (1000Mbps/Full duplex)
[   20.760771] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   20.768406] br-lan: port 1(eth0.1) entered forwarding state
[   20.774255] br-lan: port 1(eth0.1) entered forwarding state
[   20.780145] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   20.824285] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   22.774253] br-lan: port 1(eth0.1) entered forwarding state



BusyBox v1.24.2 () built-in shell (ash)

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, 49871)
-----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
-----------------------------------------------------

Thanks for the refs and I have checked out both of those sites but neither seemed to help.

Packages installed:
root@OpenWrt:/# opkg list-installed
airmon-ng - 1.2-rc1-1
ath10k-firmware-qca988x - 2014-11-13-b00eb8d30fbebb6a5047ccacefa8c37e072fca9c-1
base-files - 169-49871
bash - 4.3.42-1
bc - 1.06.95-1
blkid - 2.28-1
block-mount - 2016-05-12-ed224f0b1f9cfb3f8c5766cba3a60343c0eda586
busybox - 1.24.2-1
dnsmasq - 2.76-1
dropbear - 2016.73-1
ethtool - 4.5-1
fdisk - 2.28-1
firewall - 2016-01-29
fstools - 2016-05-12-ed224f0b1f9cfb3f8c5766cba3a60343c0eda586
hostapd-common - 2016-06-15-1
ip6tables - 1.4.21-2
iptables - 1.4.21-2
iw - 4.3-1
iwinfo - 2016-01-25-e4aca3910dff532ed878d0ceaf1ab6e8ad7719bf
jshn - 2016-07-04-d3fa561e5abcc88e02eb289c24d0b1d4d05adb54
jsonfilter - 2016-07-02-dea067ad67d977c247c300c06676a06adf21e0c7
kernel - 4.4.14-1-46835b9e4f6bb5ab80f2678b9bff2d5b
kmod-ath - 4.4.14+2016-05-12-1
kmod-ath10k - 4.4.14+2016-05-12-1
kmod-ath9k - 4.4.14+2016-05-12-1
kmod-ath9k-common - 4.4.14+2016-05-12-1
kmod-cfg80211 - 4.4.14+2016-05-12-1
kmod-crypto-hash - 4.4.14-1
kmod-fs-ext4 - 4.4.14-1
kmod-gpio-button-hotplug - 4.4.14-2
kmod-ip6tables - 4.4.14-1
kmod-ipt-conntrack - 4.4.14-1
kmod-ipt-core - 4.4.14-1
kmod-ipt-nat - 4.4.14-1
kmod-ledtrig-usbdev - 4.4.14-1
kmod-lib-crc-ccitt - 4.4.14-1
kmod-lib-crc16 - 4.4.14-1
kmod-mac80211 - 4.4.14+2016-05-12-1
kmod-nf-conntrack - 4.4.14-1
kmod-nf-conntrack6 - 4.4.14-1
kmod-nf-ipt - 4.4.14-1
kmod-nf-ipt6 - 4.4.14-1
kmod-nf-nat - 4.4.14-1
kmod-nls-base - 4.4.14-1
kmod-ppp - 4.4.14-1
kmod-pppoe - 4.4.14-1
kmod-pppox - 4.4.14-1
kmod-scsi-core - 4.4.14-1
kmod-slhc - 4.4.14-1
kmod-usb-core - 4.4.14-1
kmod-usb-ohci - 4.4.14-1
kmod-usb-storage - 4.4.14-1
kmod-usb-storage-extras - 4.4.14-1
kmod-usb-uhci - 4.4.14-1
kmod-usb2 - 4.4.14-1
kmod-usb2-pci - 4.4.14-1
libblkid - 2.28-1
libblobmsg-json - 2016-07-04-d3fa561e5abcc88e02eb289c24d0b1d4d05adb54
libc - 1.1.14-1
libexpat - 2.1.0-3
libfdisk - 2.28-1
libgcc - 5.3.0-1
libip4tc - 1.4.21-2
libip6tc - 1.4.21-2
libiwinfo - 2016-01-25-e4aca3910dff532ed878d0ceaf1ab6e8ad7719bf
libiwinfo-lua - 2016-01-25-e4aca3910dff532ed878d0ceaf1ab6e8ad7719bf
libjson-c - 0.12-1
libjson-script - 2016-07-04-d3fa561e5abcc88e02eb289c24d0b1d4d05adb54
liblua - 5.1.5-1
libncursesw - 5.9-3
libnl-core - 3.2.21-1
libnl-genl - 3.2.21-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2h-1
libpcap - 1.7.4-1
libpthread - 1.1.14-1
libreadline - 6.3-1
librt - 1.1.14-1
libsmartcols - 2.28-1
libubox - 2016-07-04-d3fa561e5abcc88e02eb289c24d0b1d4d05adb54
libubus - 2016-07-02-053be7df871e05478284235732f8b0608089512f
libubus-lua - 2016-07-02-053be7df871e05478284235732f8b0608089512f
libuci - 2016-07-04.1-1
libuci-lua - 2016-07-04.1-1
libuclient - 2016-01-28-2e0918c7e0612449024caaaa8d44fb2d7a33f5f3
libusb-1.0 - 1.0.20-1
libuuid - 2.28-1
libxtables - 1.4.21-2
logd - 2016-07-19-aead2c0cbffdda9b46d74a998a4c6aeef423b21a
lua - 5.1.5-1
luci - git-16.206.66567-936d771-1
luci-app-firewall - git-16.206.66567-936d771-1
luci-base - git-16.206.66567-936d771-1
luci-lib-ip - git-16.206.66567-936d771-1
luci-lib-jsonc - git-16.206.66567-936d771-1
luci-lib-nixio - git-16.206.66567-936d771-1
luci-mod-admin-full - git-16.206.66567-936d771-1
luci-proto-ipv6 - git-16.206.66567-936d771-1
luci-proto-ppp - git-16.206.66567-936d771-1
luci-theme-bootstrap - git-16.206.66567-936d771-1
mtd - 21
netifd - 2016-06-06-99e6dc68bbac5a57a0ebca810a9dc36e38667821
odhcp6c - 2016-06-30-7533a6243dc3ac5a747cf6ccbc4d0539dafd3e07
odhcpd - 2015-11-19-01d3f9d64486ac1daa144848944e877e7f0cb762
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-12
ppp - 2.4.7-9
ppp-mod-pppoe - 2.4.7-9
procd - 2016-07-07-02d56c03115276aa4e2203ddbd411c3e587cf08f
procps-ng - 3.3.11-3
rpcd - 2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a
swconfig - 11
terminfo - 5.9-3
uboot-envtools - 2015.10-1
ubox - 2016-07-19-aead2c0cbffdda9b46d74a998a4c6aeef423b21a
ubus - 2016-07-02-053be7df871e05478284235732f8b0608089512f
ubusd - 2016-07-02-053be7df871e05478284235732f8b0608089512f
uci - 2016-07-04.1-1
uclient-fetch - 2016-01-28-2e0918c7e0612449024caaaa8d44fb2d7a33f5f3
uhttpd - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
uhttpd-mod-ubus - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
usbutils - 007-4
usign - 2016-07-04-ef6419142a3b0fbcddcccf536e3c1880302c6f89
wireless-tools - 29-5
wpad-mini - 2016-06-15-1
zlib - 1.2.8-1

Is there any message shown on the logs when you plug in the USB device?

No message when the device is plugged in and unplugged, makes me think that the ports aren't being detected by the os.

@cyrus104 please edit your original post to place the log output within code blocks.

The discussion might have continued from here.