-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
running:
./venv/bin/cp210x-program.py
gets:
Traceback (most recent call last):
File "/root/homebridge/./venv/bin/cp210x-program.py", line 247, in <module>
main()
File "/root/homebridge/./venv/bin/cp210x-program.py", line 243, in main
options.action(options)
File "/root/homebridge/./venv/bin/cp210x-program.py", line 139, in read_cp210x
usbdev = find_device(options.match)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/homebridge/./venv/bin/cp210x-program.py", line 133, in find_device
for dev in cp210x.Cp210xProgrammer.list_devices(usb_patterns):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/homebridge/venv/lib/python3.11/site-packages/cp210x/cp210x.py", line 196, in list_devices
return usb.core.find(find_all=True, custom_match=Cp210xMatch(patterns))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/homebridge/venv/lib/python3.11/site-packages/usb/core.py", line 1309, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available
But there is:
lsusb -t
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/2p, 480M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/2p, 480M
|__ Port 001: Dev 009, If 0, Class=Vendor Specific Class, Driver=[none], 480M
|__ Port 001: Dev 009, If 1, Class=Vendor Specific Class, Driver=[none], 480M
|__ Port 002: Dev 008, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M. <<<<<<<<<<<<<<<<
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
Metadata
Metadata
Assignees
Labels
No labels