Closed francescoDV90 closed 6 years ago
The lib runs unfortunatly unstable from a virtual machine, I havent even been able to run it on a virtual machine myself due to errors in the communication so I'm affraid I'm not able to help. I advise you to switch to a native implementation. I you however would find a solution to your problem somehow, I would be glad to implement it. Sorry for the inconvenience
hello, thank you for the replay..no worry about that.. I am using the raspberry pi now, and there a native linux is installed...even if I have to use sudo any case to access the USB.
2018-02-07 15:09 GMT-05:00 Maarten Vandersteegen notifications@github.com:
The lib runs unfortunatly unstable from a virtual machine, I havent even been able to run it on a virtual machine myself due to errors in the communication so I'm affraid I'm not able to help. I advise you to switch to a native implementation. I you however would find a solution to your problem somehow, I would be glad to implement it. Sorry for the inconvenience
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maartenvds/libseek-thermal/issues/20#issuecomment-363894787, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah9hJ8nurbPj88F0hcnJbPWLGhK9bOVaks5tSgLzgaJpZM4Rk9SS .
-- Francesco De Vivo
PhD student in Aerospace Engineering Department of Mechanical and Aerospace Engineering DIMEAS Polytechnic of Turin Corso Duca degli Abruzzi, 24 10129 Turin, Italy email: francesco.devivo@polito.it email: francesco.devivo@gatech. francesco.devivo@polito.itedu
Ok than I will close the issue
Hello, I am using your code to connect my seek thermal compact to a linux platform running on a virtual machine (to access the USB I have tu use sudo). When I run the test code everithing is working properly, the problem is when I exit the code typing Ctrl+C. The code terminates, but when I run again the .exe, I get an error message about a PIPE error. This error does not terminate the code, that will start running.
The critical problem is that Ctrl+C does not free completely the USB device, somehow in backgrownd there is something keeping alive the communication as explained here: http://hertaville.com/introduction-to-accessing-the-raspberry-pis-gpio-in-c.html under Using Signals
When I have tried to close the virtual machine, I got an error message that it was busy (this will confirm my hypothesis). I forced the close, and at the restart I got damaged the system files of Ubuntu. I have reinstalled everithing (starting from Ubuntu,libreries etc) twice, and the problem will happen again. So I am pretty sure that there is a bug, or a way to safetly remove the USB connection when we press Ctrl+C, without destroing the PC.
Could you please help me?