1.2 KiB
Raw Blame History

title description published date tags editor dateCreated
USB/IP true 2021-09-14T13:15:26.610Z markdown 2021-09-14T13:15:26.610Z

USB/IP

USB/IP是一个将usb设备通过tcp/ip协议共享至其它主机的开源项目。希望基于这个项目可以将远程主机分享的相机、赤道仪、滤镜轮、调焦器等设备共享至远程作为远程天文台。 优点:

  • 一机可以多用可以作为远程台可以作为类似asi的打野装备

缺点:

  • 相较于远程桌面需要的带宽更大
  • 受限于网速
  • 驱动稳定性

安装

Linux服务端

https://developer.ridgerun.com/wiki/index.php?title=How_to_setup_and_use_USB/IP Install USBIP: sudo apt-get install usbip

Load the kernel module with modprobe: sudo modprobe usbip-host

List available usb devices: sudo usbip list -l (my device shows up with an ID of 1-1.3)

Bind it to USBIP: sudo usbip bind --busid 1-1.3 It returns: usbip: info: bind device on busid 1-1.3: complete

start usbip server daemon. sudo usbipd

Windows服务端

https://github.com/cezanne/usbip-win .\usbip.exe attach -r 192.168.1.116 -b 1-1.4 .\usbip.exe detach -r 192.168.1.116 -p 0