No description
Find a file
2025-03-12 12:59:32 +01:00
.gitignore turn off the leds on Ctrl-C 2025-03-12 12:59:32 +01:00
cpu.py turn off the leds on Ctrl-C 2025-03-12 12:59:32 +01:00
README.md first commit 2025-03-11 18:49:34 +01:00
requirements.txt turn off the leds on Ctrl-C 2025-03-12 12:59:32 +01:00

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/blinkstick to unix. Open it in vim, then :set ff=unix and 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"