Closed SabeehKhan18 closed 4 months ago
Thanks a lot for taking the time to report this!
One "fix" for would be to add a troubleshooting section warning to downgrade hid when this issue appears. However, I think that it'll be better to drop the hid dependency completely at some point. The fact that snagboot depends on a foreign dynamic library for this feature has been causing some issues for some time now, especially since it obscures error messages.
I'll have to take more time to think about this but your report will definitely help me make a decision.
The libhidapi dependency has been dropped.
As a new user of this tool, I followed the readme installing everything. However, I got this error when running snagrecover for my board.
The solution for me was to install hid 1.0.4. It seems hid 1.0.5 is now automatically dependent:
$ sudo python3 -m pip install hid==1.0.4
I hope this helps.