Notifications
Clear all

No update because: No authorization  

  RSS
Phen
 Phen
(@phen)
Active Member
No update because: No authorization

I had finished to put the MK3 kit together... .
Now I try to make a software update with slic3r - I work with Linux.
...but I get the message:
avrdude-slic3r -v -p atmega2560 -c wiring -P /dev/ttyACM0 -b 115200 -D -U flash:w:0:/home/XXX/Dokumente/3D/prusa/prusa3d_fw_3_6_0_MK3/prusa3d_fw_MK3_3_6_0.hex:i

avrdude-slic3r: Version 6.3-20160220-prusa3d, compiled on Apr 14 2019 at 10:44:13
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

Using Port : /dev/ttyACM0
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude-slic3r: ser_open(): can't open device "/dev/ttyACM0": No authorization
avrdude-slic3r: Could not open port: /dev/ttyACM0
avrdude-slic3r done. Thank you.

...I am the admin on my system... .(?)

Posted : 21/04/2019 6:17 pm
vintagepc
(@vintagepc)
Member
Re: No update because: No authorization

you will need to sudo that command unless your user is a member of the dialout group that gives serial port access.

Posted : 21/04/2019 6:43 pm
Phen
 Phen
(@phen)
Active Member
Topic starter answered:
Re: No update because: No authorization

(....vielleicht können wir das ganze auch auf Deutsch machen... .)

...I had to use the terminal?
(What and how exact I had to do?)

I only try to update with the Firmware Flasher from Slic3rPE

Posted : 21/04/2019 7:07 pm
vintagepc
(@vintagepc)
Member
Re: No update because: No authorization

Add yourself to the dialout and/or serial user groups, log out, log in again and you should be able to update the firmware now.

I don't know what distribution you use, so I cannot provide more specific instructions.

Posted : 21/04/2019 10:05 pm
Phen
 Phen
(@phen)
Active Member
Topic starter answered:
Re: No update because: No authorization

?
I have Linux Mint 18 Cinnamon 64 Bit... .

Posted : 22/04/2019 7:47 am
vintagepc
(@vintagepc)
Member
Re: No update because: No authorization


?
I have Linux Mint 18 Cinnamon 64 Bit... .

https://www.computerbeginnersguides.com/blog/2015/02/20/add-user-accounts-to-groups-in-linux-mint/

Posted : 22/04/2019 1:04 pm
Phen
 Phen
(@phen)
Active Member
Topic starter answered:
Re: No update because: No authorization

Thank you very much - very helpful.

Posted : 22/04/2019 5:44 pm
gnat
 gnat
(@gnat)
Noble Member
RE: No update because: No authorization
Posted by: vintagepc

Add yourself to the dialout and/or serial user groups, log out, log in again and you should be able to update the firmware now.

I don't know what distribution you use, so I cannot provide more specific instructions.

Good lord. I've been using Unix for an embarrassingly long time and I've simply been using sudo to access my serial ports all this time. 🙁

Thanks for the tip!

MMU tips and troubleshooting
Posted : 24/04/2019 2:15 pm
vintagepc
(@vintagepc)
Member
RE: No update because: No authorization
Posted by: gnat
Posted by: vintagepc

Add yourself to the dialout and/or serial user groups, log out, log in again and you should be able to update the firmware now.

I don't know what distribution you use, so I cannot provide more specific instructions.

Good lord. I've been using Unix for an embarrassingly long time and I've simply been using sudo to access my serial ports all this time. 🙁

Thanks for the tip!

protip: ls -l shows group and user ownership of files/device nodes etc... if you want your user able to access a piece of hardware without elevated permissions, add yourself to the shown group 🙂

You can also add custom user groups for a specific piece of hardware if it doesn't have a suitable group set but that gets more complicated. (Search for info on udev permissions if you really want to know more...)

Posted : 24/04/2019 2:30 pm
Share: