🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5burner issue Arch Linux

    Scheduled Pinned Locked Moved UIFlow
    3 Posts 2 Posters 1.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kumohoshi42
      last edited by

      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:21

      I'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.

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        kumohoshi42 @kumohoshi42
        last edited by

        @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

        bschwahnB 1 Reply Last reply Reply Quote 0
        • bschwahnB Offline
          bschwahn @kumohoshi42
          last edited by

          @kumohoshi42
          Thanks for sharing how you resolved the problem!

          What doesn't kill me makes me stronger.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post