
我有一台全新的Framework 16 筆記型電腦,正在考慮是否可以將某個USB 控制器路由到虛擬機,以便與僅在Windows 下可用的音樂軟體一起使用(所以Linux 主機系統和Windows 虛擬機是我想要的設置,不需要雙重-boot),我檢查了lsusb
一下是否有超過 1 個 USB 控制器,我得到了這個輸出:
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/5p, 480M
|__ Port 001: Dev 002, If 0, Class=Billboard, Driver=[none], 12M
|__ Port 001: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 003, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 003: Dev 004, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 002: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 006, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 006, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 006, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 004: Dev 005, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 001: Dev 008, If 0, Class=Vendor Specific Class, Driver=[none], 12M
|__ Port 002: Dev 009, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 009, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 009, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 009, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 005: Dev 007, If 0, Class=Wireless, Driver=btusb, 480M
|__ Port 005: Dev 007, If 1, Class=Wireless, Driver=btusb, 480M
|__ Port 005: Dev 007, If 2, Class=Wireless, Driver=[none], 480M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
|__ Port 002: Dev 002, If 0, Class=Hub, Driver=hub/3p, 10000M
|__ Port 001: Dev 004, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/: Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
/: Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/: Bus 007.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
/: Bus 008.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 10000M
我用 USB 棒檢查了每個端口,它只出現在總線 1 和 2 上,而不出現在其他總線上。
我承認我對 Linux 如何處理 USB 沒有太多了解,但我想知道這些 USB 控制器是否可以訪問,如果可以,可以傳遞到虛擬機
PS:我正在使用 EndeavorOS Galileo-Neo 和 GNOME。