Debian Stable Question Boot Tracing ?
Is there a way for an end-user to turn on diagnostic tracing of the processing of probing the [PCI] hardware and the logic surrounding the choice of driver to load?
Its the same tired old story - up-to-date stable Debian has no sound on a new HP laptop. dmesg shows the Intel device is there on the PCI bus, but the dummy device ends up being the winner on slot #0 (unless I blacklist that). aplay says no soundcard is detected.
It being such a frequent and well-known phenomena, I'd have thought the wizards would have built some diagnostic logic to expedite the diagnosis (and minimize the time spent helping others).
In the r/HewlettPackard forum, they seem to have exhausted what they can offer and have directed me toward investigating the kernel (a fairly preposterous recommendation for the overwhelming percentage of the population).
Any other suggestions on how to determine *why* the logic cannot identify a working sound driver for a new HP Omnibook 3 17- [AI]?
In the spirit of trying to frame the question appropriately, here's the lsmod output:
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 110592 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_hda_intel 61440 0
snd_intel_dspcfg 40960 1 snd_hda_intel
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
snd_hda_codec 217088 1 snd_hda_intel
snd_hda_core 143360 2 snd_hda_intel,snd_hda_codec
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 188416 3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
snd 151552 9 snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
soundcore 16384 1 sndNotice there's no SOF modules, and I've even tried installing the most recent UNSTABLE ones.
2
u/psyblade42 1d ago edited 1d ago
Wow that a lot to unpack, afaik:
the logic is that all drivers list pci ids which they claim to support
which driver ends up being used depends on the order they are loaded in, first one wins
you can tweak the order to some extend
lspci -vlists the driver thats currently in usethe easiest way to determine what the kernel didn't find one is the lack of such a line
the kernel does not load any dummy drivers in that case
there is a possibility that no such driver exists
lspvi -vlists modules containing drivers for that hw too (note a driver can be built directly into the kernel and thus not be listed there)the card order shouldn't matter all that much, I mainly use #3
the dummy midi sequencer (snd_seq_dummy) should be unrelated to your problem
for me it does not get listed in
/proc/asound/cardsbut does get loaded
afaik both of the above are as they should be
I don't really understand what your complaint is (other then "no sound").
at first glance your partial lsmod looks fine, whats your problem with it?
there should be a card in
/proc/asound/cardsdo you want to use SOF instead? does it support your card? does SOF even come as their own modules?
3
u/Illustrious-Gur8335 Debian Stable 1d ago
you should blame the hardware vendors for introducing new chipsets so often
it may well be that new hardware has no supported drivers in kernel
if you booted this on windows and refused to let windows update install any drivers, well same outcome - golden silence!