Devices only show up sometimes

I have a USB Hub (powered), with 2 devices plugged into it, on multiple occasions the devices worked fine in this configuration, but now they aren't showing up, are there anty more steps I can do to debug why they aren't showing up, or commands I can run on the pi to poll and check if the devices are seen?

dmesg output from rpi


root@CloudHub_1e093d:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.180 (michael@ubuntu) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 Sat May 16 18:32:20 2020
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 16 MiB at 0x1ac00000
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c0826eec, node_mem_map dbc6a100
[ 0.000000] Normal zone: 896 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 113792
[ 0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:4B:5C:68 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 430496K/458752K available (4436K kernel code, 157K rwdata, 1028K rodata, 1024K init, 327K bss, 11872K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xdc800000 - 0xff800000 ( 560 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0555268 (5429 kB)
[ 0.000000] .init : 0xc0700000 - 0xc0800000 (1024 kB)
[ 0.000000] .data : 0xc0800000 - 0xc08276c0 ( 158 kB)
[ 0.000000] .bss : 0xc082bdd0 - 0xc087db24 ( 328 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000028] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000067] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000149] bcm2835: system timer (irq = 27)
[ 0.000644] Console: colour dummy device 80x30
[ 0.001150] console [tty1] enabled
[ 0.001211] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060291] pid_max: default: 32768 minimum: 301
[ 0.060487] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060530] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.061240] CPU: Testing write buffer coherency: ok
[ 0.062022] Setting up static identity map for 0x100000 - 0x10005c
[ 0.069107] random: get_random_u32 called from bucket_table_alloc+0x160/0x1a8 with crng_init=0
[ 0.069500] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.069881] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.069942] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.071978] pinctrl core: initialized pinctrl subsystem
[ 0.073172] NET: Registered protocol family 16
[ 0.075758] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.081118] cpuidle: using governor ladder
[ 0.081177] cpuidle: using governor menu
[ 0.081695] Serial: AMBA PL011 UART driver
[ 0.084085] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.084759] uart-pl011 20201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.117044] bcm2835-dma 20007000.dma: DMA legacy API manager at dc80f000, dmachans=0x1
[ 0.119937] SCSI subsystem initialized
[ 0.120173] usbcore: registered new interface driver usbfs
[ 0.120290] usbcore: registered new interface driver hub
[ 0.120423] usbcore: registered new device driver usb
[ 0.130626] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-11-23 19:36
[ 0.132123] clocksource: Switched to clocksource timer
[ 0.140725] NET: Registered protocol family 2
[ 0.141639] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.141753] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.141843] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.141999] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.142049] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.142347] NET: Registered protocol family 1
[ 0.143758] Crashlog allocated RAM at address 0x3f00000
[ 0.144180] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.150391] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.152980] io scheduler noop registered
[ 0.153033] io scheduler deadline registered
[ 0.153418] io scheduler cfq registered (default)
[ 0.155626] BCM2708FB: allocated DMA memory 5ad00000
[ 0.155701] BCM2708FB: allocated DMA channel 0 @ dc80f000
[ 0.163684] Console: switching to colour frame buffer device 82x26
[ 0.172575] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 0.177049] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.183592] vc-sm: Videocore shared memory driver
[ 0.198718] brd: module loaded
[ 0.207294] loop: module loaded
[ 0.210365] usbcore: registered new interface driver smsc95xx
[ 0.213248] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.244050] dwc_otg 20980000.usb: base=0xf0980000
[ 0.446880] Core Release: 2.80a
[ 0.449558] Setting default values for core params
[ 0.452242] Finished setting default values for core params
[ 0.654957] Using Buffer DMA mode
[ 0.657591] Periodic Transfer Interrupt Enhancement - disabled
[ 0.660209] Multiprocessor Interrupt Enhancement - disabled
[ 0.662875] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.665542] Dedicated Tx FIFOs mode
[ 0.668994] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xdad14000 dma = 0x5ad14000 len=9024
[ 0.674667] FIQ FSM acceleration enabled for :
[ 0.674667] Non-periodic Split Transactions
[ 0.674667] Periodic Split Transactions
[ 0.674667] High-Speed Isochronous Endpoints
[ 0.674667] Interrupt/Control Split Transaction hack enabled
[ 0.687904] dwc_otg: Microframe scheduler enabled
[ 0.688100] WARN::hcd_init_fiq:459: FIQ on core 0 at 0xc03e48e4
[ 0.690785] WARN::hcd_init_fiq:460: FIQ ASM at 0xc03e4b6c length 36
[ 0.693470] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000
[ 0.696246] dwc_otg 20980000.usb: DWC OTG Controller
[ 0.698945] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.701681] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[ 0.704382] Init: Port Power? op_state=1
[ 0.707004] Init: Power Port (0)
[ 0.709874] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.712644] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.715330] usb usb1: Product: DWC OTG Controller
[ 0.717934] usb usb1: Manufacturer: Linux 4.14.180 dwc_otg_hcd
[ 0.720504] usb usb1: SerialNumber: 20980000.usb
[ 0.723874] hub 1-0:1.0: USB hub found
[ 0.726517] hub 1-0:1.0: 1 port detected
[ 0.729739] dwc_otg: FIQ enabled
[ 0.729748] dwc_otg: NAK holdoff enabled
[ 0.729752] dwc_otg: FIQ split-transaction FSM enabled
[ 0.729768] Module dwc_common_port init
[ 0.730236] usbcore: registered new interface driver uas
[ 0.733012] usbcore: registered new interface driver usb-storage
[ 0.735581] mousedev: PS/2 mouse device common for all mice
[ 0.737990] i2c /dev entries driver
[ 0.741295] bcm2835-wdt 20100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.744506] bcm2835-cpufreq: min=700000 max=1000000
[ 0.747787] sdhci: Secure Digital Host Controller Interface driver
[ 0.750431] sdhci: Copyright(c) Pierre Ossman
[ 0.753616] mmc-bcm2835 20300000.mmc: could not get clk, deferring probe
[ 0.756881] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
[ 0.759820] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.764270] vchiq: vchiq_init_state: slot_zero = dad80000, is_master = 0
[ 0.768139] [vc_sm_connected_init]: start
[ 0.777826] [vc_sm_connected_init]: end - returning 0
[ 0.781080] NET: Registered protocol family 10
[ 0.784658] Segment Routing with IPv6
[ 0.786679] NET: Registered protocol family 17
[ 0.788598] 8021q: 802.1Q VLAN Support v1.8
[ 0.796893] uart-pl011 20201000.serial: cts_event_workaround enabled
[ 0.799038] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.804771] console [ttyS0] disabled
[ 0.806943] 20215040.serial: ttyS0 at MMIO 0x0 (irq = 160, base_baud = 31250000) is a 16550
[ 1.590322] console [ttyS0] enabled
[ 1.597230] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.605419] mmc-bcm2835 20300000.mmc: DMA channel allocated
[ 1.673424] sdhost: log_buf @ dad13000 (5ad13000)
[ 1.716621] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.726788] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.736741] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.746239] random: fast init done
[ 1.753190] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.762213] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.770483] of_cfs_init
[ 1.774957] of_cfs_init: OK
[ 1.800740] Waiting for root device /dev/mmcblk0p2...
[ 1.902728] mmc1: new high speed SDIO card at address 0001
[ 1.923451] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.941787] mmc0: new high speed SDHC card at address aaaa
[ 1.949869] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 1.962027] mmcblk0: p1 p2
[ 1.989125] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[ 2.001106] Freeing unused kernel memory: 1024K
[ 2.318140] init: Console is alive
[ 2.323893] init: - watchdog -
[ 2.705072] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.777629] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.797594] init: - preinit -
[ 3.319076] random: jshn: uninitialized urandom read (4 bytes read)
[ 3.364566] random: jshn: uninitialized urandom read (4 bytes read)
[ 3.398431] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.023881] F2FS-fs (loop0): Mounted with checkpoint version = 5ccce28d
[ 7.035390] mount_root: switching to f2fs overlay
[ 7.119004] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 7.136649] urandom-seed: Seeding with /etc/urandom.seed
[ 7.217306] procd: - early -
[ 7.223369] procd: - watchdog -
[ 7.883004] procd: - watchdog -
[ 7.889484] procd: - ubus -
[ 7.950755] urandom_read: 1 callbacks suppressed
[ 7.950766] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.966815] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.975859] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.985673] procd: - init -
[ 8.548759] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.633669] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.647316] urngd: jent-rng init failed, err: 2
[ 8.663311] hidraw: raw HID events driver (C) Jiri Kosina
[ 8.676741] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 8.693533] usbcore: registered new interface driver asix
[ 8.702809] usbcore: registered new interface driver ax88179_178a
[ 8.714493] Loading modules backported from Linux version v4.19.120-0-gfdc072324f3c
[ 8.725832] Backport generated by backports.git v4.19.120-1-0-g60c3a249
[ 8.737718] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.754578] nf_conntrack version 0.5.0 (7168 buckets, 28672 max)
[ 8.799116] usbcore: registered new interface driver r8152
[ 8.825100] xt_time: kernel timezone is -0000
[ 8.872595] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 9.019645] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt failed with error -2
[ 9.038249] brcmfmac mmc1:0001:1: Falling back to user helper
[ 9.090234] firmware brcm!brcmfmac43430-sdio.raspberrypi,model-zero-w.txt: firmware_loading_store: map pages failed
[ 9.279170] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 9.293129] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.clm_blob failed with error -2
[ 9.308494] brcmfmac mmc1:0001:1: Falling back to user helper
[ 9.332541] firmware brcm!brcmfmac43430-sdio.clm_blob: firmware_loading_store: map pages failed
[ 9.348026] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
[ 9.369057] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 9.441720] usbcore: registered new interface driver brcmfmac
[ 9.496999] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 14.617590] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 16.744336] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 57.118280] random: crng init done
[ 57.125531] random: 3 urandom warning(s) missed due to ratelimiting

System messages from Client:


2021-01-16 21:05:29 INFO :VirtualHere Client 5.1.4 starting (Compiled: Dec 13 2020 20:13:07)
2021-01-16 21:05:29 INFO :Client OS is Windows 10 (build 19041), 64-bit edition
2021-01-16 21:05:29 INFO :Using config at C:\Users\Brian\AppData\Roaming\vhui.ini
2021-01-16 21:05:29 INFO :IPC available at \\.\pipe\vhclient
2021-01-16 21:05:29 INFO :Auto-find (Bonjour) on
2021-01-16 21:05:29 INFO :Auto-find (Bonjour SSL) on
2021-01-16 21:06:05 INFO :Server ping timeout, shutting down connection 1...
2021-01-16 21:06:05 INFO :Connection 1 socket closed (rx)
2021-01-16 21:12:25 INFO :Server ping timeout, shutting down connection 2...
2021-01-16 21:12:25 INFO :Connection 2 socket closed (rx)
2021-01-16 21:14:06 INFO :Server ping timeout, shutting down connection 3...
2021-01-16 21:14:06 INFO :Connection 3 socket closed (rx)
2021-01-16 21:19:13 INFO :ReverseLookupService listening on port 7573 (IPv6 dual-stack)
2021-01-16 21:22:32 INFO :ReverseLookupService stopped
2021-01-16 21:23:08 INFO :Server ping timeout, shutting down connection 5...
2021-01-16 21:23:08 INFO :Connection 5 socket closed (rx)
2021-01-16 21:23:08 INFO :Server ping timeout, shutting down connection 4...
2021-01-16 21:23:08 INFO :Connection 4 socket closed (rx)

#2

I case you ask, yes I have paid for license (after confirming one of the devices worked)

#3

and even removing hub and just plugging that single USB device it is not appearing now

#4

Can you unplug then replug the hub and then run dmesg on the pi again and post the messages here from dmesg

#5

Michael, changed one of my USB cables and it seems to be working now, thanks for prompt replies