could not claim interface 0 (configuration 2): LIBUSB_ERROR_ACCESS
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
I'm using a few USB devices (Sonoff Zigbee 3.0 USB, Zwave USB, and Belkin USB-C LAN)
this was working for months with my UTM VM (which is running Home assistant)
I wanted to add a new USB devices so I went to the VM settings **Shared USB devices from host** and **_changed Maximum shared USB devices :3_** to 5.
Since I keep having an error with my network adaptor (belkin), when I first connect it I'm getting an error
`could not claim interface 0 (configuration 2): LIBUSB_ERROR_ACCESS`
when I try again after I have no issue but no network access (I'm using this network adaptor through USB to avoid sharing the same VLAN with my host)
I changed back to 3 devices but somehow I always have the same issue now
**Configuration**
* UTM Version: Version 4.1.6 (75)
* macOS Version: 13.4 Beta (22F5037d)
* Mac Chip (Intel, M1, ...): Apple M2 Pro (MacMini)
**Crash log**
nothing found
Sceenshot
https://imgur.com/DJqWvGt
https://imgur.com/a/R4vtAFG
https://imgur.com/4vJhBnU
additional data:
`USB:
USB 3.1 Bus:
Host Controller Driver: AppleT8112USBXHCI
USB 3.1 Bus:
Host Controller Driver: AppleT8112USBXHCI
Belkin USB-C LAN:
Product ID: 0x8153
Vendor ID: 0x0bda (Realtek Semiconductor Corp.)
Version: 30.00
Serial Number: 2BFAC0000000
Manufacturer: Belkin
Location ID: 0x01200000
USB 3.1 Bus:
Host Controller Driver: AppleT8112USBXHCI
Hub:
Product ID: 0x8142
Vendor ID: 0x0451 (Texas Instruments)
Version: 1.00
Serial Number: 10010849D9B5
Speed: Up to 480 Mb/s
Location ID: 0x00100000 / 1
Current Available (mA): 500
Current Required (mA): 0
Extra Operating Current (mA): 0
Hub:
Product ID: 0x8142
Vendor ID: 0x0451 (Texas Instruments)
Version: 1.00
Serial Number: 60010079D9B5
Speed: Up to 480 Mb/s
Location ID: 0x00140000 / 3
Current Available (mA): 500
Current Required (mA): 0
Extra Operating Current (mA): 0
USB Controls:
Product ID: 0x9a39
Vendor ID: 0x043e (LG Electronics USA Inc.)
Version: 2.19
Serial Number: ABC123456789
Speed: Up to 12 Mb/s
Manufacturer: LG Electronics Inc.
Location ID: 0x00143000 / 4
Current Available (mA): 500
Current Required (mA): 0
Extra Operating Current (mA): 0
USB Receiver:
Product ID: 0xc52b
Vendor ID: 0x046d (Logitech Inc.)
Version: 24.10
Speed: Up to 12 Mb/s
Manufacturer: Logitech
Location ID: 0x00141000 / 6
Current Available (mA): 500
Current Required (mA): 98
Extra Operating Current (mA): 0
Plantronics Blackwire 3220 Series:
Product ID: 0xc056
Vendor ID: 0x047f (Plantronics, Inc.)
Version: 2.10
Serial Number: ##
Speed: Up to 12 Mb/s
Manufacturer: Plantronics
Location ID: 0x00130000 / 5
Current Available (mA): 500
Current Required (mA): 100
Extra Operating Current (mA): 0
Magic Keyboard with Touch ID and Numeric Keypad:
Product ID: 0x029f
Vendor ID: 0x05ac (Apple Inc.)
Version: 4.00
Serial Number: ##
Speed: Up to 12 Mb/s
Manufacturer: Apple Inc.
Location ID: 0x00120000 / 2
Current Available (mA): 500
Current Required (mA): 500
Extra Operating Current (mA): 0
Sleep current (mA): 500
USB 3.1 Bus:
Host Controller Driver: AppleT8112USBXHCI
USB 3.1 Bus:
Host Controller Driver: AppleEmbeddedUSBXHCIASMedia3142
PCI Device ID: 0x2142
PCI Revision ID: 0x0000
PCI Vendor ID: 0x1b21
CP2102N USB to UART Bridge Controller:
Product ID: 0xea60
Vendor ID: 0x10c4 (Silicon Laboratories, Inc.)
Version: 1.00
Serial Number: ##
Manufacturer: Silicon Labs
Location ID: 0x08400000
Sonoff Zigbee 3.0 USB Dongle Plus:
Product ID: 0xea60
Vendor ID: 0x10c4 (Silicon Laboratories, Inc.)
Version: 1.00
Serial Number: ##
Manufacturer: ITead
Location ID: 0x08300000
USB 3.1 Bus:
Host Controller Driver: AppleUSBXHCITR
PCI Device ID: 0x15f0
PCI Revision ID: 0x0006
PCI Vendor ID: 0x8086
`
also I don't think any other process is using this USB devices, but I'm not sure how to figure out, this doesn't work :
```
kevin@Kevins-Mac-mini-2 ~ % sudo lsof | grep /dev/ttyUSB0
Password:
kevin@Kevins-Mac-mini-2 ~ % ls -l /dev/ttyUSB*
zsh: no matches found: /dev/ttyUSB*
kevin@Kevins-Mac-mini-2 ~ %
```
Contributor guide
Assessment
This issue has not been assessed yet.