You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After rebooting Windows, install software to connect usb to virtual machine, type command in powershell:
PS> winget install usbipd
Describing solution will only work with USB adapters, buy cheap bluetooth adapter:
5.0/5.1 (tested on RTL8761B chipset, manufacturer Zexmte, works with Miscale and Omron module);
5.3 (tested on ATS2851 chipset, manufacturer Zexmte, works only with Miscale module).
Bluetooth adapter should have a removable RP-SMA antenna;
List devices in powershell that you can share:
PS> usbipd list
Connected:
BUSID VID:PID DEVICE STATE
1-2 0a12:0001 Generic Bluetooth Radio Not shared
Share USB bluetooth adapter for virtual machine (requires administrator privileges):
PS> usbipd bind --busid 1-2
Disable shared device (in this example Generic Bluetooth Adapter) from host system so that there are no bluetooth adapter conflicts, check IP address (network adapter with default gateway):
Log in via SSH with IP address (in this example 172.17.76.18) and install following packages:
$ su -
$ apt install -y usbutils usbip sudo
Add a user to sudo, add loading vhci_hcd module on boot, reboot system:
$ usermod -aG sudo robert
$ echo "vhci_hcd" | sudo tee -a /etc/modules
$ reboot
Set USB Bluetooth adapter service to start automatically (via host IP address, include "User" name) at system boot, create a file sudo nano /etc/systemd/system/usbip-attach.service:
You can check if export2garmin service works sudo systemctl status usbip-attach.service or temporarily stop it with command sudo systemctl stop usbip-attach.service;