Menu

usb/ip server is raspberry client is Windows10

2020-07-03
2020-07-19
  • Kurt Struevy

    Kurt Struevy - 2020-07-03

    Hi,
    is there a way to install a usb/ip Server on a raspberry and an usb/ip client on a windows host?
    I would like to control my canon camera connected on a raspberry.
    Thanks a lot
    Kurt

     
  • Kurt Struevy

    Kurt Struevy - 2020-07-08

    Hi,
    first of all! Is it not common to get any answer on question asked here?
    I try to install a windows10 client as described in this document:
    https://github.com/cezanne/usbip-win

    Windows USB/IP client

    Prepare a linux machine as a USB/IP server (or windows usbip-win stub server)
        tested on Ubuntu 16.04 (Kernerl 4.15.0-29)
        # modprobe usbip-host
        You can use virtual usbip-vstub as a stub server
    
    Run usbipd on a USB/IP server (Linux)
        # usbipd -4 -d
    
    Install USB/IP test certificate
        Install driver/usbip_test.pfx (password: usbip)
        Certificate should be installed into
            "Trusted Root Certification Authority" in "Local Computer" (not current user) and
            "Trusted Publishers" in "Local Computer" (not current user)
    
    Enable test signing
        > bcdedit.exe /set TESTSIGNING ON
        reboot the system to apply
    
    Copy usbip.exe, usbip_vhci.sys, usbip_vhci.inf, usbip_root.inf, usbip_vhci.cat into a folder in target machine
        You can find all files in output folder after build or on release page.
    
    Install USB/IP VHCI driver
        You can install using usbip.exe or manually
        Using usbip.exe install command
            Run PowerShell or CMD as an Administrator
            PS> usbip.exe install
        Install manually
            Run PowerShell or CMD as an Administrator
            PS> pnputil /add-driver usbip_vhci.inf
            Start Device manager
            Choose "Add Legacy Hardware" from the "Action" menu.
            Select "Install the hardware that I manually select from the list".
            Click "Next".
            Click "Have Disk", click "Browse", choose the copied folder, and click "OK".
            Click on the "USB/IP VHCI Root", and then click "Next".
            Click Finish at "Completing the Add/Remove Hardware Wizard".
    
    Attach a remote USB device
        > usbip.exe attach -r <usbip server ip> -b 2-2
    

    On the point Install manually
    > pnputil.exe /add-driver .\usbip_vhci.inf
    i get a failure which means that I cannot add the driver .
    Please can somebody help?

     

    Last edit: Kurt Struevy 2020-07-08
  • Kurt Struevy

    Kurt Struevy - 2020-07-19

    Hi,
    I solved this problem by using usbip v 0.3.0.
    https://github.com/cezanne/usbip-win/releases/tag/v0.3.0
    Thanks a lot to cezanne!
    Kurt

     

Log in to post a comment.