barbalion/usbip-win-client

Windows client encountering 'no exportable devices found'

OkenKhuman opened this issue · 1 comments

I encounter problem

On RaspberryPi

pit@raspberrypi:~ $ sudo modprobe usbip_host
pit@raspberrypi:~ $ sudo usbipd -D
pit@raspberrypi:~ $ sudo usbip --debug bind --busid=1-1.3
usbip: debug: usbip.c:141:[run_command] running command: `bind'
usbip: info: bind device on busid 1-1.3: complete
pit@raspberrypi:~ $ sudo netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      601/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      313/cupsd
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      872/sshd: pit@pts/1
tcp        0      0 0.0.0.0:3240            0.0.0.0:*               LISTEN      907/usbipd
tcp6       0      0 :::22                   :::*                    LISTEN      601/sshd
tcp6       0      0 ::1:631                 :::*                    LISTEN      313/cupsd
tcp6       0      0 ::1:6010                :::*                    LISTEN      872/sshd: pit@pts/1
tcp6       0      0 :::3240                 :::*                    LISTEN      907/usbipd
udp        0      0 0.0.0.0:959             0.0.0.0:*                           -
udp        0      0 0.0.0.0:68              0.0.0.0:*                           425/dhcpcd
udp        0      0 0.0.0.0:52326           0.0.0.0:*                           326/avahi-daemon: r
udp        0      0 0.0.0.0:631             0.0.0.0:*                           548/cups-browsed
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           326/avahi-daemon: r
udp6       0      0 :::546                  :::*                                425/dhcpcd
udp6       0      0 :::59028                :::*                                326/avahi-daemon: r
udp6       0      0 :::5353                 :::*                                326/avahi-daemon: r

On windows10

Microsoft Windows [Version 10.0.18363.1198]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd /

C:\>cd Users\joLo\usbip-win-client

C:\Users\joLo\usbip-win-client>install.cmd
Looking for the config...
Config is not found. Creating new "usbip.conf"...
Current ServiceName is "USBIPService".
Type new Service Name (leave empty to keep it):
Do you want to use UDE driver (default, newer one. Choose 'No' to fallback to the old driver if you experience any trouble with new UDE driver)? (Y/n):
Do you want to add a remote host? (Y/n):
Type in the host name/IP: 192.168.29.3
Added host 192.168.29.3.
Do you want to add ports to this remote? (Y/n): 1-1.3
Do you want to add ports to this remote? (Y/n):
Looking up for available devices...
Exportable USB devices
======================
 - 192.168.29.3
      1-1.3: Microdia : unknown product (0c45:636b)
           : /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3
           : Miscellaneous Device / ? / Interface Association (ef/02/01)

Type in the bus_id to add: 1-1.3
Added port with bus_id 1-1.3.
Do you want to add more ports to this remote? (y/N):
Do you want to add more remote hosts? (y/N):
Done with config. Save it? (Y/n):
        1 file(s) moved.
Install the test certificate for the driver? (Y/n):
CertMgr Succeeded
CertMgr Succeeded
Install the driver? (Y/n):
Installing the drivers...
usbip: info: vhci(ude) driver installed successfully
Install the service? (Y/n):
Installing the service "USBIPService"...
Service "USBIPService" installed successfully!
USBIPService: START: The operation completed successfully.
Looking for active ports...
SERVICE_RUNNING
usbip: info: no exportable devices found on 192.168.29.3
Error: 192.168.29.3  "" is disconnected.
Press any key to continue . . .

Please help me debug this

Try to use non-UDE driver during installation process.
And restart the server on Raspberry just in case. Linux driver is not very stable, unfortunately.