On Friday, 4 July 2025 15:20:52 British Summer Time Michael wrote: > On Friday, 4 July 2025 14:44:35 British Summer Time John Blinka wrote: > > On Thu, Jul 3, 2025 at 12:57 PM Michael <confabul...@kintzios.com> wrote: > [snip ...] > > > > and in particular boot with Ubuntu, or whichever liveUSB allows your > > > audio > > > to work and run: > > > > > > lsmod > > > > There are 39 modules whose names begin with “snd_” or “sound”. The list is > > the same on the working ubuntu-25 and the non-working gentoo kernel 6.12 > > systems. > > OK, it seems your kernel is not missing any modules. > > [snip ...] > > > > Finally, you can compare Ubuntu's output of 'zcat /proc/config.gz' with > > > the > > > audio modules you have enabled in your kernel and add what's relevant to > > > your hardware. > > > > There are a *lot* of audio modules in use according to lsmod. But they’re > > the same in both working ubuntu and non-working gentoo. It’s difficult to > > compare the working ubuntu config (based on a 6.14 kernel) and the > > non-working gentoo config (based in a 6.12 kernel). But I’m thinking that > > the identical lsmod output implies that the gentoo config supports the > > necessary hardware. > > Yes, unless some drivers have been built in the kernel on one OS and not the > other. Please note what Javier posted just now. > > > I appreciate your ideas! > > You're welcome, but let's see if you can get your audio working first. :-) > > > I’ve noticed that using ubuntu’s /etc/modprobe.d/alsa-base.conf was > > crucial > > to successful sound in gentoo with a 6.6 kernel. Given that I appear to be > > using the same kernel modules as ubuntu, and the same firmware and > > topology > > files, perhaps my problem lies in how modprobe.d operates? Unfortunately, > > I > > do not understand what ubuntu is doing with alsa-base.conf. > > > > John Blinka > > A file '/etc/modprobe.d/something.conf' can be set up to enable/disable > options when loading different modules. You can check a available options > for a module by running: > > modinfo <module_name> > > Ubuntu may have scripted generic options in there, but you'll need to > examine them or try them to see what they do. > > Another thing to check is if your default audio card is switched over when > the hardware is initialised by udev. Typically you may find the MoBo audio > card takes over from the discrete audio card and vice versa. In this case > it could be HDMI works but nothing else does. You can declare which card > is set as the default, by e.g. changing the card index order: > > options snd_hda_intel index=1,0 > > Again compare Ubuntu and Gentoo 'aplay -L' output to spot any differences. > > HTH.
PS. I forgot to mention, you can play with alsamixer and F6 to switch between cards in real time - if this happens to be the problem.
signature.asc
Description: This is a digitally signed message part.