-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
ubuntu.sh: No automatic removal of modemmanager #13156
Conversation
Thanks @hamishwillee. Test results by @MaEtUgR were mixed. So we need to - unfortunately - revisit this. |
Thanks. My take on this is that you were correct; if a significant number of people use this module then silently removing it is evil. There are lots of options though:
Probably some of the above might happen even if we are also to add the known FC board ids to modem managers. Thoughts? |
If we can workaround it by some timeout (5.) that would preferred to me. Otherwise, I like suggestion 1. or 2. |
@MaEtUgR @julianoes Re #13156 (comment) So who best understands the uploader script? A timeout on that makes sense? If we do go the way of making removal of modemmanager conditional on the user how do you add a query in a bash script? I think the rest of the check is OK ...
|
I'd personally go with 2. prompt the user if |
I'm running modemmanager and uploading firmware to a Pixracer just fine. I don't experience any problems.
|
@MaEtUgR @julianoes the uploader would be no slower. In the fail case it would actually be effectively faster, because it actually ends :-). I think you could reasonably argue that the absence of a timeout is a bug irrespective of this discussion. This is my preference because it moves the problem to the place where it is relevant, and means that it only gets highlighted when there is actually a problem. If the answer to above is no, then I will fix up the script as per 2. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Removing the modemmanager was done to allow firmware upload on any board. However this not needed when working with many boards because they are registered with the manager, and it is not good practice to just remove a feature someone might be using.
So removing this, and will add a note in the docs. If we run into specific boards that aren't covered we'll request they be registered.
As discussed in #13111