Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Laptop internal speakers no longer working after recent updates
Date: Tue, 31 Aug 2021 11:08:20
Message-Id: 2156760.OBFZWjSADL@zeus
In Reply to: Re: [gentoo-user] Laptop internal speakers no longer working after recent updates by Michael
1 Am Dienstag, 31. August 2021, 00:18:43 CEST schrieb Michael:
2
3 > If the alsa drivers are not compiled as modules, the above file would not
4 > have any effect. Anyway, let's try this in /etc/asound.conf:
5 >
6 > defaults.pcm.card 1
7 > defaults.pcm.device 0
8 > defaults.ctl.card 1
9 >
10 > On a reboot your Generic_1 analogue card should be available and recognised
11 > as the default audio device. You may need to unmute it, via pactl or kmix.
12
13 Sorry, didn't change anything.
14
15 I doubt that the problem is wrong default settings of alsa.
16
17 I run pulseaudio -vvv and the output was interesting:
18
19 Pci0000:00/0000:00:08.1/0000:07:00.1/sound/card0
20 and
21 pci0000:00/0000:00:08.1/0000:07:00.6/sound/card1
22
23 Where the latter one is the one that is not used by pulseaudio.
24
25 Both report "UCM available for card HD-Audio Generic"
26 Note: the card name "HD-Audio Generic" is identical, and this is reported by
27 alsa-libs, as far as I could see from the code.
28
29 Then it finds HDMI1-3 for both cards.
30
31 *** card0 ***
32 [...]
33 D: [pulseaudio] module-udev-detect.c: /devices/
34 pci0000:00/0000:00:08.1/0000:07:00.1/sound/card0 is busy: no
35 D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments
36 'device_id="0" name="pci-0000_07_00.1" card_name="alsa_card.pci-0000_07_00.1"
37 namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no
38 deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-
39 udev-detect.discovered=1"'
40 D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus:
41 org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
42 without a $DISPLAY for X11
43 I: [pulseaudio] alsa-ucm.c: UCM available for card HD-Audio Generic
44 I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
45 D: [pulseaudio] alsa-ucm.c: Got TQ for verb HiFi: HiFi
46 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI3: hw:Generic,8
47 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI3: 1300
48 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI3: HDMI/DP,pcm=8
49 Jack
50 W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or
51 'CaptureChannels'for device HDMI3, assuming stereo duplex.
52 D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI3
53 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI3
54 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI2: hw:Generic,7
55 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI2: 1200
56 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI2: HDMI/DP,pcm=7
57 Jack
58 W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or
59 'CaptureChannels'for device HDMI2, assuming stereo duplex.
60 D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI2
61 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI2
62 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI1: hw:Generic,3
63 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI1: 1100
64 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI1: HDMI/DP,pcm=3
65 Jack
66 W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or
67 'CaptureChannels'for device HDMI1, assuming stereo duplex.
68 D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI1
69 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI1
70 [...]
71
72 *** card1 *** (the one that is ignored by pulseaudio)
73 [...]
74 D: [pulseaudio] module-udev-detect.c: /devices/
75 pci0000:00/0000:00:08.1/0000:07:00.6/sound/card1 is busy: no
76 D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments
77 'device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6"
78 namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no
79 deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-
80 udev-detect.discovered=1"'
81 D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus:
82 org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
83 without a $DISPLAY for X11
84 I: [pulseaudio] alsa-ucm.c: UCM available for card HD-Audio Generic
85 I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
86 D: [pulseaudio] alsa-ucm.c: Got TQ for verb HiFi: HiFi
87 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI3: hw:Generic,8
88 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI3: 1300
89 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI3: HDMI/DP,pcm=8
90 Jack
91 W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or
92 'CaptureChannels'for device HDMI3, assuming stereo duplex.
93 D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI3
94 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI3
95 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI2: hw:Generic,7
96 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI2: 1200
97 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI2: HDMI/DP,pcm=7
98 Jack
99 W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or
100 'CaptureChannels'for device HDMI2, assuming stereo duplex.
101 D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI2
102 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI2
103 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI1: hw:Generic,3
104 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI1: 1100
105 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI1: HDMI/DP,pcm=3
106 Jack
107 W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or
108 'CaptureChannels'for device HDMI1, assuming stereo duplex.
109 D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI1
110 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI1
111 [...]
112
113 Alsa-info.sh reveals further info:
114 !!Soundcards recognised by ALSA
115 !!-----------------------------
116
117 0 [Generic ]: HDA-Intel - HD-Audio Generic
118 HD-Audio Generic at 0xfd3c8000 irq 91
119 1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
120 HD-Audio Generic at 0xfd3c0000 irq 92
121 2 [acp ]: acp - acp
122 acp
123
124 To me it looks like as if pulseaudio is quering card0, getting the name "HD-
125 Audio Generic", finding the HDMI channels; then it tries to read card1, gets
126 also "HD-Audio Generic" as name and hence the same channels as for card0.
127
128 I have no idea how to fix this.
129
130 Cheers
131 Alex

Replies

Subject Author
Re: [gentoo-user] Laptop internal speakers no longer working after recent updates Michael <confabulate@××××××××.com>