Gentoo Archives: gentoo-user

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