Update firmware from Linux
Hello,
I'm trying to update the firmware of my (brand new) MK3S, from a Gentoo Linux laptop. One important point : we always use custom-build kernels around here, and it's quite possible « something » is missing from the currently running kernel.
When connecting the printer to the laptop's USB port, it is properly detected. But PrusaSlicer fails to find any relevant serial port to send the hex file on.
Any idea which driver may be missing from the kernel ?
Thanks.
Best Answer by Zorglub:
On Ubuntu I was wondering the same. The USB port was found ( /dev/ttyACM0 ) and I managed to get into the dialout group but to no avail. So I found the reason was that Ubuntu itself has a Per Applications Permissions tab (acessible via right click) so I could allow the Prusaslicer to use USB devices. Et Voila it works like a charm. So many permissions, so little time 🙂
Kind regards
Christian
RE:
How do you know it can't find the output port? Since it detected the printer, it already knows what the port is.
If you expand the advanced tab (not sure that is the right label), what does the error message say?
Note that you need to be in the "dialer" group; the "groups" command will print the groups you are in.
RE: Update firmware from Linux
On Ubuntu I was wondering the same. The USB port was found ( /dev/ttyACM0 ) and I managed to get into the dialout group but to no avail. So I found the reason was that Ubuntu itself has a Per Applications Permissions tab (acessible via right click) so I could allow the Prusaslicer to use USB devices. Et Voila it works like a charm. So many permissions, so little time 🙂
Kind regards
Christian
Interesting. On my distro of choice, Puppy Linux, it just works...
Cheerio,
RE: Update firmware from Linux
FWIW, I had a problem at one point because I was following a post (I believe it was the second reverence to usermod in this post) that showed adding yourself to the dialer group using the command "usermod -G dialer my-login". Note the absense of the "-a" argument. Doing so removes the user (me in this case) from all other groups, including sudoers ... not good. Fortunately I could reboot single-user and there was a backup file. From the usermod man page for the "-G" option::
If the user is currently a member of a group which is not listed, the user will be removed from the group. This behaviour can be changed via the -a option, which appends the user to the current supplementary group list.