It looks like you're new here. If you want to get involved, click one of these buttons!Sign In
It looks like you're new here. If you want to get involved, click one of these buttons!
If my (python) application crashes in a bad way (I know bad exception handling... but I'm getting there!) the device is not closed at all before the script exits. When I rerun the application, the device can't be opened anymore nor closed. So far only a reboot of the Raspberry helped to free the device again. My Raspi is downstairs and I don't want to go and unplug and re-plug the stick, so I haven't tested whether that would work. Does anybody have a beautiful solution to re-initialize the stick? Best would be through the API of course, but it seems not possible to me. It might only be possible through resetting the USB device with something like this, right?