Open edaniszewski opened 10 years ago
So many dreams, so few classes left.
for this there should be hotplug support somewhere in the OS that may help.
https://www.kernel.org/doc/Documentation/usb/hotplug.txt
i have been spending a lot of time on kernel stuff, and with kernel devs lately, so i think this is something that should be doable but if not let me know. this seems fixable.
libusb (which the project already uses) supposedly has some hotplug suppprt, but I don't think it is cross-platform /: http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Usb-hotplug-library-for-linux-and-windows-td1396.html
I have been wildly unplugging and plugging the dongle back in with srtn running and it seems that the data stream does recover. I will check this again tomorrow to make totally sure.
On Jun 28, 2015, at 8:57 AM, Erick Daniszewski notifications@github.com wrote:
libusb (which the project already uses) supposedly has some hotplug suppprt, but I don't think it is cross-platform /: http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Usb-hotplug-library-for-linux-and-windows-td1396.html
― Reply to this email directly or view it on GitHub.
srtn seems to recognize the dongle when it is run with the dongle already plugged in. When running and the USB is removed, program stops receiving data, as expected. When program still running and USB plugged back it, it does not recognize the USB again and continue receiving data.