Notifications
Clear all

Can't update I3 mk3 firmware from Linux laptop  

  RSS
john.w37
(@john-w37)
New Member
Can't update I3 mk3 firmware from Linux laptop

Trying to update the latest my I3 mk 3 with the latest firmware update prusa3d_fw_MK3_3_4_0.hex . When I do, I get the following error "avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied"

I am using a Linux laptop running Umbuntu Gnome.

I have restarted both devices several times without any change.

I would appreciate some guidance, thanks.

Posted : 04/10/2018 4:13 am
lutz.b2
(@lutz-b2)
New Member
Re: Can't update I3 mk3 firmware from Linux laptop

Please check, if your user is in the "dialout" group. This will give you permissions for the serial ports.

Posted : 04/10/2018 11:02 am
john.w37
(@john-w37)
New Member
Topic starter answered:
Re: Can't update I3 mk3 firmware from Linux laptop

This almost helped, you were definitely on the right track.

My son, who is my Linux expert, had to give Linux permission to write to the device. This ended up working

Thanks for the advice.

Posted : 10/10/2018 2:13 pm
Patrick McNamara
(@patrick-mcnamara)
Estimable Member
Re: Can't update I3 mk3 firmware from Linux laptop


Trying to update the latest my I3 mk 3 with the latest firmware update prusa3d_fw_MK3_3_4_0.hex . When I do, I get the following error "avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied"

I am using a Linux laptop running Umbuntu Gnome.

I have restarted both devices several times without any change.

I would appreciate some guidance, thanks.

sudo chmod 666 /dev/ttyACM0

This assumes you have the ability to run things as root with sudo. That will fix things in the immediate term. Look at group that /dev/ttyACM0 is owned by. Here is an example for /dev/ttyS0 as I'm not at a machine with a printer connected.

$ ls -ld /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 Sep 19 23:01 /dev/ttyS0

As someone else mentioned, the dialout group is a common group to own communications ports. So long as the group is not root, you can permanently fix the problem by adding yourself to that group. Different distros have different user management UIs where you can set your group membership, or you can edit /etc/group and add yourself to the group. Find the group and add your userid at the end of the line. If there is already a user id there, then separate with commas.

*edit* missed the last posted noting it was fixed. Congrats. Will leave the rest of the above in place for future souls who come searching.

Posted : 10/10/2018 9:17 pm
Share: