This is proof of concept of USBIP in esp32 S2/S3 SoC.
After installing usbip
on linux, we need to modeprobe module.
sudo modprobe vhci-hcd
Basic commands to list, attach and deatach devices:
-
usbip list -r 192.168.0.108
-
usbip --tcp-port 3240 list -r 192.168.0.108
-
sudo usbip attach --remote 192.168.0.108 -b 1-1
-
sudo usbip detach -p 0
-
sudo ln -s /var/lib/usbutils/usb.ids /usr/share/hwdata/usb.ids