You are not logged in.

#1 2025-06-05 22:06:18

xelkomy
Member
Registered: 2025-06-04
Posts: 4

Can’t Switch Between Internal Speakers and Headphones — Realtek ALC257

Hi all,

I'm running Arch Linux with KDE Plasma 6, using PipeWire for audio. I have a Realtek ALC257 codec (confirmed via cat /proc/asound/card*/codec*), and my audio controller is identified as:
`Family 17h/19h/1ah HD Audio Controller`

Whenever I plug in my headphones, the internal speakers are disabled (as expected), but I can't manually switch back to the internal speakers while the headphones are still plugged in.
There’s only one output device, and PipeWire doesn’t expose multiple ports (no "Headphones" vs "Speakers"). It looks like it hard-routes based on jack detection, and that’s it.

Screenshot from KDE Sound System:
https://ibb.co/ynxj7Dvk

Even more strangely: when I switch to the “Pro Audio” profile, I can hear sound from the internal speakers again — even with headphones plugged in — but now I completely lose the ability to switch between ports or see them in KDE’s audio settings.

Output of pactl list sinks:
    Sink name: alsa_output.pci-0000_05_00.6.pro-output-0
    Profile: Pro
    Ports: none listed
    audio.position = "AUX0,AUX1"

pactl subscribe shows jack events like:
Event 'change' on card #43

But I never see any "port" changes or sink switching.
Card info (from pactl list cards):

Codec: HDA:10ec0257,17aa389e
Driver: snd_hda_intel
Profile name (in use when it works): pro-output-0

Is there a recommended way to get both speaker and headphone ports available simultaneously?

Offline

#2 2025-09-13 15:42:39

barra
Member
From: Indonesia
Registered: 2024-12-25
Posts: 6

Re: Can’t Switch Between Internal Speakers and Headphones — Realtek ALC257

I just found this post, and I thought I could help despite being late.
This guide will help you: https://github.com/luisbocanegra/linux- … udio-ports

Offline

Board footer

Powered by FluxBB