sprig icon indicating copy to clipboard operation
sprig copied to clipboard

Flashing fails on Linux

Open transcental opened this issue 1 year ago • 4 comments

Describe the bug Using Arch Linux with a user added to the dialout group, I cannot flash a game to my Sprig.

To Reproduce Steps to reproduce the behavior:

  1. Plug in your Sprig.
  2. Make sure your user is part of the dialout group (usermod username -aG dialout)
  3. In a Chromium based browser (I used Chromium 126.0.6478.126 (Official Build) (64-bit) ) attempt to flash the game after selecting the Pico.
  4. Nothing happens on the Sprig. The console shows that the serial port could not be opened.

Expected behavior Game to flash successfully like on macOS

Actual behavior
Warning triangle displayed next to the button and the logs shown below in the console.

Screenshots image

transcental avatar Jul 13 '24 18:07 transcental

Are you running the flatpak or pacman version of Chromium? Also, if you don't mind installing it on your computer, I've gotten Brave to work most of the time with smaller games, and Chrome works 100% of the time, but I don't know if you are willing to install that.

asmtilde avatar Jul 14 '24 00:07 asmtilde

I tried flatpak & pacman versions (also chrome) none of which worked. Seems arch uses a different group - uucp instead of dialout so will test that when I get chance!

transcental avatar Jul 14 '24 09:07 transcental

@DillonB07 did it end up working?

asmtilde avatar Jul 16 '24 01:07 asmtilde

Yes, going to make a quick PR to explain the steps

transcental avatar Jul 16 '24 10:07 transcental