Audio device missing

I have clicked around in the profile list for my audio output devices. And after clicking on one of them (I don’t really remember which one) my device has dissapeared. This device was both my aux port out and my built in loudspeakers of the laptop.
The device is still available in the audio in section.
With wpctl status I think I can still see my device in the devices list, but not under the sinks list
Does anybody know how I can restore my device?
As far as I remember, my device was the ‘Family 17h/19h/1ah HD Audio Controller [alsa]’

System Details:

  • KDE-Plasma-Version: 6.3.5
  • KDE-Frameworks-Version: 6.14.0
  • Kernel-Version: 6.12.28-1-MANJARO (64-bit)
  • Session: Wayland

Okay so I restored a timeshift backup. This didn’t help.
I did even more research and found this post on how to reset pipewire. I then restarted my laptop and now it’s back.

https://unix.stackexchange.com/a/674499

This post in another topic may benefit passers-by wishing for more useful information on resetting Pipewire and Wireplumber settings to their defaults:

wpctl status data suggests that the card profile for the onboard audio device was changed from either Analog Stereo Output or Analog Stereo Duplex (output+input) to Analog Stereo Input

2 Likes

Not sure if this is any help to anyone, but I regularly switch between profiles - so now I set it to toggle (and audibly confirm) with the touch of a shortcut (Fn_F9 which is my ‘mail’ shortcut I think…).

#!/bin/bash

# Sound files (modify paths as needed)
STEREO_SOUND="/home/ben/Audio/Ubuntu-tom-Rl-RR.flac"
# "/home/ben/Audio/Plasma-Overdose-master/sounds/stereo/device-added.ogg"
SURROUND_SOUND="/home/ben/Audio/Ubuntu-tom-stereo.flac"
# "/home/ben/Audio/Ubuntu-tom-question.wav"

# Get current default sink info
current_profile=$(pactl get-default-sink)

# Check if current profile contains "stereo" (case insensitive)
if [[ $current_profile == *"stereo"* ]] || [[ $current_profile == *"Stereo"* ]]; then
    # Switch to Surround 4.0
    pactl set-card-profile alsa_card.pci-0000_04_00.6 output:analog-surround-40
    new_profile=$(pactl get-default-sink)
    notify-send "Audio Mode Changed" "Switched to Surround 4.0\nSelected: $new_profile"
    # Play surround sound notification
    if [ -f "$SURROUND_SOUND" ]; then
        paplay "$SURROUND_SOUND" &
    fi
else
    # Switch to Stereo
    pactl set-card-profile alsa_card.pci-0000_04_00.6 output:analog-stereo
    new_profile=$(pactl get-default-sink)
    notify-send "Audio Mode Changed" "Switched to Stereo\nSelected: $new_profile"
    # Play stereo sound notification
    if [ -f "$STEREO_SOUND" ]; then
        paplay "$STEREO_SOUND" &
    fi
fi

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.