this post was submitted on 25 Mar 2024
197 points (95.4% liked)

Linux

48222 readers
926 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'll start with mine. yes part of this was to brag about my somewhat but not too unusual setup. But I also wanna learn from your setups!

Anyways: I primarily use Gentoo Linux.

I have two headless servers: a Raspberry Pi 4B and a Oracle cloud VM (free tier). Both running OpenRC, and both were running mainline kernel with custom config (I recently switched the Pi to PiFoundation kernel due to some issues). The raspberry pi boots from SSD and has no sd card inserted.

Both servers were running musl libc instead of glibc for a while. This gave me a couple of random issues, but eventually I got tired and switched back to glibc.

I have a desktop running gentoo and a laptop running arch, but hoping to switch the laptop to gentoo soon.

Both are daily driving wayland (the desktop had nvidia card and used for gaming). The desktop is running a kernel with a minimal config that compiles in 2-3 minutes.

What's your unusual setup like?

you are viewing a single comment's thread
view the rest of the comments
[–] ExtremeDullard@lemmy.sdf.org 75 points 7 months ago* (last edited 7 months ago) (7 children)

My work machine isn't too unusual, apart that it has 52 USB devices connected. And here's something you may not know: Linux can't enumerate more than 16 USB ports if the root is configured as USB3, so I had to force all the ports to run in USB2 mode - which is fine in this case, since most of them are serial ports.

[–] riskable@programming.dev 19 points 7 months ago (1 children)

This is caused by your root controller's limited bandwidth and it's inability to handle that many 3.0 devices at the same time. Some of the newer motherboards with USB C PD have controllers in them that can do a lot more.

It's basically a hack on part of the company that made the root controller IC. They know they only have enough internal bandwidth to support 16 USB 3.0 devices so they intentionally bork things when you plug in more than that since their Transaction Translator (TT) can't handle more and they were too lazy to bother implementing the ability to share 2.0 and 3.0 properly.

I'm guessing the decision went something like this...

"We have enough bandwidth for 16 3.0 devices... What do we do if someone plugs in more than that?" "Only a few people will ever have that many! We don't have the budget to handle every tiny little use case! Just ship it."

So it's not Linux fault in this case. Or at least, if it is (a problem with the driver) it's because of some proprietary bullshit that the driver requires to function properly 🤷

[–] ExtremeDullard@lemmy.sdf.org 6 points 7 months ago (1 children)

Yeah I figured it might be something like that. But I wasn't sure it wasn't a kernel limit - or even a limit in the USB3 specification - because I actually only have one USB3-capable device connected (my cellphone). All the other devices are low-bandwidth USB2 FTDI USB serial converters. I thought it couldn't be a bandwidth issue when all but one device can only use a fraction of what's available.

[–] reallyzen@lemmy.ml 3 points 7 months ago (1 children)

Uh, you're outputing 52 DMX universes straight from USB? I have questions!

  • What software are you using, and is qlcplus really able to do that?
  • Have you ever heard the words ArtNet? SACN?
[–] ExtremeDullard@lemmy.sdf.org 4 points 7 months ago* (last edited 7 months ago) (1 children)

I had no idea what you're talking about so I had to look it up 🙂

I think you're making assumptions on what I need many serial ports for and it's nothing like what you think.

I work for a company that makes measuring instruments that talk serial (RS232, RS422 and UART), we have many variants of our products and I'm tired of plugging and unplugging devices to the same serial ports to test code. Also, I can't do that remotely when I work from home. So I have many serial ports and all the different devices I need to test my code on regularly are all plugged in and powered at the same time.

No lighting here 🙂

[–] reallyzen@lemmy.ml 1 points 7 months ago

Oh, here I thought you was running a fancy dancefloor or something! TIL the creator of that chip was a prick.

load more comments (5 replies)