-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopped working after 2.9.3, no data can be read #539
Comments
No, there shouldn't be any breaking changes between 2.9.3 and the 2.10.X series. Just to verify, have you tried using the most current release (2.10.4), or have you just tested 2.10.0? |
Hi! Firstly, sorry for the late response. Yes, I have started at that version and, seeing that something is broken, started experimenting. Thanks! |
Hey lolhol, perhaps stupid question, but have you tried restarting your virtual machine? I had the oddest issue with JSerialComm not reading data after opening an outputstream / writing data for the first time (so before any call to getOutputStream() it received data events, but if I tried sending anything to my arduino I would never receive incoming data again). Tried a few different versions via Maven, had the same problem with all of them. But now (a few days later) somehow I can't reproduce that behaviour anymore, and now everything works fine. I can send / read data no problem. Only thing I can think of that could've changed was that I rebooted my computer in between. |
Just curious if a restart resolved this issue for the original poster (or upgrading to 2.11.X). I can't see any reason why this would have stopped working after 2.9.3, but we can try to debug if the issue still persists. |
Perhaps related to #562? |
It stopped receiving data for me as well all of a sudden. https:/Fazecast/jSerialComm/blob/master/src/main/c/Posix/SerialPort_Posix.c#L950 |
Hi.
Was there some breaking change (except the one mentioned in the release) that could break the library usage between 2.9.3 and 2.10.0? It looks like 2.10.0 stopped receiving any data in my configuration (in VMWare Fusion installed Linux working with /dev/ttyUSB0). I tried to use strace to figure out the issues, but I couldn't find anything suspicious.
Here is a full screencast: https://streamable.com/schhu0
TL;DR:
In 2.9.3:
it works (and also, pyserial works too, it's able to send/receive data, so it's not about the device):
But starting from 2.10.0:
it stops receiving (and maybe sending?) data:
The text was updated successfully, but these errors were encountered: