Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: sound working, but dmesg errors...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sixtysixtysix
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2021
Posts: 86

PostPosted: Thu Jul 15, 2021 1:23 pm    Post subject: SOLVED: sound working, but dmesg errors... Reply with quote

This is more about better understanding my system and kernel config than an outright problem, since my sound is working.

But, like many, I don't like error messages and prefer to understand why, whether they can be fixed, and what they're telling me.

To try to provide relevant info up front, I have the following
Code:
$ dmesg

[    1.174038] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC892: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    1.174654] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.175231] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    1.175796] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    1.176363] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    1.176920] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[    1.177486] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[    1.178077] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
[    1.190013] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[    1.190584] snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.191170] snd_hda_codec_generic hdaudioC0D2:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.191764] snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
[    1.191860] Loaded X.509 cert 'Build time autogenerated kernel key: 6491df179d397bf388b5d66cdf1d04fbff1b15aa'
[    1.192337] snd_hda_codec_generic hdaudioC0D2:    dig-out=0x3/0x0
[    1.192338] snd_hda_codec_generic hdaudioC0D2:    inputs:
but followed by
Code:
S dmesg

[    6.894430] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x20170500
[    7.904435] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x20170500
[    8.907770] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x20170500
[    9.174662] snd_hda_codec_generic hdaudioC0D2: Unable to sync register 0x2f0d00. -5
[    9.174777] snd_hda_codec_generic hdaudioC0D2: Unable to sync register 0x2f0d00. -5
[    9.332920] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x2b8000. -5
[    9.333345] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x2b8000. -5


other info
Code:
~ $ sudo lspci -v | grep -A7 -i audio

00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
   DeviceName: Onboard - Sound
   Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH HD Audio
   Flags: bus master, fast devsel, latency 32, IRQ 16
   Memory at df220000 (64-bit, non-prefetchable) [size=16K]
   Memory at df200000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: [50] Power Management version 3
   Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
   Kernel driver in use: snd_hda_intel

Code:
~ $ lsmod | grep intel

intel_rapl_msr         20480  0
intel_rapl_common      28672  1 intel_rapl_msr
intel_powerclamp       20480  0
ghash_clmulni_intel    16384  0
intel_cstate           20480  0
intel_uncore          184320  0
intel_pmc_core         45056  0
crc32c_intel           24576  6
aesni_intel           380928  0
crypto_simd            16384  1 aesni_intel
cryptd                 28672  2 crypto_simd,ghash_clmulni_intel


If I can safely ignore all of this so be it, but I'm curious because:

I just built the latest kernel and built in the HD audio support including Realtek, leaving in all other options as modular.

I don't really understand why (IIRC) early on in the boot it finds and loads the Realtek codec, but later on the snd_hda_intel module fails to load (again, IIRC)?

My ' $ lsmod | grep Intel' shows no reference to the sound module, whereas '$ lsmod' (omitted for brevity) shows "snd_hda_intel 0"

Any advice or help much appreciated :)
Back to top
View user's profile Send private message
sixtysixtysix
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2021
Posts: 86

PostPosted: Fri Jul 16, 2021 9:25 am    Post subject: Reply with quote

I rebuilt but using ALL modular, nothing built in. Loaded fine :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum