Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] ALC892 on new motherboard: no sound and no error
Date: Thu, 26 Mar 2020 03:44:38
Message-Id: 20200326034422.rdqsi6zwvbf5bvct@solfire
1 Hi,
2
3 On my new motherboard there is a on-board audio
4 chip: Realtek ALC892
5
6 After a lot of searching and configuring it seems
7 to work according to the log - but according to
8 my ears it does not: There is no sound.
9
10 Setup: Motherboard is a MSI Tomahawk Max and
11 an Nvidia RTX 2060 SUPER (it has a HDMI audio device).
12
13 Dmegs says:
14 [ 8.609718] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC892: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
15 [ 8.609719] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
16 [ 8.609720] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
17 [ 8.609720] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
18 [ 8.609721] snd_hda_codec_realtek hdaudioC1D0: inputs:
19 [ 8.609721] snd_hda_codec_realtek hdaudioC1D0: Front Mic=0x19
20 [ 8.609722] snd_hda_codec_realtek hdaudioC1D0: Rear Mic=0x18
21 [ 8.609722] snd_hda_codec_realtek hdaudioC1D0: Line=0x1a
22 [ 8.623096] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input7
23 [ 8.623247] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input8
24 [ 8.623411] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input9
25 [ 8.623513] input: HD-Audio Generic Line Out Front as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input10
26 [ 8.623587] input: HD-Audio Generic Line Out Surround as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input11
27 [ 8.623676] input: HD-Audio Generic Line Out CLFE as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input12
28 [ 8.623778] input: HD-Audio Generic Line Out Side as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input13
29 [ 8.623885] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:28:00.4/sound/card1/input14
30 [ 8.702599] snd_hda_codec_generic hdaudioC0D0: ignore pin 0x6, too many assigned pins
31 [ 8.706597] snd_hda_codec_generic hdaudioC0D0: ignore pin 0x7, too many assigned pins
32 [ 8.706599] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
33 [ 8.706599] snd_hda_codec_generic hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
34 [ 8.706600] snd_hda_codec_generic hdaudioC0D0: hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
35 [ 8.706601] snd_hda_codec_generic hdaudioC0D0: mono: mono_out=0x0
36 [ 8.706601] snd_hda_codec_generic hdaudioC0D0: dig-out=0x4/0x5
37 [ 8.706602] snd_hda_codec_generic hdaudioC0D0: inputs:
38 [ 8.722291] usbcore: registered new interface driver cdc_ether
39 [ 8.754670] input: HDA NVidia HDMI as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input15
40 [ 8.754697] input: HDA NVidia HDMI as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input16
41
42 According to that, soundcard 1 is what I want.
43 I am using simple stereo speakers, which are connected to the rear I/O
44 shield of my motherboard, which in turn has direct contact to the
45 motherboard, so no possible faulty cables are involved. The speakers
46 are ok since touching the contacts gives a buzzing 100Hz hum.
47
48 aplay -L gives:
49 surround21
50 2.1 Surround output to Front and Subwoofer speakers
51 surround40
52 4.0 Surround output to Front and Rear speakers
53 surround41
54 4.1 Surround output to Front, Rear and Subwoofer speakers
55 surround50
56 5.0 Surround output to Front, Center and Rear speakers
57 surround51
58 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
59 surround71
60 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
61 null
62 Discard all samples (playback) or generate zero samples (capture)
63 samplerate
64 Rate Converter Plugin Using Samplerate Library
65 speexrate
66 Rate Converter Plugin Using Speex Resampler
67 jack
68 JACK Audio Connection Kit
69 oss
70 Open Sound System
71 speex
72 Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
73 upmix
74 Plugin for channel upmix (4,6,8)
75 vdownmix
76 Plugin for channel downmix (stereo) with a simple spacialization
77 hdmi:CARD=NVidia,DEV=0
78 HDA NVidia, Generic Digital
79 HDMI Audio Output
80 usbstream:CARD=NVidia
81 HDA NVidia
82 USB Stream Output
83 default:CARD=Generic
84 HD-Audio Generic, ALC892 Analog
85 Default Audio Device
86 sysdefault:CARD=Generic
87 HD-Audio Generic, ALC892 Analog
88 Default Audio Device
89 front:CARD=Generic,DEV=0
90 HD-Audio Generic, ALC892 Analog
91 Front speakers
92 surround21:CARD=Generic,DEV=0
93 HD-Audio Generic, ALC892 Analog
94 2.1 Surround output to Front and Subwoofer speakers
95 surround40:CARD=Generic,DEV=0
96 HD-Audio Generic, ALC892 Analog
97 4.0 Surround output to Front and Rear speakers
98 surround41:CARD=Generic,DEV=0
99 HD-Audio Generic, ALC892 Analog
100 4.1 Surround output to Front, Rear and Subwoofer speakers
101 surround50:CARD=Generic,DEV=0
102 HD-Audio Generic, ALC892 Analog
103 5.0 Surround output to Front, Center and Rear speakers
104 surround51:CARD=Generic,DEV=0
105 HD-Audio Generic, ALC892 Analog
106 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
107 surround71:CARD=Generic,DEV=0
108 HD-Audio Generic, ALC892 Analog
109 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
110 usbstream:CARD=Generic
111 HD-Audio Generic
112 USB Stream Output
113
114 It looks like the default sound card is sound card 1 indeed, which is
115 the ALC892
116
117 But aplay -i gives:
118 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.2/work/alsa-lib-1.2.2/src/pcm/pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
119 aplay: main:830: audio open error: No such file or directory
120 [1] 18362 exit 1 aplay -i
121
122 When trying to play an audio file with mpv gives a similiar error like
123 that one aplay reports.
124
125 Alsamixer has no problems: It let my choose between the two sound
126 cards and when choosing sound card 1 (ALC892) I can manipulate
127 the volumes of the different channels.
128 No channel is muted.
129 All channels have a reasonable volume setting.
130
131 Where is this [CENSORDED] error/bug, which prevents audible sound
132 output?
133
134 Thanks for any helpful advice in advance!
135
136 Cheers!
137 Meino

Replies