• eta@feddit.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    For a project using Elixir on a Raspberry Pi I recently used Alpine instead of the default Raspberry OS because the package there was so old that it wasn’t compatible with a second PC I was developing the project on. It could have worked if I had set up a special distrobox with Debian or something that has the older version but honestly why do all that just for using software that’s years old. However now I have to run the project as root because apparently you can’t access the GPIO pins as a user on anything other than Raspberry OS so it’s not perfect but at least it works.

    • Consti@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      1 day ago

      I haven’t checked for RPI specifically, but those are usually configuration issues. Either put your user into the relevant group, or chown the pins into something usable. They should be exposed in /dev or /sys

    • MartianSands@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      That’s not difficult to fix, if you care. I don’t know exactly what the setting you need is, but it’s probably as simple as adding your user to a particular group

    • BlindPenguin@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Every use case has an appropriate tool. Idk what the Raspi version is doing, but at least on Desktop & Server Version it’s possible to add the backports repo. And in my case i also have the nvidia repo too. The version there is literally the same as in *buntu. For everything else Flatpak, Snap & AppImage exists.