Bug#1041055: pulseaudio: No sound from microphone on HP Elitebook 840 G9
Luís Picciochi Oliveira
Pitxyoki at Gmail.com
Fri Jul 14 15:33:11 BST 2023
Package: pulseaudio
Version: 16.1+dfsg1-2+b1
Severity: normal
X-Debbugs-Cc: luis.oliveira at feedzai.com
Dear Maintainer,
It seems like Pulseaudio is unable to capture audio input from the microphone
in this laptop, an HP Elitebook 840 G9 without extra, somewhat hard to find,
configurations.
I was seeing the following:
* in Cinnamon's Sound Settings UI (`cinnamon-settings sound`): one input
device with its input level always at 0%.
* in `pavucontrol`: two input devices (+ a "Monitor of..." one).
** One is called "Alder Lake PCH-P High Definition Audio Controller Stereo",
and its input level is constantly oscillating at a low level.
It does not react to any sound going on here.
** The other has the same name, except it doesn't mention "Stereo".
Its input level is constantly empty.
I was able to get a working setup with the following:
1. I noticed that some programs (VLC and Audacity) are able to capture audio
from a device identified as "hw:0,7", which seems to be related to Alsa.
Others programs do not detect that device (such as Kazam, Zoom, and
the system audio meters mentioned above).
2. After trying out many tips found online, I discovered one that suggested
adding the following line to the /etc/pulse/default.pa file:
load-module module-alsa-source device=hw:0,7
3. After a reboot, I can now select a working microphone.
Could it be possible to get a working microphone configuration in Debian for
Pulseaudio-bound programs without this manual discovery and configuration?
Extra:
* The audio card is identified by the following in lspci:
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High
Definition Audio Controller (rev 01)
Subsystem: Hewlett-Packard Company Alder Lake PCH-P High Definition
Audio Controller
Flags: bus master, fast devsel, latency 64, IRQ 204, IOMMU group 14
Memory at 603d1c8000 (64-bit, non-prefetchable) [size=16K]
Memory at 603d000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
* I have the firmware-sof-signed package installed (without it
I don't get any sound output):
$ apt-cache policy firmware-sof-signed
firmware-sof-signed:
Installed: 2.2.4-1
Candidate: 2.2.4-1
Version table:
*** 2.2.4-1 500
500 https://deb.debian.org/debian bookworm/non-free-firmware amd64
Packages
100 /var/lib/dpkg/status
Feel free to ask for any additional information you may find relevant.
Thank you,
Luís Picciochi Oliveira
-- Package-specific info:
File '/etc/default/pulseaudio' does not exist
-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-10-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pulseaudio depends on:
ii adduser 3.134
ii init-system-helpers 1.65.2
ii libasound2 1.2.8-1+b1
ii libasound2-plugins 1.2.7.1-1
ii libc6 2.36-9
ii libcap2 1:2.66-4
ii libdbus-1-3 1.14.6-1
ii libfftw3-single3 3.3.10-1
ii libgcc-s1 12.2.0-14
ii libglib2.0-0 2.74.6-2
ii libgstreamer-plugins-base1.0-0 1.22.0-3+deb12u1
ii libgstreamer1.0-0 1.22.0-2
ii libice6 2:1.0.10-1
ii libltdl7 2.4.7-5
ii liborc-0.4-0 1:0.4.33-2
ii libpulse0 16.1+dfsg1-2+b1
ii libsm6 2:1.2.3-1
ii libsndfile1 1.2.0-1
ii libsoxr0 0.1.3-4
ii libspeexdsp1 1.2.1-1
ii libstdc++6 12.2.0-14
ii libsystemd0 252.6-1
ii libtdb1 1.4.8-2
ii libudev1 252.6-1
ii libwebrtc-audio-processing1 0.3-1+b1
ii libwrap0 7.6.q-32
ii libx11-6 2:1.8.4-2+deb12u1
ii libx11-xcb1 2:1.8.4-2+deb12u1
ii libxcb1 1.15-1
ii libxtst6 2:1.2.3-1.1
ii lsb-base 11.6
ii pulseaudio-utils 16.1+dfsg1-2+b1
ii sysvinit-utils [lsb-base] 3.06-4
Versions of packages pulseaudio recommends:
pn dbus-user-session <none>
ii libpam-systemd [logind] 252.6-1
pn rtkit <none>
Versions of packages pulseaudio suggests:
ii paprefs 1.2-1
ii pavucontrol 5.0-2
pn pavumeter <none>
ii udev 252.6-1
-- Configuration Files:
/etc/pulse/default.pa changed:
.fail
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-alsa-source device=hw:0,7
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
load-module module-detect
.endif
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
.ifexists module-gsettings.so
.nofail
load-module module-gsettings
.fail
.endif
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
.nofail
.include /etc/pulse/default.pa.d
-- no debconf information
More information about the pkg-pulseaudio-devel
mailing list