Laptop speakers sound is not working anymore

alsa-info
http://alsa-project.org/db/?f=140c27664d6f1164516ac07d247204fc82b1aa30

If you don’t find an issue in alsa info what can i do to bring the audio settings right to how they were with fresh manjaro install?

I suggest you update system BIOS – Dell Precision 5540 System BIOS

And install kernel v5.19

sudo mhwd-kernel -i linux519 

what can i do to bring the audio settings right to how they were with fresh manjaro install?

Please post response to this command to show installed audio packages

pamac search -i 'pulse|pipewire|wireplumber'

and this to show state of systemd services

systemctl --user list-unit-files | grep -E 'pulse|wire' | awk '{ print $1,"-", $2 }'
1 Like
  • Bios updated, and kernel v5.19 installed!
# pamac search -i 'pulse|pipewire|wireplumber' 
pulseaudio-zeroconf                                             16.1-1                extra 
    Zeroconf support for PulseAudio
pulseaudio-qt                                                   1.3-1                 extra 
    Qt bindings for libpulse
pulseaudio-jack                                                 16.1-1                extra 
    Jack support for PulseAudio
pulseaudio-ctl                                                  1.70-1                community 
    Control pulseaudio volume from the shell or mapped to
    keyboard shortcuts.
pulseaudio-bluetooth                                            16.1-1                extra 
    Bluetooth support for PulseAudio
pulseaudio-alsa                                                 1:1.2.7.1-1           extra 
    ALSA Configuration for PulseAudio
pulseaudio                                                      16.1-1                extra 
    A featureful, general-purpose sound server
pipewire-media-session                                          1:0.4.1-2             extra 
    Example session manager for PipeWire
pipewire                                                        1:0.3.56-1            extra 
    Low-latency audio/video router and processor
manjaro-pulse                                                   20220217-2            extra 
    Manjaro meta package for complete PulseAudio support
libpulse                                                        16.1-1                extra 
    A featureful, general-purpose sound server (client library)
libcanberra                                                     1:0.30+r2+gc0620e4-1  extra 
    A small and lightweight implementation of the XDG Sound
    Theme Specification
lib32-libpulse                                                  16.1-1                multilib 
    A featureful, general-purpose sound server (32-bit client
    libraries)
lib32-libcanberra                                               1:0.30+r2+gc0620e4-1  multilib 
    A small and lightweight implementation of the XDG Sound
    Theme Specification (32-bit)
# systemctl --user list-unit-files | grep -E 'pulse|wire' | awk '{ print $1,"-", $2 }'
Failed to connect to bus: No medium found

systemctl command with --user option cannot work when run in terminal with root privileges

Please post more information about system and current state of audio drivers and sound servers

inxi -SMAx

and more information about PulseAudio configuration

pactl list cards && pacmd dump | grep -v module

Just before i rebooted some mins ago i turned on my wireless Sony WH-1000XM4 headphones. And when i clicked Line Out (USB Audio Line Out), sound came out from laptop.

Now that it has rebooted its not working anymore, and i switched between headphones and line out a few times.

It’s a glitchy behavior. I think pipewire could be conflicting with pulse.
But you’re the manjaro audio master :man_mage:

# systemctl --user list-unit-files | grep -E 'pulse|wire' | awk '{ print $1,"-", $2 }'

pipewire-media-session.service - enabled
pipewire-session-manager.service - alias
pipewire.service - disabled
pulseaudio-bluetooth-autoconnect.service - disabled
pulseaudio-x11.service - static
pulseaudio.service - disabled
pipewire.socket - enabled
pulseaudio.socket - enabled
# inxi -SMAx

System:
  Host: 8375 Kernel: 5.19.1-3-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 12.1.1 Desktop: KDE Plasma v: 5.24.6 Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Precision 5540 v: N/A
    serial: <superuser required>
  Mobo: Dell model: 03DYVY v: A00 serial: <superuser required> UEFI: Dell
    v: 1.17.0 date: 04/19/2022
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 1-5.3.4:10 bus-ID: 00:1f.3
  Device-2: Realtek USB Audio type: USB driver: snd-usb-audio
  Sound Server-1: ALSA v: k5.19.1-3-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
# pactl list cards && pacmd dump | grep -v module                                  ✔ 

Card #0
        Name: alsa_card.usb-Generic_USB_Audio_200901010001-00
        Driver: module-alsa-card.c
        Owner Module: 7
        Properties:
                alsa.card = "0"
                alsa.card_name = "WD19 Dock"
                alsa.long_card_name = "Dell-WD15-Dock"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:5.3.4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.3/1-5.3.4/1-5.3.4:1.0/sound/card0"
                udev.id = "usb-Generic_USB_Audio_200901010001-00"
                device.bus = "usb"
                device.vendor.id = "0bda"
                device.vendor.name = "Realtek Semiconductor Corp."
                device.product.id = "402e"
                device.product.name = "USB Audio"
                device.serial = "Generic_USB_Audio_200901010001"
                device.string = "0"
                device.description = "USB Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        Profiles:
                HiFi: Default (sinks: 2, sources: 1, priority: 8000, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: HiFi
        Ports:
                [Out] Line: Line Out (type: Line, priority: 200, latency offset: 0 usec, availability unknown)
                        Part of profile(s): HiFi
                [Out] Headphones: Headphones (type: Headphones, priority: 100, latency offset: 0 usec, availability unknown)
                        Part of profile(s): HiFi
                [In] Headset: Headset Microphone (type: Headset, priority: 100, latency offset: 0 usec, availability unknown)
                        Part of profile(s): HiFi

Card #1
        Name: alsa_card.pci-0000_00_1f.3
        Driver: module-alsa-card.c
        Owner Module: 8
        Properties:
                alsa.card = "1"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xed518000 irq 172"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.form_factor = "internal"
                device.string = "1"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 32833, available: yes)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 39333, available: yes)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 38733, available: yes)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, 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: yes)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, 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: yes)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, 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: yes)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, 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: yes)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, 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: yes)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, 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: yes)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: input:analog-stereo
        Ports:
                analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability unknown)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+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, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo
                analog-input-headphone-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+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, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo
                analog-input-headset-mic: Headset Microphone (type: Headset, priority: 8800, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+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, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo
                analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
                        Properties:
                                device.icon_name = "audio-speakers"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                device.icon_name = "audio-headphones"
                        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, available)
                        Properties:
                                device.icon_name = "video-display"
                                device.product.name = "LEN LT2223pwC"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        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, not available)
                        Properties:
                                device.icon_name = "video-display"
                        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, not available)
                        Properties:
                                device.icon_name = "video-display"
                        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
                hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4, output:hdmi-surround71-extra4+input:analog-stereo

Card #2
        Name: bluez_card.14_3F_A6_6D_C4_0D
        Driver: module-bluez5-device.c
        Owner Module: 28
        Properties:
                device.description = "WH-1000XM4"
                device.string = "14:3F:A6:6D:C4:0D"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_14_3F_A6_6D_C4_0D"
                bluez.class = "0x240404"
                bluez.alias = "WH-1000XM4"
                bluetooth.battery = "100%"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
                bluetooth.codec = "ldac_hq"
        Profiles:
                a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 40, available: yes)
                handsfree_head_unit: Handsfree Head Unit (HFP) (sinks: 1, sources: 1, priority: 30, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: a2dp_sink
        Ports:
                headset-output: Headset (type: Headset, priority: 0, latency offset: 0 usec, availability unknown)
                        Part of profile(s): a2dp_sink, handsfree_head_unit
                headset-input: Headset (type: Headset, priority: 0, latency offset: 0 usec, availability unknown)
                        Part of profile(s): handsfree_head_unit
### Configuration dump generated at Tue Aug 30 17:57:39 2022


set-sink-volume alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink 0x8000
set-sink-mute alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink no
suspend-sink alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink yes
set-sink-volume alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink 0x75c4
set-sink-mute alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink no
suspend-sink alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink yes
set-sink-volume bluez_sink.14_3F_A6_6D_C4_0D.a2dp_sink 0x2a55
set-sink-mute bluez_sink.14_3F_A6_6D_C4_0D.a2dp_sink no
suspend-sink bluez_sink.14_3F_A6_6D_C4_0D.a2dp_sink yes

set-source-volume alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink.monitor 0x10000
set-source-mute alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink.monitor no
suspend-source alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink.monitor yes
set-source-volume alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink.monitor 0x10000
set-source-mute alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink.monitor no
suspend-source alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink.monitor yes
set-source-volume alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source 0x828f
set-source-mute alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source no
suspend-source alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source yes
set-source-volume alsa_input.pci-0000_00_1f.3.analog-stereo 0x8182
set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo no
suspend-source alsa_input.pci-0000_00_1f.3.analog-stereo yes
set-source-volume bluez_sink.14_3F_A6_6D_C4_0D.a2dp_sink.monitor 0x10000
set-source-mute bluez_sink.14_3F_A6_6D_C4_0D.a2dp_sink.monitor no
suspend-source bluez_sink.14_3F_A6_6D_C4_0D.a2dp_sink.monitor yes

set-card-profile alsa_card.usb-Generic_USB_Audio_200901010001-00 HiFi
set-card-profile alsa_card.pci-0000_00_1f.3 input:analog-stereo
set-card-profile bluez_card.14_3F_A6_6D_C4_0D a2dp_sink

set-default-sink alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink
set-default-source alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source

### EOF

The list of installed packages is consistent with packages on latest ISO

manjaro-kde-21.3.7-220816-linux515.iso.pkgs
lib32-libcanberra 1:0.30+r2+gc0620e4-1
lib32-libpulse 16.1-1
libcanberra 1:0.30+r2+gc0620e4-1
libpulse 16.1-1
manjaro-pulse 20220217-2
pipewire 1:0.3.56-1
pipewire-media-session 1:0.4.1-2
pulseaudio 16.1-1
pulseaudio-alsa 1:1.2.7.1-1
pulseaudio-bluetooth 16.1-1
pulseaudio-ctl 1.70-1
pulseaudio-qt 1.3-1
pulseaudio-zeroconf 16.1-1

I agree, but I am one of a minority here who consider PipeWire is hostile and advise how to deal with it (if I get to comment before PipeWire zealots)

systemctl --user mask pipewire.socket && systemctl --user disable --now pipewire.service

I used to suggest disabling pipewire.socket but recent versions of PipeWire ignore that


PulseAudio configuration data shows onboard audio card set to input only:

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

use this command to change it to profile for outputs and inputs

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

(or use audio GUI controls to change card profile to Analog Stereo Duplex)

The default sink for audio output and default source is set to use the USB dock:

set-default-sink alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink
set-default-source alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source

Use these commands to set onboard audio card as default sink and source

pactl set-default-sink alsa_output.alsa_card.pci-0000_00_1f.3 output:analog-stereo

pactl set-default-sink alsa_output.pci-0000_00_1f.3 output:analog-stereo

pactl set-default-source alsa_input.alsa_card.pci-0000_00_1f.3 input:analog-stereo

pactl set-default-source alsa_input.alsa_card.pci-0000_00_1f.3 input:analog-stereo
pactl set-default-sink alsa_output.alsa_card.pci-0000_00_1f.3 output:analog-stereo
You have to specify a sink name

pactl set-default-source alsa_input.alsa_card.pci-0000_00_1f.3 input:analog-stereo
You have to specify a source name

Ran as regular user and root. Same result.

1 Like

My mistake with the copy/paste for those

pactl set-default-sink alsa_output.pci-0000_00_1f.3 output:analog-stereo
pactl set-default-source alsa_input.pci-0000_00_1f.3 input:analog-stereo

PulseAudio will not respond well to to running commands as root

Totally cool. I appreciated your help.

Noted!

pactl set-default-sink alsa_output.pci-0000_00_1f.3 output:analog-stereo
You have to specify a sink name

pactl set-default-source alsa_input.pci-0000_00_1f.3 input:analog-stereo
You have to specify a source name

Same result :upside_down_face:

:man_facepalming: :man_facepalming:

pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo
pactl set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo
1 Like

It worked straight away :man_mage:
Thanks a lot! :slightly_smiling_face:

Before, my google meet, zoom and teams app sound was not working.
My Skype always did, but nothing else.

Need to test if this resolved it.

I still have glitchy behavior with the headset. The mic did not appear when i tried google meet last time.

Plus google meet, zoom and teams app does not pick the mic, even when it is selected in the taskbar on the right of desktop.
Regardless of being the Bluetooth Sony headset, or the wired headphones.

I need this working. What would you do in my case?
is this something many users are facing?
I’ve been facing this from the start :melting_face:

Original problem was with laptop speakers. Is audio playback to speakers or wired headphones working as expected?

do you have issues with audio quality or just with VOIP applications finding microphone?

I suggest you check VOIP applications are set to use PulseAudio default source
e.g. in zoom the microphone (and headphones) should be Same as system and not using a direct ALSA connection

I would also suggest installing ‘pavucontrol-qt’ to monitor and control audio
The Configuration tab allows card profiles to be locked
Playback and Recording tabs allow switching between available sinks/sources

For VOIP applications in PulseAudio I find the simplest method is to set all card Profiles not using a microphone source to off or output only in pavucontrol --tab=5
e.g. for using Bluetooth headset set the profiles for USB card and Onboard audio to Off
and set Profile for Headset to Handsfree Head Unit (HFP)
If PulseAudio only has one sink or source they are de-facto default
VOIP applications cannot pick the wrong microphone if there is only one available

If there is more than one microphone it is still fairly simple to change the VOIP source in pavucontrol --tab=2. Changing sinks or sources from default is usually only needed one time in pavucontrol for each application. users preferences should override default sink and source

With PulseAudio Volume Control i am now able to get audio playback on speakers, wired headphones, and Bluetooth headset.
This is truly fantastic! :clap:

Just with VOIP applications finding microphone!
Skype is the only VOIP app that picks the mic!

Pls check this short vid pavucontrol.mp4 as i cannot find what you recommend above.

mp4 video is not working for me

We’re sorry, but we are unable to connect to this content. Please try refreshing the page or click here for more help.

If Skype is the only VOIP application that can detect the microphone it may be configured to connect direct to audio device in ALSA and taking exclusive control of microphone
Check Skype settings for audio and ensure Microphone and Headphones are set to default device to use PulseAudio

Microphone connection should be visible in pavucontrol --tab=2 during an active VOIP call or using the test call

Posting video or screenshots of GUI controls is not very informative
Use this command to get more information about microphone audio connection from PulseAudio to Skype in text format

pactl list source-outputs

Do you have any chromium based browser you can open the video with? It works!
No idea why it does not work in gecko based browsers…

Confimed. Both set to default device!

Got it :man_facepalming:

I know we do not run audio related commands as root as they don’t respond well.

Still with regular user the command does nothing
With root it says:

# pactl list source-outputs
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

Video works in chromium

I can see before playing video that one of the card profiles is not as expected. USB dock and Bluetooth headset are set to the same Profiles as in post#7, but Profile for onboard audio has been changed to output only

From 0:30 Recording tab shows there are no applications recording audio. I would expect a null response from pactl list-source-outputs if there are no active recording applications visible in GUI controls

From 0:37 Playback tab shows only Firefox active

I suggest you check available audio sources and default-source with this command:
(NOT in root terminal)

pactl list sources short|cut -f2;echo -e "\n$(pactl get-default-source)"
# pactl list sources short|cut -f2;echo -e "\n$(pactl get-default-source)" 

alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink.monitor
alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__sink.monitor
alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor

alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source

No source for Bluetooth headset microphone
default-source is set to use USB dock headset microphone input, no change from data in post#7
The 3 other sources available are sink monitors for recording desktop audio

I suspect Bluetooth headset is still set to A2DP for stereo playback and has not been changed to HFP for mono microphone and headphone

Thanks. You master the audio realm.

You mean globally? But then why does skype play sound and pics the mic in an HSP fashion?

I am reading Bluetooth headset - ArchWiki

Specifically this part:

Switch between HSP/HFP and A2DP setting

This can easily be achieved by the following command where the card_number can be obtained by running pacmd list-cards.

$ pacmd set-card-profile card_number a2dp_sink

For enabling automatic profile switching from A2DP to HSP when a recording stream appears without any role set, you can append auto_switch=2 to load-module module-bluetooth-policy in /etc/pulse/default.pa. 

I tried switching to HSP. But i get:
$ pacmd set-card-profile card_number hsp_sink
No card found by this name or index.

Do you know how to switch to HSP?
If this is something i can find on my own i’ll keep researching. But i’ve been researching and reading from google etc for 1H, and still didn’t find how to do it.