this post was submitted on 20 Apr 2024
46 points (96.0% liked)

Linux

48652 readers
1008 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
 

For a given device, sometimes one linux distro perfectly supports a hardware component. Then if I switch distros, the same component no longer functions at all, or is very buggy.

How do I find out what the difference is?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 8 months ago

How to fix shit that doesn’t work:

Use lspci/lsusb and lsmod to show you what devices are attached to the computer and what kernel modules are loaded presently.

Use the modinfo command to show information about kernel modules.

Use ls /lib/modules/kernel_version/drivers to see what modules are available.

Use your distributions package manager to install more optional modules.

How to figure out if something will work:

Use lspci/lsusb, look for those components and their kernel modules, see if they’re available in the distribution you’re investigating.

To give an example: I use an hp stream 11 for some stuff. It’s a little laptop with a relatively obscure Broadcom wireless card. Rhel removes support for old and unpopular hardware pretty frequently and doesn’t support that network card. To get it working on that little pc I ended up building the module from source (available in the el9 third party repositories) and doing Broadcom-wl manually every time the kernel updates. If I didn’t want to keep my wits about me, I’d make a script to run when uhh yum? upgrades the kernel to run a reinstall of the driver.