I should’ve used it sooner rather than last year when they announced AI integration to Windows. Every peripheral I tried is just worked without needing to install drivers, and it works better and faster than on Windows, just like today when I tried to use my brother’s 3D printer expecting disappointment, but no, it just connected and was ready to print right away (I use Ultimaker Cura), whereas on my brother’s Windows computer I have to wait like 20 seconds; sometimes I have to disconnect and reconnect it again for it to see and ready to use. Lastly, for those who are wondering, I use Vanilla Arch (btw), and sorry for bad English.

  • LovableSidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    20 hours ago

    Can anybody comment on their experience using Arduino and ESP with Linux? Especially does Linux handle COM ports better than Windows? There’s a seemingly immortal problem of COM ports becoming unusable until you go into Device Manager and uninstall them (again and again) - and if that doesn’t work, reboot Windows. I experience this less often now than say 5 or 6 years ago, and sometimes it’s my fault, but jeez.

    • zzx@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      12 hours ago

      COM ports as handled by Windows is misery anyways. Linux definitely does it better

    • RoyaltyInTraining@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      You might have issues with permissions for serial ports on some distros, but there are loads of easy to follow guides for that. Linux definitely handles them better than windows though. I never had issues where they just stop working like on Windows.

    • fluxx1@lemm.ee
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      20 hours ago

      Yes, com ports work way better than in windows. I’ve done a lot of embedded development on linux and it’s way more pleasant than in windows. One thing you do have to keep in mind is that access to com ports (USB and real) requires root access by default, but once you’ve set the udev rule up, it becomes accesible to normal users and/or group of users. After that, it works flawlessly. Android dev also works great and imo better than on win. Proprietary jtags may be an issue, but I’ve never actually had an unsolvable situation.

      • LovableSidekick@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        19 hours ago

        Thank you, that’s massively helpful! Pasting your comment into my ESP32 project notes so when I soon move to Linux I can remember to figure out the udev rule and jtags.

        • StorageB@lemmy.one
          link
          fedilink
          English
          arrow-up
          7
          ·
          edit-2
          6 hours ago

          Running this command was literally the only thing required for me to get access to the com ports. After that, everything worked perfectly.

          sudo usermod -a -G dialout $USER

          (note that $USER is part of the command - do not replace that with your actual username)

        • lemming741@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          18 hours ago

          I’ve had wemos d1 boards from AliExpress show up as a brltty and the braille teletype driver grabs the device. Just something to look out for on some distros

    • data1701d (He/Him)@startrek.website
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 hours ago

      It’s mostly a breeze. The only misery I can recall is I remember I had a wonky knockoff Arduino board that kept jumping serial ports, but that was a hardware issue.