Wyse 3040 USB3 front port can be used for USB Gadget ("device").
This probably applies to other Bay/Cherry Trail-based devices (Z8350).
- EFI shell -
shellx64.efi→/EFI/BOOT/BOOTX64.EFI setup_var.efi
- Boot UEFI Shell
setup_var.efi Setup:0x1a8=1("USB OTG Support" = "PCI Mode" extracted from EFI IFR menus)- Boot Linux
- Should see
8086:22b7PCI device. modprobe dwc3-pciecho device > /sys/class/usb_role/intel_xhci_usb_sw-role-switch/rolemodprobe g_ether