chegewara / esp32-usbip-poc

ESP32 S2/S3 USBIP proof of concept app
87 stars 11 forks source link

usbip: info: no exportable devices found on 192.168.178.*** #1

Closed somebuddy87 closed 2 years ago

somebuddy87 commented 2 years ago

Hi, i tried with the ESP32-S3-DevKitC-1-N8R2 board. My usbip client shows the right ip and i can connect. But if i want to attach the usbip to my server it shows the following message: usbip: info: no exportable devices found on 192.168.178.***

is there a special device class to test with? maybe an usb stick or something else?

thank you!

chegewara commented 2 years ago

Im not sure you know the purpose of USB/IP. You have to connect any USB device to pins 19/20 (D+/D-) on esp32S3 and the GND and +5V to power that device. Not all device are working thou, even if usbip can detect and list, or even to mount on PC. There is problem with pendrive, at least on my linux, because the driver on PC is trying to SetAddress, which is not implemented. You can test with any USB to UART, esp32 devkit or other devices.

somebuddy87 commented 2 years ago

ok. i will try.

on my devkit the usb pins (D+ and D-) are on Pin 20 and 21. Do i have to change these pins in one of the header files ? At the moment i try with an OTG adapter on the onboard USB port. I thought the USB port is already connected to the right pins.

image

chegewara commented 2 years ago

This OTG port should works. Your D+/D- are the same as for all S3 devkits, 19 and 20, you just misread it.

somebuddy87 commented 2 years ago

ok. I will try another OTG adapter next. I connected an usb-serial adapter to the USB Port of my S3 and again usbip: info: no exportable devices found on 192.168.178.xxx

somebuddy87 commented 2 years ago

it seems that there is no power delivered through the usb (OTG) port.

somebuddy87 commented 2 years ago

After adding external 5V (VBUS) to my device it is working.