Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PulseAudio not showing analogue devices
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
djmayouk
n00b
n00b


Joined: 27 Dec 2020
Posts: 2
Location: UK

PostPosted: Sun Dec 27, 2020 12:01 pm    Post subject: PulseAudio not showing analogue devices Reply with quote

Hi,

I am trying to get the speakers on my Lenovo T570 laptop to work but PulseAudio is not displaying any of the analogue devices; only the unconnected digital ones.

This is the device on the system:

Code:

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel


This is the kernel I am running:
Code:

dave@lexcrypt ~ $ uname -a
Linux lexcrypt 5.4.72-gentoo #4 SMP Wed Dec 23 14:53:48 GMT 2020 x86_64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz GenuineIntel GNU/Linux

These are the sound-related kernel options I have set:
Code:

dave@lexcrypt ~ $ zgrep SND /proc/config.gz | grep -v -i ^#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_PCI=y
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=2048
CONFIG_SND_INTEL_NHLT=m
CONFIG_SND_USB=y
CONFIG_SND_X86=y


These are the kernel modules that have been loaded:

Code:

dave@lexcrypt ~ $ lsmod | grep snd
snd_hda_codec_hdmi     57344  1
snd_hda_codec_realtek   106496  1
snd_hda_codec_generic    77824  1 snd_hda_codec_realtek
snd_hda_intel          40960  8
snd_intel_nhlt         16384  1 snd_hda_intel
snd_hda_codec         114688  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_hda_core           77824  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm                98304  7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,thinkpad_acpi
snd                    73728  21 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,thinkpad_acpi,snd_pcm


I have installed PulseAudio and ALSA with standard USE flags:
Code:

dave@lexcrypt ~ $ eix -I alsa
[?] media-libs/alsa-lib
     Available versions:  1.2.1.2 ~1.2.2 {alisp debug doc python +thread-safety ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="uclibc" PYTHON_SINGLE_TARGET="python2_7 python3_6 python3_7 python3_8"}
     Installed versions:  1.2.3.2-r1(20:05:31 15/11/20)(thread-safety -alisp -debug -doc -python ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" ELIBC="-uclibc" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8")
     Homepage:            https://alsa-project.org/
     Description:         Advanced Linux Sound Architecture Library

[?] media-libs/alsa-topology-conf
     Available versions:  1.2.1 ~1.2.2
     Installed versions:  1.2.3(19:28:53 15/11/20)
     Homepage:            https://www.alsa-project.org
     Description:         ALSA topology configuration files

[?] media-libs/alsa-ucm-conf
     Available versions:  1.2.1.2 ~1.2.2
     Installed versions:  1.2.3(19:28:59 15/11/20)
     Homepage:            https://www.alsa-project.org
     Description:         ALSA ucm configuration files

[?] media-plugins/alsa-plugins
     Available versions:  1.2.1 ~1.2.2 {arcam_av debug ffmpeg jack libsamplerate +mix oss pulseaudio speex +usb_stream ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.2.2(10:48:18 30/05/20)(mix pulseaudio usb_stream -arcam_av -debug -ffmpeg -jack -libsamplerate -oss -speex ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            http://www.alsa-project.org/
     Description:         ALSA extra plugins

[?] media-sound/alsa-utils
     Available versions:  (0.9) 1.2.1 ~1.2.2
       {bat doc +libsamplerate +ncurses nls selinux}
     Installed versions:  1.2.3(0.9)(20:25:31 15/11/20)(libsamplerate ncurses nls -bat -doc -selinux)
     Homepage:            https://alsa-project.org/
     Description:         Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)

[I] sys-firmware/alsa-firmware
     Available versions:  1.0.29 1.2.1 {ALSA_CARDS="aica asihpi ca0132 cs46xx darla20 darla24 echo3g emu10k1 emu1212 emu1616 emu1820 gina20 gina24 hdsp hdspm indigo indigoio korg1212 layla20 layla24 maestro3 mia mixart mona msnd-pinnacle pcxhr sb16 usb-usx2y vx222 wavefront ymfpci"}
     Installed versions:  1.2.1(14:33:11 22/03/20)(ALSA_CARDS="maestro3 ymfpci -aica -asihpi -ca0132 -cs46xx -darla20 -darla24 -echo3g -emu10k1 -emu1212 -emu1616 -emu1820 -gina20 -gina24 -hdsp -hdspm -indigo -indigoio -korg1212 -layla20 -layla24 -mia -mixart -mona -msnd-pinnacle -pcxhr -sb16 -usb-usx2y -vx222 -wavefront")
     Homepage:            https://alsa-project.org/
     Description:         Advanced Linux Sound Architecture firmware

Found 6 matches
dave@lexcrypt ~ $ eix -I pulse
[I] media-sound/pulseaudio
     Available versions:  13.0^t {+X +alsa +alsa-plugin +asyncns bluetooth +caps dbus doc elogind equalizer gconf +gdbm +glib gtk ipv6 jack libressl libsamplerate lirc native-headset ofono-headset +orc oss qt5 realtime selinux sox ssl system-wide systemd tcpd test +udev +webrtc-aec zeroconf ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon" KERNEL="linux"}
     Installed versions:  13.0^t(09:05:29 25/07/20)(X alsa alsa-plugin asyncns bluetooth caps dbus elogind gdbm glib gtk ipv6 orc qt5 ssl tcpd udev webrtc-aec -doc -equalizer -gconf -jack -libressl -libsamplerate -lirc -native-headset -ofono-headset -oss -realtime -selinux -sox -system-wide -systemd -test -zeroconf ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_ARM="-neon" KERNEL="linux")
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         A networked sound server with an advanced plugin system

[?] xfce-extra/xfce4-pulseaudio-plugin
     Available versions:  0.4.2 ~0.4.3 {debug keybinder libnotify wnck}
     Installed versions:  0.4.3(08:25:37 04/07/20)(libnotify -debug -keybinder -wnck)
     Homepage:            https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/
     Description:         A panel plug-in for PulseAudio volume control

Found 2 matches


Here is my running PulseAudio config:
Code:

dave@lexcrypt ~ $ pactl list
Module #0
   Name: module-device-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the volume/mute state of devices"
      module.version = "13.0"

Module #1
   Name: module-stream-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the volume/mute/device state of streams"
      module.version = "13.0"

Module #2
   Name: module-card-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore profile of cards"
      module.version = "13.0"

Module #3
   Name: module-augment-properties
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Augment the property sets of streams with additional static information"
      module.version = "13.0"

Module #4
   Name: module-switch-on-port-available
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "David Henningsson"
      module.description = "Switches ports and profiles when devices are plugged/unplugged"
      module.version = "13.0"

Module #5
   Name: module-udev-detect
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Detect available audio hardware and load matching drivers"
      module.version = "13.0"

Module #6
   Name: module-alsa-card
   Argument: device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
   Usage counter: 2
   Properties:
      module.author = "Lennart Poettering"
      module.description = "ALSA Card"
      module.version = "13.0"

Module #7
   Name: module-bluetooth-policy
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Frédéric Dalleau, Pali Rohár"
      module.description = "Policy module to make using bluetooth devices out-of-the-box easier"
      module.version = "13.0"

Module #8
   Name: module-bluetooth-discover
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "João Paulo Rechi Vita"
      module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
      module.version = "13.0"

Module #9
   Name: module-bluez5-discover
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "João Paulo Rechi Vita"
      module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
      module.version = "13.0"

Module #10
   Name: module-native-protocol-unix
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Native protocol (UNIX sockets)"
      module.version = "13.0"

Module #11
   Name: module-gsettings
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Sylvain Baubeau"
      module.description = "GSettings Adapter"
      module.version = "13.0"

Module #12
   Name: module-default-device-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the default sink and source"
      module.version = "13.0"

Module #13
   Name: module-rescue-streams
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
      module.version = "13.0"

Module #14
   Name: module-always-sink
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Always keeps at least one sink loaded even if it's a null one"
      module.version = "13.0"

Module #16
   Name: module-intended-roles
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically set device of streams based on intended roles of devices"
      module.version = "13.0"

Module #17
   Name: module-suspend-on-idle
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "When a sink/source is idle for too long, suspend it"
      module.version = "13.0"

Module #18
   Name: module-console-kit
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Create a client for each ConsoleKit session of this user"
      module.version = "13.0"

Module #19
   Name: module-systemd-login
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Create a client for each login session of this user"
      module.version = "13.0"

Module #20
   Name: module-position-event-sounds
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
      module.version = "13.0"

Module #21
   Name: module-role-cork
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Mute & cork streams with certain roles while others exist"
      module.version = "13.0"

Module #22
   Name: module-filter-heuristics
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Detect when various filters are desirable"
      module.version = "13.0"

Module #23
   Name: module-filter-apply
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Load filter sinks automatically when needed"
      module.version = "13.0"

Module #24
   Name: module-x11-publish
   Argument: display=:0.0
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "X11 credential publisher"
      module.version = "13.0"

Module #25
   Name: module-x11-cork-request
   Argument: display=:0.0
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Synthesize X11 media key events when cork/uncork is requested"
      module.version = "13.0"

Module #26
   Name: module-x11-xsmp
   Argument: display=:0.0 session_manager=local/lexcrypt:@/tmp/.ICE-unix/29775,unix/lexcrypt:/tmp/.ICE-unix/29775
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "X11 session management"
      module.version = "13.0"

Module #28
   Name: module-alsa-sink
   Argument: device_id=0
   Usage counter: 1
   Properties:
      module.author = "Lennart Poettering"
      module.description = "ALSA Sink"
      module.version = "13.0"

Module #31
   Name: module-alsa-sink
   Argument: device_id=0
   Usage counter: 1
   Properties:
      module.author = "Lennart Poettering"
      module.description = "ALSA Sink"
      module.version = "13.0"

Module #39
   Name: module-cli-protocol-unix
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Command line interface protocol (UNIX sockets)"
      module.version = "13.0"

Sink #1
   State: IDLE
   Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra4
   Description: Built-in Audio Digital Stereo (HDMI 5)
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 6
   Mute: no
   Volume: front-left: 62312 /  95% / -1.31 dB,   front-right: 62312 /  95% / -1.31 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor Source: alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra4.monitor
   Latency: 34428 usec, configured 40000 usec
   Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
   Properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "HDMI 4"
      alsa.id = "HDMI 4"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "10"
      alsa.card = "0"
      alsa.card_name = "HDA Intel PCH"
      alsa.long_card_name = "HDA Intel PCH at 0xec240000 irq 132"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:1f.3"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "9d70"
      device.product.name = "Sunrise Point-LP HD Audio"
      device.form_factor = "internal"
      device.string = "hdmi:0,4"
      device.buffering.buffer_size = "352800"
      device.buffering.fragment_size = "176400"
      device.access_mode = "mmap+timer"
      device.profile.name = "hdmi-stereo-extra4"
      device.profile.description = "Digital Stereo (HDMI 5)"
      device.description = "Built-in Audio Digital Stereo (HDMI 5)"
      alsa.mixer_name = "Realtek ALC298"
      alsa.components = "HDA:10ec0298,17aa2247,00100103 HDA:80862809,80860101,00100000"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Ports:
      hdmi-output-4: HDMI / DisplayPort 5 (priority: 5500, not available)
   Active Port: hdmi-output-4
   Formats:
      pcm

Sink #2
   State: IDLE
   Name: alsa_output.0.hdmi-stereo
   Description: Built-in Audio Digital Stereo (HDMI)
   Driver: module-alsa-sink.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 28
   Mute: no
   Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor Source: alsa_output.0.hdmi-stereo.monitor
   Latency: 33959 usec, configured 40000 usec
   Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
   Properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "HDMI 1"
      alsa.id = "HDMI 1"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "7"
      alsa.card = "0"
      alsa.card_name = "HDA Intel PCH"
      alsa.long_card_name = "HDA Intel PCH at 0xec240000 irq 132"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:1f.3"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "9d70"
      device.product.name = "Sunrise Point-LP HD Audio"
      device.form_factor = "internal"
      device.string = "hdmi:0"
      device.buffering.buffer_size = "352800"
      device.buffering.fragment_size = "176400"
      device.access_mode = "mmap+timer"
      device.profile.name = "hdmi-stereo"
      device.profile.description = "Digital Stereo (HDMI)"
      device.description = "Built-in Audio Digital Stereo (HDMI)"
      alsa.mixer_name = "Realtek ALC298"
      alsa.components = "HDA:10ec0298,17aa2247,00100103 HDA:80862809,80860101,00100000"
      device.icon_name = "audio-card-hdmi-pci"
   Formats:
      pcm

Sink #3
   State: IDLE
   Name: alsa_output.0.hdmi-stereo-extra2
   Description: Built-in Audio Digital Stereo (HDMI 3)
   Driver: module-alsa-sink.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 31
   Mute: no
   Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor Source: alsa_output.0.hdmi-stereo-extra2.monitor
   Latency: 37345 usec, configured 40000 usec
   Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
   Properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "HDMI 2"
      alsa.id = "HDMI 2"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "8"
      alsa.card = "0"
      alsa.card_name = "HDA Intel PCH"
      alsa.long_card_name = "HDA Intel PCH at 0xec240000 irq 132"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:1f.3"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "9d70"
      device.product.name = "Sunrise Point-LP HD Audio"
      device.form_factor = "internal"
      device.string = "hdmi:0,2"
      device.buffering.buffer_size = "352800"
      device.buffering.fragment_size = "176400"
      device.access_mode = "mmap+timer"
      device.profile.name = "hdmi-stereo-extra2"
      device.profile.description = "Digital Stereo (HDMI 3)"
      device.description = "Built-in Audio Digital Stereo (HDMI 3)"
      alsa.mixer_name = "Realtek ALC298"
      alsa.components = "HDA:10ec0298,17aa2247,00100103 HDA:80862809,80860101,00100000"
      device.icon_name = "audio-card-hdmi-pci"
   Formats:
      pcm

Source #1
   State: RUNNING
   Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra4.monitor
   Description: Monitor of Built-in Audio Digital Stereo (HDMI 5)
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 6
   Mute: no
   Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor of Sink: alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra4
   Latency: 0 usec, configured 40000 usec
   Flags: DECIBEL_VOLUME LATENCY
   Properties:
      device.description = "Monitor of Built-in Audio Digital Stereo (HDMI 5)"
      device.class = "monitor"
      alsa.card = "0"
      alsa.card_name = "HDA Intel PCH"
      alsa.long_card_name = "HDA Intel PCH at 0xec240000 irq 132"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:1f.3"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "9d70"
      device.product.name = "Sunrise Point-LP HD Audio"
      device.form_factor = "internal"
      device.string = "0"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Formats:
      pcm

Source #2
   State: RUNNING
   Name: alsa_output.0.hdmi-stereo.monitor
   Description: Monitor of Built-in Audio Digital Stereo (HDMI)
   Driver: module-alsa-sink.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 28
   Mute: no
   Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor of Sink: alsa_output.0.hdmi-stereo
   Latency: 0 usec, configured 40000 usec
   Flags: DECIBEL_VOLUME LATENCY
   Properties:
      device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)"
      device.class = "monitor"
      device.icon_name = "audio-input-microphone"
   Formats:
      pcm

Source #3
   State: RUNNING
   Name: alsa_output.0.hdmi-stereo-extra2.monitor
   Description: Monitor of Built-in Audio Digital Stereo (HDMI 3)
   Driver: module-alsa-sink.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 31
   Mute: no
   Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor of Sink: alsa_output.0.hdmi-stereo-extra2
   Latency: 0 usec, configured 40000 usec
   Flags: DECIBEL_VOLUME LATENCY
   Properties:
      device.description = "Monitor of Built-in Audio Digital Stereo (HDMI 3)"
      device.class = "monitor"
      device.icon_name = "audio-input-microphone"
   Formats:
      pcm

Source Output #172
   Driver: protocol-native.c
   Owner Module: 10
   Client: 24
   Source: 1
   Sample Specification: float32le 1ch 25Hz
   Channel Map: mono
   Format: pcm, format.sample_format = "\"float32le\""  format.rate = "25"  format.channels = "1"  format.channel_map = "\"mono\""
   Corked: no
   Mute: no
   Volume: mono: 65536 / 100% / 0.00 dB
           balance 0.00
   Buffer Latency: 20748 usec
   Source Latency: 0 usec
   Resample method: peaks
   Properties:
      media.name = "Peak detect"
      application.name = "PulseAudio Volume Control"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.id = "org.PulseAudio.pavucontrol"
      application.icon_name = "audio-card"
      application.version = "4.0"
      application.process.id = "14539"
      application.process.user = "dave"
      application.process.host = "lexcrypt"
      application.process.binary = "pavucontrol"
      application.language = "en_GB.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "5b8e82c5ff9a8d87f6bd8bb459c6c270"
      application.process.session_id = "2"
      module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

Source Output #173
   Driver: protocol-native.c
   Owner Module: 10
   Client: 24
   Source: 2
   Sample Specification: float32le 1ch 25Hz
   Channel Map: mono
   Format: pcm, format.sample_format = "\"float32le\""  format.rate = "25"  format.channels = "1"  format.channel_map = "\"mono\""
   Corked: no
   Mute: no
   Volume: mono: 65536 / 100% / 0.00 dB
           balance 0.00
   Buffer Latency: 19433 usec
   Source Latency: 0 usec
   Resample method: peaks
   Properties:
      media.name = "Peak detect"
      application.name = "PulseAudio Volume Control"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.id = "org.PulseAudio.pavucontrol"
      application.icon_name = "audio-card"
      application.version = "4.0"
      application.process.id = "14539"
      application.process.user = "dave"
      application.process.host = "lexcrypt"
      application.process.binary = "pavucontrol"
      application.language = "en_GB.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "5b8e82c5ff9a8d87f6bd8bb459c6c270"
      application.process.session_id = "2"
      module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

Source Output #174
   Driver: protocol-native.c
   Owner Module: 10
   Client: 24
   Source: 3
   Sample Specification: float32le 1ch 25Hz
   Channel Map: mono
   Format: pcm, format.sample_format = "\"float32le\""  format.rate = "25"  format.channels = "1"  format.channel_map = "\"mono\""
   Corked: no
   Mute: no
   Volume: mono: 65536 / 100% / 0.00 dB
           balance 0.00
   Buffer Latency: 20634 usec
   Source Latency: 0 usec
   Resample method: peaks
   Properties:
      media.name = "Peak detect"
      application.name = "PulseAudio Volume Control"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.id = "org.PulseAudio.pavucontrol"
      application.icon_name = "audio-card"
      application.version = "4.0"
      application.process.id = "14539"
      application.process.user = "dave"
      application.process.host = "lexcrypt"
      application.process.binary = "pavucontrol"
      application.language = "en_GB.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "5b8e82c5ff9a8d87f6bd8bb459c6c270"
      application.process.session_id = "2"
      module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

Client #0
   Driver: module-systemd-login.c
   Owner Module: 19
   Properties:
      application.name = "Login Session 2"
      systemd-login.session = "2"

Client #4
   Driver: module-x11-xsmp.c
   Owner Module: 26
   Properties:
      application.name = "XSMP Session on xfce4-session as 27d698c49-aaff-447f-a00b-295aa2d60499"
      xsmp.vendor = "xfce4-session"
      xsmp.client.id = "27d698c49-aaff-447f-a00b-295aa2d60499"

Client #24
   Driver: protocol-native.c
   Owner Module: 10
   Properties:
      application.name = "PulseAudio Volume Control"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.id = "org.PulseAudio.pavucontrol"
      application.icon_name = "audio-card"
      application.version = "4.0"
      application.process.id = "14539"
      application.process.user = "dave"
      application.process.host = "lexcrypt"
      application.process.binary = "pavucontrol"
      application.language = "en_GB.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "5b8e82c5ff9a8d87f6bd8bb459c6c270"
      application.process.session_id = "2"

Client #25
   Driver: protocol-native.c
   Owner Module: 10
   Properties:
      application.name = "Firefox"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.process.id = "11437"
      application.process.user = "dave"
      application.process.host = "lexcrypt"
      application.process.binary = "firefox-bin"
      application.language = "en_GB.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "5b8e82c5ff9a8d87f6bd8bb459c6c270"
      application.process.session_id = "2"
      application.icon_name = "firefox-bin"

Client #32
   Driver: protocol-native.c
   Owner Module: 10
   Properties:
      application.name = "pactl"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.process.id = "5315"
      application.process.user = "dave"
      application.process.host = "lexcrypt"
      application.process.binary = "pactl"
      application.language = "en_GB.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "5b8e82c5ff9a8d87f6bd8bb459c6c270"
      application.process.session_id = "2"

Card #0
   Name: alsa_card.pci-0000_00_1f.3
   Driver: module-alsa-card.c
   Owner Module: 6
   Properties:
      alsa.card = "0"
      alsa.card_name = "HDA Intel PCH"
      alsa.long_card_name = "HDA Intel PCH at 0xec240000 irq 132"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:1f.3"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "9d70"
      device.product.name = "Sunrise Point-LP HD Audio"
      device.form_factor = "internal"
      device.string = "0"
      device.description = "Built-in Audio"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Profiles:
      output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
      output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
      output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
      output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
      output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
      output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
      output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
      output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
      output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
      output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
      output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
      output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
      output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
      output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
      output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
      off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
   Active Profile: output:hdmi-stereo-extra4
   Ports:
      hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 10000 usec, not available)
         Properties:
            device.icon_name = "video-display"
         Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
      hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "video-display"
         Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
      hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "video-display"
         Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
      hdmi-output-3: HDMI / DisplayPort 4 (priority: 5600, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "video-display"
         Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
      hdmi-output-4: HDMI / DisplayPort 5 (priority: 5500, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "video-display"
         Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4


ALSA lists one card:
Code:

dave@lexcrypt ~ $ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xec240000 irq 132

Here's the list of devices ALSA can see:
Code:

dave@lexcrypt ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

The proc output for devices does not list analogue but I assume this is the "hardware-dependent" devices:
Code:

dave@lexcrypt ~ $ cat /proc/asound/devices
  2: [ 0- 0]: digital audio playback
  3: [ 0- 0]: digital audio capture
  4: [ 0- 3]: digital audio playback
  5: [ 0- 7]: digital audio playback
  6: [ 0- 8]: digital audio playback
  7: [ 0- 9]: digital audio playback
  8: [ 0-10]: digital audio playback
  9: [ 0- 0]: hardware dependent
 10: [ 0- 2]: hardware dependent
 11: [ 0]   : control
 33:        : timer

These are the device names listed in ALSA:
Code:

dave@lexcrypt ~ $ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
sysdefault:CARD=PCH
    HDA Intel PCH, ALC298 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output

When I run the speaker-test I get no output. When I try specifying the "front" device I get an error:
Code:

dave@lexcrypt ~ $ speaker-test -t wav -c 2 -D front

speaker-test 1.2.3

Playback device is front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/confmisc.c:767:(parse_card) cannot find card '1'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/pcm/pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM front
Playback open error: -2,No such file or directory


I have compared my setup with a friend running the same hardware and they can see and use the analogue device to play sound through their laptop.

I've gone through the Gentoo articles on Pulse Audio and ALSA but nothing there has shed any light on the poblem. I've looked around several other forums and none of the suggestins have helped.

I did have sound working on this laptop a few months ago but that was several kernels' and a monitor ago.

I have removed all external devices from the laptop so I've ruled out a rogue docking station or dodgy external speakers. I've checked the BIOS and can't see anything in there that might be preventing the speakers from playing.

Can anyone please help me understand why I can't see the analogue profiles in PulseAudio?

Thanks,
Dave.
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2066
Location: San Jose, CA

PostPosted: Sat Jan 09, 2021 6:02 pm    Post subject: Reply with quote

pavucontrol (or pavucontrol-qt) has more ability to control pulseaudio than does the built in KDE app. (assuming you are running KDE Plasma, I'm not sure about any other Windows Managers).

I have been able to use KDE's 'audio volume' widget to control pulse pretty successfully. I have to every time I boot my work laptop because pulse consistently favors HDMI1 audio over HDMI2 audio, and I have my speakers connected to HDMI2's monitor.

There is an 'advanced' setting in plasma's audio volume widget which will let you choose which output paths are active.

But, as I say above, pavucontrol is the best way to configure pulseaudio the way you want.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
djmayouk
n00b
n00b


Joined: 27 Dec 2020
Posts: 2
Location: UK

PostPosted: Sun Jan 10, 2021 11:32 am    Post subject: Reply with quote

Hi thanks for your reply!
I have been using PulseAudio Volume Control to see what profiles are available to me. I agree with you that it's the best way to see everything that PulseAudio exposes.

I have just tried a complete system rebuild (emerge -vae) to see if there were any oddities in any libraries - perhaps because of the recent changes to /usr/lib - but this has had no effect.

I am completely out of ideas! Can anyone suggest anything I can try to fix this or at least help point me in the right direction?

Thanks!
Back to top
View user's profile Send private message
PlatinumTrinity
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2020
Posts: 100

PostPosted: Mon Jan 11, 2021 2:38 am    Post subject: Reply with quote

Hello, have you tried using any alternatives like JACK, PipeWire, or just plain old ALSA? The reason I ask is Pulseaudio is a bit of a black hole. It works most of the time but when it isn't working right away it turns into a mess. Try to get your output working in ALSA. I bet it'll work or whatever you find that fixes it will also fix Pulseaudio.
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 251

PostPosted: Fri Jan 15, 2021 2:11 pm    Post subject: Reply with quote

djmayouk wrote:
Hi thanks for your reply!
I have been using PulseAudio Volume Control to see what profiles are available to me. I agree with you that it's the best way to see everything that PulseAudio exposes.

I have just tried a complete system rebuild (emerge -vae) to see if there were any oddities in any libraries - perhaps because of the recent changes to /usr/lib - but this has had no effect.

I am completely out of ideas! Can anyone suggest anything I can try to fix this or at least help point me in the right direction?

Thanks!


I wonder if all things would work if you install latest alsa-lib, alsa-ucm-conf and alsa-plugins which appear to be still ~keyworded for some reason.

To check with alsa directly use this "pasuspender -- speaker-test -t wav" so pulseaudio would suspend itself allowing test program to access device directly.

IIRC there might be also an issue with sof-firmware but cannot tell for sure.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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