fixed message for vhci mode only linux. and changed readme
This commit is contained in:
@@ -91,8 +91,8 @@ func (um *UseManager) GetAttachedDevices() []*AttachedDevice {
|
||||
// AttachDevice requests and attaches a remote USB device
|
||||
func (um *UseManager) AttachDevice(clientID, busID string) error {
|
||||
// Check if VHCI is available
|
||||
if !usbip.IsVHCIAvailable() {
|
||||
return fmt.Errorf("vhci-hcd kernel module not loaded (run: sudo modprobe vhci-hcd)")
|
||||
if err := usbip.VHCIUnavailableError(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
key := busID + "@" + clientID
|
||||
|
||||
Reference in New Issue
Block a user