Closed nestukh closed 9 months ago
I think this is no longer an issue. Just tested this on a RaspberryPi 2B, both with the current release binary and recompiling from source. Both work as expected without any tricks.
The usbreset
code is neat! Very concise. In the past I've used usbhubctl
(available via apt
too) for USB port power cycling and thus triggering a USB re-enumeration, but usbreset
is (I think) doing a protocol reset instead. Another useful tool.
I'm leaving this issue open for now as a reminder to make a "USB tricks for blink(1)" page.
Standard instructions for installing
blink1-tool
do not work on raspberry pi 3B / 3B+, but it does on a zero w. Both with standard updated Raspberry Pi OS with current 5.10.17 kernel.Looking around the web, apparently there is some problem with udev or modern HIDAPI. On the 3Bs,
blink1-tool --fwversion -v
returnscannot open blink(1), bad id or serial number
, while it's present vialsusb
:Bus 001 Device 004: ID 27b8:01ed ThingM blink(1)
I've tested on a couple of devices in both armv6l and armv7l architecture, same results with official installation.
Anyway mixing info from the python setup I've got it working, so I'm providing a working installation procedure that covers all mentioned cases (and even resetting the usb connection without physical disconnection).