Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Any kernel driver repository/wiki out there?

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
coalms
n00b
n00b
Posts: 27
Joined: Tue Nov 28, 2023 3:06 am

Any kernel driver repository/wiki out there?

  • Quote

Post by coalms » Fri Dec 01, 2023 6:19 am

It's a conundrum whenever I compile a kernel if the drivers I picked will work with my hardware or not. Sound codecs specifically are a headache, I have had times where output to input loopback was a thing so in voice chats everyone could hear me gaming so I was forces to push to talk.

I am currently compiling a new kernel to see if the reason pipewire doesn't work is because of my codec selection even though alsa does.
Where or how do you usually search for the right kernel drivers for your architecture?
Top
Banana
Administrator
Administrator
User avatar
Posts: 2392
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Fri Dec 01, 2023 6:30 am

If it comes to alsa there is https://wiki.gentoo.org/wiki/ALSA and https://docs.kernel.org/sound/hd-audio/models.html. The Gentoo wikid describes a way how to find the right kernel module.

For other hardware the best way will be to find the device id with any of the hardware detection tools https://wiki.gentoo.org/wiki/Hardware_detection and then search for the id and linux kernel with your prefered search tool
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
psycho
Guru
Guru
User avatar
Posts: 553
Joined: Fri Jun 22, 2007 1:40 am
Location: New Zealand

Re: Any kernel driver repository/wiki out there?

  • Quote

Post by psycho » Fri Dec 01, 2023 9:05 am

coalms wrote:Where or how do you usually search for the right kernel drivers for your architecture?
In the unlikely event that you can't find the documentation from searching, you can just throw everything at it and see what it uses. With hardware drivers like ALSA audio drivers, the kernel won't load modules for hardware that isn't present... so you can just build every driver you think your chipset could possibly be (as modules), see which one your kernel actually loads, and then rebuild disabling all the others.

In fact you don't even need to disable the others: that's how generic (prebuilt) distro kernels work, providing a huge range of modules and allowing the kernel to pick what it needs based on the hardware it detects. But, if you want a lean, tidy little kernel with only the drivers you need, booting a generic one and then using lsmod to see what it loaded can work as a clumsy way to identify your drivers. There is also a make localmodconfig method for going straight from the running modules to a kernel .config (obviously you need to plug in webcams, USB drivers, printers and anything else you want built before attempting it), although I don't use that myself so can't vouch for it.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic