smasty / g203-led

Logitech G203 Prodigy / G203 LightSync Mouse LED control for Linux
MIT License
216 stars 47 forks source link

PyUSB exception on Mac #14

Open erikdvlp opened 2 years ago

erikdvlp commented 2 years ago

Running the application on a Mac (possibly only an ARM Mac?) will produce a NoBackendError: No backend available error from PyUSB as it cannot locate libusb.

While this isn't really an issue with g203-led, you may consider including run instructions for Macs. The following fixed the issue for me (requires Homebrew):

brew install libusb
ln -s /opt/homebrew/lib ~/lib

More info here: https://stackoverflow.com/questions/70729330/python-on-m1-mbp-trying-to-connect-to-usb-devices-nobackenderror-no-backend-a

mpr1255 commented 1 year ago

FYI I got this working today on an M1. Big problem is how to make it run on boot every time. Logitech is absolutely horrible to sell us this product where you can't even turn the bloody lights off.