M5burner issue Arch Linux
-
I'm experiencing multiple issues uploading firmware to the cardputer.
I'm unable to connect to the cardputer unless I do: "sudo chown 'user' ttyACM0"
After do this I can verify a connection in m5burner but I can't burn anything if I do it says the following:"JavaScript error occurred in the main process"
"uncaught Exception:
Error: spawn /mnt/'drive'/'file'/0M5Burner-v3-beta-linux-x64/packages/tool/esptool EACCES
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21I've also tried running as admin.
"sudo ./m5burner"
which returns:
[1230/051906.244212:FATAL:electron_main_delegate.cc(290)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
fish: Job 1, 'sudo ./m5burner' terminated by signal SIGTRAP (Trace or breakpoint trap)so then I tried adding no sandbox "sudo --no--sandbox ./m5burner"
which returns
sudo: unrecognized option '--no--sandbox'I welcome any suggestions that might fix this sour pickle.
-
@kumohoshi42 I solved this if anyone from Arch or any arch based distro.
The Java exception was created because my user doesn't have permission to make a folder in /mnt.
To fix this I used bash to create a folder called "drive" and then I could make a folder in that called "folder".
Then for safety I copied the m5burner folder to there and that's where I'm gonna burn from.I hope this helps any future Arch users <3 <3
-
@kumohoshi42
Thanks for sharing how you resolved the problem!