-
Notifications
You must be signed in to change notification settings - Fork 108
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
Fix port flickering #367
Fix port flickering #367
Conversation
Hi, this is my first MR in this project. I am currently evaluating the use of OpenBuilds-CONTROL in our makerspace and am happy to contribute a couple more fixes and (hopefully ;)) improvements. I do understand that your time in maintaining this software is limited and appreciate it, so please tell me if there's anything to cause you less effort in dealing with my MR(s) :) |
Slightly different issue with the port selection box updating, but the same commit works for me. With 381 master, the log reveals constant updating of the ports until connect is selected (in my case /dev/ttyACM0 is the right one): with the commit applied, I can select connect and I get a more normal startup: |
Did a kernel upgrade recently and my /dev/ttyACM0 port didn't get detected. Now there there isn't a way to rescan the ports. Had to disconnect the usb connection and restart to Control software to rediscover to port. |
Slowing PortCheckInterval to 10 seconds helps, but still reports repeated port changes when none have occurred. |
This sounds like you're having problems with the "vanilla" OpenBuilds-CONTROL software, which are fixed using this PR's changes, is that correct? |
Yes, I noticed the flicking as well, but with different symptoms. There may be a better fix, try attached. Changes:
|
Thank you, merged into 1.0.381 or later |
Since a couple of versions, the port selection box under linux flickers between "/dev/ttyS0" and "/dev/ttyS0 undefined". Selecting a port is not possible, because on every flickering update (approx twice per second), the menu box is closed and the selection process is interrupted.
This merge request fixes this behavior by correcting the way how the list is filled in.