Open freb opened 8 years ago
I'll take a look into this. Thanks!
I can't reproduce this -- are you still having the issue?
Its been a while since I wrote my program depending on the library, but at that time it seemed to be the case. I'm not sure if its a problem with my /etc/udev
rules.
I did two things to make it work in my situation (which needed to handle unplugging and re-plugging in the device).
When I get a minute, I'll try to reproduce this specific issue and report back.
I have the same problem as freb. The work-around works, but is of course not an optimal solution, I was hoping to be able to run without blink1-tool (on a Raspi).
I can confirm that this is still an issue. The workaround did work but really is only as a proof that it can be made to work. Has anyone come up with a fix?
I can't seem to control the Blink1 with
go-blink1
until after I've issued some type of command to it viablink1-tool
. Something as simple asblink1-tool --list
allows me to control the device using this library.I'm running Linux so I'm not sure if it is specific to my OS. From the docs it seems like you may have only tested on Mac, but I'd be interested if anyone else has this issue.
I'm writing a debug program that flashes a specific pattern when the Blink1 is plugged in, and while the program will always be running, the Blink1 is meant to be plugged in only when needed.
Right now I have to do something like this as a workaround: