this post was submitted on 26 Jan 2025
677 points (97.9% liked)

Linux

49393 readers
1374 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] LovableSidekick@lemmy.world 9 points 3 days ago (5 children)

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.

[–] fluxx1@lemm.ee 20 points 3 days ago* (last edited 3 days ago) (1 children)

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 4 points 3 days ago (2 children)

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 8 points 3 days ago* (last edited 1 day ago) (2 children)

Running this command was 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)

[–] LovableSidekick@lemmy.world 2 points 1 day ago

Pasting this right into my project doc. Thanks so much!

[–] Diurnambule@jlai.lu 2 points 3 days ago

Same, programmed an arduino last week, that was all I had to do too

[–] lemming741@lemmy.world 2 points 3 days ago (1 children)

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

[–] LovableSidekick@lemmy.world 1 points 1 day ago (1 children)

That's a bizarre glitch I never would have known to look for - thanks!

[–] lemming741@lemmy.world 2 points 1 day ago

Yeah I'd rather deal with this than a blind persons gear not work

[–] domi@lemmy.secnd.me 7 points 3 days ago

I regularily program Arduinos in Arduino IDE v2 (https://flathub.org/apps/cc.arduino.IDE2) and ESPs via the ESPHome web flasher and the esphome CLI tool.

Works flawlessly once you added yourself to the dialout group as mentioned by @StorageB@lemmy.one.

[–] zzx@lemmy.world 4 points 3 days ago

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

[–] RoyaltyInTraining@lemmy.world 2 points 3 days 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.

[–] data1701d@startrek.website 1 points 3 days 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.