树莓派:
1、从https://virtualhere.com/usb_server_software上面下载
<-- Raspberry Pi, pi2, pi3,BeagleBone, Odroid, Angstrom, & any ARM 32-bit based Android
2、相关操作
cd /usr/src
sudo wget https://virtualhere.com/sites/default/files/usbserver/vhusbdarm
sudo chmod +x ./vhusbdarm
sudo ./vhusbdarm -b
3、放入自动启动执行
sudo nano /etc/rc.local
在打开的文本中找到exit 0,在此之前添加的代码在启动时都会被执行,在exit 0 之前添加一行代码:
su pi -c "/usr/src/vhusbdarm -b"