You are not logged in.

#1 2024-01-11 18:42:29

Delgan
Member
Registered: 2020-01-24
Posts: 9

[SOLVED] alsa-card-profiles fixes microphone but pipewire breaks it

Hi.

I'm aware of the following Wiki page but I'm trying to better understand what's happening: Microphone is not detected by PipeWire (I didn't implement the workarounds yet, so I'm using the default settings right now).

I already have "alsa-card-profiles" installed on my system. By default, my microphone is not listed by WirePlumber / PipeWire.

When I force re-installation of "alsa-card-profiles", the microphone appears as a source in "wpctl".

But as soon as I restart the "pipewire" service with "systemctl --user restart pipewire", the source is gone again.

I'm trying to understand what is causing this behavior. Which post-installation hook "repairs" my microphone, and why this is not persistent when "pipewire" is restarted. Do you have any hint, please?

-----

Before re-installing "alsa-card-profiles" (Audio "sources" empty):

~ $ wpctl status
PipeWire 'pipewire-0' [1.0.0, delgan@zenbook, cookie:2007579603]
 └─ Clients:
        31. WirePlumber                         [1.0.0, delgan@zenbook, pid:607078]
        32. WirePlumber [export]                [1.0.0, delgan@zenbook, pid:607078]
        59. yambar                              [1.0.0, delgan@zenbook, pid:609877]
        60. Firefox                             [1.0.0, delgan@zenbook, pid:342915]
        66. wpctl                               [1.0.0, delgan@zenbook, pid:610398]

Audio
 ├─ Devices:
 │      45. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │  *   54. Built-in Audio Analog Stereo        [vol: 0.63]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:
        61. Firefox                                                     
             64. output_FR       > ALC294 Analog:playback_FR	[active]
             65. output_FL       > ALC294 Analog:playback_FL	[active]

Video
 ├─ Devices:
 │      39. USB2.0 HD UVC WebCam                [v4l2]
 │      40. USB2.0 HD UVC WebCam                [v4l2]
 │      41. USB2.0 HD UVC WebCam                [v4l2]
 │      42. USB2.0 HD UVC WebCam                [v4l2]
 │      43. USB2.0 HD UVC WebCam: USB2.0 HD     [libcamera]
 │      44. USB2.0 HD UVC WebCam: USB2.0 IR     [libcamera]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   46. USB2.0 HD UVC WebCam (V4L2)        
 │      48. USB2.0 HD UVC WebCam (V4L2)        
 │      50. Built-in Front Camera              
 │      52. Built-in Front Camera              
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink    alsa_output.usb-ESS_Technology_Asus_USB_DAC-00.analog-stereo
~ $

After re-installing "alsa-card-profiles" (Audio "sources" not empty):

~ $ wpctl status
PipeWire 'pipewire-0' [1.0.0, delgan@zenbook, cookie:2133974172]
 └─ Clients:
        31. WirePlumber                         [1.0.0, delgan@zenbook, pid:612093]
        32. WirePlumber [export]                [1.0.0, delgan@zenbook, pid:612093]
        65. yambar                              [1.0.0, delgan@zenbook, pid:612312]
        66. Firefox                             [1.0.0, delgan@zenbook, pid:342915]
        71. wpctl                               [1.0.0, delgan@zenbook, pid:612743]

Audio
 ├─ Devices:
 │      45. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │  *   58. Built-in Audio Analog Stereo        [vol: 0.55]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   53. Built-in Audio Analog Stereo        [vol: 1.00]
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:
        67. Firefox                                                     
             69. output_FL       > ALC294 Analog:playback_FL	[active]
             70. output_FR       > ALC294 Analog:playback_FR	[active]

Video
 ├─ Devices:
 │      39. USB2.0 HD UVC WebCam: USB2.0 HD     [libcamera]
 │      40. USB2.0 HD UVC WebCam: USB2.0 IR     [libcamera]
 │      42. USB2.0 HD UVC WebCam                [v4l2]
 │      50. USB2.0 HD UVC WebCam                [v4l2]
 │      54. USB2.0 HD UVC WebCam                [v4l2]
 │      56. USB2.0 HD UVC WebCam                [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │      44. USB2.0 HD UVC WebCam (V4L2)        
 │      46. Built-in Front Camera              
 │      48. Built-in Front Camera              
 │  *   57. USB2.0 HD UVC WebCam (V4L2)        
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink    alsa_output.usb-ESS_Technology_Asus_USB_DAC-00.analog-stereo
~ $

Verbose output of "alsa-card-profiles" re-installation:

debug: pacman v6.0.2 - libalpm v13.0.2
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: Architecture: auto
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 82: including /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirror.osbeck.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://arch.kurdy.org/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.selfnet.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://arch.mirror.zachlge.org/core/os/x86_64
debug: adding new server URL to database 'core': https://at.arch.mirror.kescher.at/core/os/x86_64
debug: adding new server URL to database 'core': https://mirrors.niyawe.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://md.mirrors.hacktegic.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.sunred.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.moson.org/arch/core/os/x86_64
debug: adding new server URL to database 'core': https://ftp.sh.cvut.cz/arch/core/os/x86_64
debug: adding new server URL to database 'core': https://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.f4st.host/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.ubrco.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://archlinux.thaller.ws/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.lty.me/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://dist-mirror.fem.tu-ilmenau.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://archmirror.it/repos/core/os/x86_64
debug: adding new server URL to database 'core': https://archlinux.za.mirror.allworldit.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.theash.xyz/arch/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.tmmworkshop.com/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirror.osbeck.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://arch.kurdy.org/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.selfnet.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://arch.mirror.zachlge.org/extra/os/x86_64
debug: adding new server URL to database 'extra': https://at.arch.mirror.kescher.at/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirrors.niyawe.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://md.mirrors.hacktegic.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.sunred.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.moson.org/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': https://ftp.sh.cvut.cz/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': https://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.f4st.host/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.ubrco.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://archlinux.thaller.ws/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.lty.me/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://dist-mirror.fem.tu-ilmenau.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://archmirror.it/repos/extra/os/x86_64
debug: adding new server URL to database 'extra': https://archlinux.za.mirror.allworldit.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.theash.xyz/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.tmmworkshop.com/archlinux/extra/os/x86_64
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/  
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/  
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : alsa-card-profiles
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 262 packages to package cache for db 'core'
debug: loading package cache for repository 'extra'
debug: opening archive /var/lib/pacman/sync/extra.db
debug: added 13547 packages to package cache for db 'extra'
debug: adding package 'alsa-card-profiles'
debug: loading package cache for repository 'local'
debug: added 429 packages to package cache for db 'local'
warning: alsa-card-profiles-1:1.0.0-2 is up to date -- reinstalling
debug: adding package alsa-card-profiles-1:1.0.0-2 to the transaction add list
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package alsa-card-profiles-1:1.0.0-2
debug: finished resolving dependencies
looking for conflicting packages...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package alsa-card-profiles-1:1.0.0-2
debug: found cached pkg: /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: setting download size 0 for pkg alsa-card-profiles
debug: sorting by dependencies
debug: started sorting dependencies
debug: sorting dependencies finished

Packages (1) alsa-card-profiles-1:1.0.0-2

Total Installed Size:  0.18 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
debug: using cachedir: /var/cache/pacman/pkg/
debug: found cached pkg: /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: found cached pkg: /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst.sig
checking keyring...
debug: found signature key: 3B94A80E50A477C7
debug: GPGME version: 1.23.2
debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/
debug: looking up key 3B94A80E50A477C7 locally
debug: key lookup success, key exists
checking package integrity...
debug: found cached pkg: /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: sig data: iHUEABYKAB0WIQQGaHodnU+rCLUP2Ss7lKgOUKR3xwUCZW0tGAAKCRA7lKgOUKR3x/trAP9bYbSVz1NpHwltDDeYlM0vzc8B3bIeZ/AEPDdqdWCa0gD+OlUMct7viV6PkylCNOxkSw+k4CijwLz5jj4OIqsnugM=
debug: checking signature for /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: 1 signatures returned
debug: fingerprint: 06687A1D9D4FAB08B50FD92B3B94A80E50A477C7
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1701653784
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: A2FF3A36AAA56654109064AB19802F8B0D70FC30, Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
loading package files...
debug: found cached pkg: /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: replacing pkgcache entry with package file for target alsa-card-profiles
debug: opening archive /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: starting package load for /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: found mtree for package /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst, getting file list
debug: finished mtree reading for /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: sorting package filelist for /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
checking for file conflicts...
debug: looking for file conflicts
debug: searching for file conflicts: alsa-card-profiles
debug: searching for filesystem conflicts: alsa-card-profiles
checking available disk space...
debug: checking available disk space
debug: discovered mountpoint: /tmp
debug: discovered mountpoint: /sys/kernel/tracing
debug: discovered mountpoint: /sys/kernel/security
debug: discovered mountpoint: /sys/kernel/debug
debug: discovered mountpoint: /sys/kernel/config
debug: discovered mountpoint: /sys/fs/pstore
debug: discovered mountpoint: /sys/fs/fuse/connections
debug: discovered mountpoint: /sys/fs/cgroup
debug: discovered mountpoint: /sys/fs/bpf
debug: discovered mountpoint: /sys/firmware/efi/efivars
debug: discovered mountpoint: /sys
debug: discovered mountpoint: /run/user/1000
debug: discovered mountpoint: /run
debug: discovered mountpoint: /proc/sys/fs/binfmt_misc
debug: discovered mountpoint: /proc/sys/fs/binfmt_misc
debug: discovered mountpoint: /proc
debug: discovered mountpoint: /dev/shm
debug: discovered mountpoint: /dev/pts
debug: discovered mountpoint: /dev/mqueue
debug: discovered mountpoint: /dev/hugepages
debug: discovered mountpoint: /dev
debug: discovered mountpoint: /boot
debug: discovered mountpoint: /
debug: loading fsinfo for /
debug: partition /, needed 0, cushion 5121, free 68603912
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-tmpfiles.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-system.hook
debug: parsing hook file /usr/share/libalpm/hooks/glib-compile-schemas.hook
debug: parsing hook file /usr/share/libalpm/hooks/fontconfig.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-depmod.hook
debug: parsing hook file /usr/share/libalpm/hooks/dconf-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-hwdb.hook
debug: parsing hook file /usr/share/libalpm/hooks/detect-old-perl-modules.hook
debug: parsing hook file /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook
debug: parsing hook file /usr/share/libalpm/hooks/gio-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-update-mime-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/vimdoc.hook
debug: parsing hook file /usr/share/libalpm/hooks/update-desktop-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-udev-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-fontconfig-config.hook
debug: parsing hook file /usr/share/libalpm/hooks/dbus-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-update-ca-trust.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-mkinitcpio-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-binfmt.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-sysctl.hook
debug: parsing hook file /usr/share/libalpm/hooks/20-systemd-sysusers.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-catalog.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-update-icon-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-user.hook
:: Processing package changes...
debug: installing packages
reinstalling alsa-card-profiles...
debug: reinstalling package alsa-card-profiles-1:1.0.0-2
debug: removing old package first (alsa-card-profiles-1:1.0.0-2)
debug: removing 84 files
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/usb-gaming-headset.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/texas-instruments-pcm2902.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/steelseries-arctis-common-usb-audio.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/simple-headphones-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/sennheiser-gsx.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/sb-omni-surround-5.1.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio6.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio2.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio10.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-korecontroller.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-komplete-audio6.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-audio8dj.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-audio4dj.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/maudio-fasttrack-pro.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/kinect-audio.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/hp-tbt-dock-audio-module.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/hp-tbt-dock-120w-g2.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/force-speaker.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/force-speaker-and-int-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/dell-dock-tb16-usb-audio.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/default.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/cmedia-high-speed-true-hdaudio.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/audigy.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/asus-xonar-se.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/analog-only.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/profile-sets/9999-custom.conf
debug: keeping directory /usr/share/alsa-card-profile/mixer/profile-sets (in new package)
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/virtual-surround-7.1.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-output-stereo.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-output-mono.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-input.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/steelseries-arctis-output-game-common.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/steelseries-arctis-output-chat-common.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/iec958-stereo-output.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/iec958-stereo-input.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-9.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-8.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-7.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-6.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-5.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-4.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-3.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-2.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-10.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-1.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/hdmi-output-0.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/audigy-analog-output.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/audigy-analog-output-mirror.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output.conf.common
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output-speaker.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output-speaker-always.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output-mono.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output-lineout.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output-headphones.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output-headphones-2.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-output-chat.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input.conf.common
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-video.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-tvtuner.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-rear-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-mic.conf.common
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-mic-line.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-linein.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic-always.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-headset-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-headphone-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-front-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-fm.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-dock-mic.conf
debug: unlinking /usr/share/alsa-card-profile/mixer/paths/analog-input-aux.conf
debug: keeping directory /usr/share/alsa-card-profile/mixer/paths (in new package)
debug: keeping directory /usr/share/alsa-card-profile/mixer (contains files)
debug: keeping directory /usr/share/alsa-card-profile (contains files)
debug: keeping directory /usr/share (contains files)
debug: unlinking /usr/lib/udev/rules.d/90-pipewire-alsa.rules
debug: keeping directory /usr/lib/udev/rules.d (contains files)
debug: keeping directory /usr/lib/udev (contains files)
debug: keeping directory /usr/lib (contains files)
debug: keeping directory /usr (contains files)
debug: removing database entry 'alsa-card-profiles'
debug: removing entry 'alsa-card-profiles' from 'local' cache
debug: opening archive /var/cache/pacman/pkg/alsa-card-profiles-1:1.0.0-2-x86_64.pkg.tar.zst
debug: extracting files
debug: skipping extraction of '.BUILDINFO'
debug: skipping extraction of '.PKGINFO'
debug: extract: skipping dir extraction of /usr/
debug: extract: skipping dir extraction of /usr/lib/
debug: extract: skipping dir extraction of /usr/lib/udev/
debug: extract: skipping dir extraction of /usr/lib/udev/rules.d/
debug: extracting /usr/lib/udev/rules.d/90-pipewire-alsa.rules
debug: extract: skipping dir extraction of /usr/share/
debug: extract: skipping dir extraction of /usr/share/alsa-card-profile/
debug: extract: skipping dir extraction of /usr/share/alsa-card-profile/mixer/
debug: extract: skipping dir extraction of /usr/share/alsa-card-profile/mixer/paths/
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-aux.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-dock-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-fm.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-front-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-headphone-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-headset-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic-always.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-linein.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-mic-line.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-mic.conf.common
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-rear-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-tvtuner.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input-video.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-input.conf.common
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output-chat.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output-headphones-2.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output-headphones.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output-lineout.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output-mono.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output-speaker-always.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output-speaker.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/analog-output.conf.common
debug: extracting /usr/share/alsa-card-profile/mixer/paths/audigy-analog-output-mirror.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/audigy-analog-output.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-0.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-1.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-10.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-2.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-3.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-4.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-5.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-6.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-7.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-8.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/hdmi-output-9.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/iec958-stereo-input.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/iec958-stereo-output.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/steelseries-arctis-output-chat-common.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/steelseries-arctis-output-game-common.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-input.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-output-mono.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/usb-gaming-headset-output-stereo.conf
debug: extracting /usr/share/alsa-card-profile/mixer/paths/virtual-surround-7.1.conf
debug: extract: skipping dir extraction of /usr/share/alsa-card-profile/mixer/profile-sets/
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/9999-custom.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/analog-only.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/asus-xonar-se.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/audigy.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/cmedia-high-speed-true-hdaudio.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/default.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/dell-dock-tb16-usb-audio.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/force-speaker-and-int-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/force-speaker.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/hp-tbt-dock-120w-g2.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/hp-tbt-dock-audio-module.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/kinect-audio.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/maudio-fasttrack-pro.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-audio4dj.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-audio8dj.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-komplete-audio6.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-korecontroller.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio10.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio2.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktor-audio6.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/sb-omni-surround-5.1.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/sennheiser-gsx.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/simple-headphones-mic.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/steelseries-arctis-common-usb-audio.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/texas-instruments-pcm2902.conf
debug: extracting /usr/share/alsa-card-profile/mixer/profile-sets/usb-gaming-headset.conf
debug: updating database
debug: adding database entry 'alsa-card-profiles'
debug: writing alsa-card-profiles-1:1.0.0-2 DESC information back to db
debug: writing alsa-card-profiles-1:1.0.0-2 FILES information back to db
debug: adding entry 'alsa-card-profiles' in 'local' cache
debug: running ldconfig
debug: executing "/usr/bin/ldconfig" under chroot "/"
debug: call to waitpid succeeded
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-tmpfiles.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-system.hook
debug: parsing hook file /usr/share/libalpm/hooks/glib-compile-schemas.hook
debug: parsing hook file /usr/share/libalpm/hooks/fontconfig.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-depmod.hook
debug: parsing hook file /usr/share/libalpm/hooks/dconf-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-hwdb.hook
debug: parsing hook file /usr/share/libalpm/hooks/detect-old-perl-modules.hook
debug: parsing hook file /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook
debug: parsing hook file /usr/share/libalpm/hooks/gio-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-update-mime-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/vimdoc.hook
debug: parsing hook file /usr/share/libalpm/hooks/update-desktop-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-udev-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-fontconfig-config.hook
debug: parsing hook file /usr/share/libalpm/hooks/dbus-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-update-ca-trust.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-mkinitcpio-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-binfmt.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-sysctl.hook
debug: parsing hook file /usr/share/libalpm/hooks/20-systemd-sysusers.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-catalog.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-update-icon-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-user.hook
:: Running post-transaction hooks...
(1/2) Reloading device manager configuration...
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/"
debug: call to waitpid succeeded
(2/2) Arming ConditionNeedsUpdate...
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/"
debug: call to waitpid succeeded
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'

Last edited by Delgan (2024-01-13 00:22:58)

Offline

#2 2024-01-11 22:48:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,375

Re: [SOLVED] alsa-card-profiles fixes microphone but pipewire breaks it

Reinstalling alsa-card-profile leads to retriggering and reevaluating all your devices via

udevadm trigger -c change

(... run that as root, it will likely lead to the same effect as reinstalling alsa-card-profiles)

You generally don't want to start pipewire in isolation and rather restart wireplumber and pipewire at the same time. As for investigating the actual cause and reason.

sudo fuser -v /dev/snd/*
pactl list cards
pactl list sources

Offline

#3 2024-01-11 23:16:20

Delgan
Member
Registered: 2020-01-24
Posts: 9

Re: [SOLVED] alsa-card-profiles fixes microphone but pipewire breaks it

V1del wrote:

Reinstalling alsa-card-profile leads to retriggering and reevaluating all your devices via

udevadm trigger -c change

(... run that as root, it will likely lead to the same effect as reinstalling alsa-card-profiles)

I can confirm, thank you very much!

You generally don't want to start pipewire in isolation and rather restart wireplumber and pipewire at the same time.

Noted, thanks (does not prevent the audio source to disappear, though).

As for investigating the actual cause and reason.

sudo fuser -v /dev/snd/*
pactl list cards
pactl list sources

Respective output of these commands when microphone is not found:

~ $ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  delgan    661002 F.... wireplumber
/dev/snd/seq:        delgan    660996 F.... pipewire
~ $
~ $ pactl list cards
Card #45
	Name: alsa_card.pci-0000_00_1f.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA Intel PCH at 0x603d170000 irq 167"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.description = "Built-in Audio"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3433143"
		device.product.id = "0x34c8"
		device.product.name = "Ice Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "32"
		object.id = "45"
		object.serial = "45"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x603d170000 irq 167"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, 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-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, 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-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-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)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		pro-audio: Pro Audio (sinks: 5, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 2, availability unknown)
			Properties:
				port.type = "speaker"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-speakers"
				card.profile.port = "1"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "4"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 6, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 6"
				device.icon_name = "video-display"
				card.profile.port = "5"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo
~ $
~ $ pactl list sources
Source #54
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Description: Monitor of Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	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.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC294 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x603d170000 irq 167"
		alsa.name = "ALC294 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0x603d170000 irq 167"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "7"
		device.api = "alsa"
		device.class = "monitor"
		device.id = "45"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
		node.nick = "ALC294 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:front:0:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "32"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "54"
		object.serial = "54"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3433143"
		device.product.id = "0x34c8"
		device.product.name = "Ice Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
	Active Port: analog-output-speaker
	Formats:
		pcm
~ $

Same but after running "udevadm trigger -c change", card appears changed:

~ $  sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  delgan    661002 F.... wireplumber
/dev/snd/seq:        delgan    660996 F.... pipewire
~ $
~ $ pactl list cards
Card #68
	Name: alsa_card.pci-0000_00_1f.3.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA Intel PCH at 0x603d170000 irq 167"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.description = "Built-in Audio"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3433143"
		device.product.id = "0x34c8"
		device.product.name = "Ice Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "32"
		object.id = "58"
		object.serial = "68"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x603d170000 irq 167"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, 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-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, 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-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-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)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		pro-audio: Pro Audio (sinks: 5, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 2, availability unknown)
			Properties:
				port.type = "speaker"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-speakers"
				card.profile.port = "1"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "4"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 6, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 6"
				device.icon_name = "video-display"
				card.profile.port = "5"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo
~ $
~ $ pactl list sources
Source #73
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.3.analog-stereo.monitor
	Description: Monitor of Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	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.3.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC294 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x603d170000 irq 167"
		alsa.name = "ALC294 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0x603d170000 irq 167"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "7"
		device.api = "alsa"
		device.class = "monitor"
		device.id = "58"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.3.analog-stereo"
		node.nick = "ALC294 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:front:0:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "32"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "45"
		object.serial = "73"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3433143"
		device.product.id = "0x34c8"
		device.product.name = "Ice Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
	Active Port: analog-output-speaker
	Formats:
		pcm

Source #74
	State: SUSPENDED
	Name: alsa_input.pci-0000_00_1f.3.3.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65379 / 100% / -0.06 dB,   front-right: 65379 / 100% / -0.06 dB
	       balance 0.00
	Base Volume: 6554 /  10% / -60.00 dB
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC294 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x603d170000 irq 167"
		alsa.name = "ALC294 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0x603d170000 irq 167"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "capture"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "58"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.source"
		media.class = "Audio/Source"
		device.description = "Built-in Audio"
		node.name = "alsa_input.pci-0000_00_1f.3.3.analog-stereo"
		node.nick = "ALC294 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:front:0:capture"
		priority.driver = "2009"
		priority.session = "2009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "32"
		node.driver = "true"
		factory.mode = "split"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "50"
		object.serial = "74"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3433143"
		device.product.id = "0x34c8"
		device.product.name = "Ice Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, availability group: Legacy 1, availability unknown)
	Active Port: analog-input-mic
	Formats:
		pcm
~ $

Offline

#4 2024-01-12 11:12:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,375

Re: [SOLVED] alsa-card-profiles fixes microphone but pipewire breaks it

Wireplumber/pipewire "remembers" your profile selection (i.e. at some point you likely incidentally selected the no mic profile) but switches that based on some events (like "replugging" a microphone, which is simulated by the udevadm trigger) do an explicit

pactl set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

to tell wireplumber that this is your default profile preference

Should that not stick after a reboot/restart of pipwire, then potentially your wireplumber state is corrupt, in which case you can remove/move ~/.local/state/wireplumber to reset the cache and then run above command to make it stick.

Last edited by V1del (2024-01-12 11:13:55)

Offline

#5 2024-01-13 00:19:51

Delgan
Member
Registered: 2020-01-24
Posts: 9

Re: [SOLVED] alsa-card-profiles fixes microphone but pipewire breaks it

Indeed, it was just a WirePlumber / PulseAudio configuration problem... Calling "pactl set-card-profile" fixed the issue.
Although I have absolutely no memory of ever trying to modify the default card profile (only the sinks).
Out of curiosity I deleted "~/.local/state/wireplumber" (no default card profile) after creating a backup and I will monitor future changes.

Thanks a lot for your guidance.

Offline

Board footer

Powered by FluxBB