USB not working

Hi everybody,
I have just received a second VIM3L board but I can’t get the USB to work. I flashed Android AOSP, then the Android firmware provided by Khadas and Ubuntu, still nothing. The ports are powered but I can’t get anything to work, not a mouse, not a keyboard, not a USB stick (as far as I can tell).

Is there any possibility this is a software issue or it’s 100% hardware and I’ll need to RMA?

I found out something weird, the board seems okay (I guess) but as soon as I plug the touchscreen cable of a display I own every USB stops working until I reboot the host itself.

Jun  4 13:29:27 localhost kernel: [ 1370.269577@2] usb 1-1.2: USB disconnect, device number 4
Jun  4 13:29:33 localhost kernel: [ 1377.166080@2] usb 1-1.2: new full-speed USB device number 5 using xhci-hcd
Jun  4 13:29:44 localhost kernel: [ 1387.533986@2] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
Jun  4 13:29:44 localhost kernel: [ 1387.533993@2] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host.
Jun  4 13:29:44 localhost kernel: [ 1387.550016@2] xhci-hcd xhci-hcd.0.auto: Host not halted after 16000 microseconds.
Jun  4 13:29:44 localhost kernel: [ 1387.550021@2] xhci-hcd xhci-hcd.0.auto: Non-responsive xHCI host is not halting.
Jun  4 13:29:44 localhost kernel: [ 1387.550024@2] xhci-hcd xhci-hcd.0.auto: Completing active URBs anyway.
Jun  4 13:29:44 localhost kernel: [ 1387.550080@2] xhci-hcd xhci-hcd.0.auto: HC died; cleaning up
Jun  4 13:29:44 localhost kernel: [ 1387.550279@2] usb 1-1.2: Unsupported device
Jun  4 13:29:44 localhost kernel: [ 1387.555152@2] usb 1-1.2: Unsupported device
Jun  4 13:29:44 localhost kernel: [ 1387.559678@2] usb 1-1: USB disconnect, device number 2
Jun  4 13:29:44 localhost kernel: [ 1387.559688@2] usb 1-1.1: USB disconnect, device number 3
Jun  4 13:29:44 localhost kernel: [ 1387.703313@2] usb 1-1.2: USB disconnect, device number 5

Since it looks like a Kernel issue, I tried building Android with both the default 5.1 and 5.4 kernel versions, no luck either way.

This is what happens on another device where the touchscreen actually works:

[23834.499533] usb 1-12: USB disconnect, device number 12
[23864.196869] usb 1-12: new full-speed USB device number 24 using xhci_hcd
[23864.346179] usb 1-12: New USB device found, idVendor=0416, idProduct=c168, bcdDevice= 0.00
[23864.346200] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[23864.346210] usb 1-12: Product: MTouch
[23864.346217] usb 1-12: Manufacturer: TSTP
[23864.346224] usb 1-12: SerialNumber: CMTP_1.0
[23864.351845] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/0003:0416:C168.0006/input/input38
[23864.413697] hid-generic 0003:0416:C168.0006: input,hidraw5: USB HID v1.11 Mouse [TSTP MTouch] on usb-0000:00:14.0-12/input0
[23864.418956] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:0416:C168.0007/input/input39
[23864.419354] hid-generic 0003:0416:C168.0007: input,hidraw6: USB HID v1.11 Device [TSTP MTouch] on usb-0000:00:14.0-12/input1
[23864.493870] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:0416:C168.0007/input/input40
[23864.494082] hid-multitouch 0003:0416:C168.0007: input,hidraw6: USB HID v1.11 Device [TSTP MTouch] on usb-0000:00:14.0-12/input1

If anyone is watching this, I have created another thread, more specific to this issue to keep things tidy.