No description
| .gitignore | ||
| cpu.py | ||
| README.md | ||
| requirements.txt | ||
Blinkstick
In order to control a Blinkstick (see https://blinkstick.com), we need to install a Python module.
If we go the easy route, pip install blinkstick, we have some issues, since the Pypi package is not up to date:
- will pull pyusbwin, but for Linux we need to manually install pysub:
pip install pyusb - need to convert
venv/bin/blinkstickto unix. Open it in vim, then:set ff=unixand save. - fix blinkstick.py to support Callable in Python versions higher than 3.10, as shown here: https://github.com/arvydas/blinkstick-python/pull/84
Instead of these steps, it is better to install directly from the repo: pip install git+https://github.com/arvydas/blinkstick-python
Regardless of chosen installation mode, we need to add udev rule:
/etc/udev/rules.d/85-blinkstick.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="20a0", ATTR{idProduct}=="41e5", MODE:="0666"