You are not logged in.
Pages: 1
Hi
I'm new to arch and I'm trying make sound work on my Asus Zenbook UX3405MA . I followed the wiki and installed pulseaudio. But when i plug my headphones i only hear crackling sounds. Weirdly when i plug and unplug the headphones sound comes through the speaker for 3 seconds and mutes automatically. When muting my headphones in alsamixer the speaker mutes itself. The speaker works fine if both headphone and speaker are not muted in alsamixer but when i mute headphone the audio stops playing after 3 seconds. In pavucontrol configuration section i see 3 configurations but none seem to work. I can provide more info if needed. Any help is appreciated.
The alsa packages I have is,
alsa-card-profiles 1:1.2.3-1
alsa-lib 1.2.12-1
alsa-plugins 1:1.2.12-3
alsa-tools 1.2.11-1
alsa-topology-conf 1.2.5.1-4
alsa-ucm-conf 1.2.12-1
alsa-utils 1.2.12-1
The pulseaudio package I have is,
pulseaudio 17.0-3
pulseaudio-bluetooth 17.0-3
pulseaudio-jack 17.0-3
Offline
The fact you have alsa-card-profiles might point to having other parts of the pipewire-audio stack as well. Particular wireplumber and pulseaudio will logically conflict with each other by default.
If you want to be "future-proof" drop pulseaudio in favor of pipewire-pulse and check how things behave then.
Other than that, maybe post during active playback the outputs from
sudo fuser -v /dev/snd/*
aplay -lL
amixer -c0 #Or whatever the correct index is
pactl list cards
pactl list sinks
pactl list sink-inputs
wrapped in [ code ] [ /code ] tags without the spaces.
Offline
After removing pulseaudio and installing pipewire i get no audio through my speakers. But the crackling sound continues in my headphones.
Heres the output of the following commands,
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: pc 1102 F.... pipewire
pc 2897 F.... alsamixer
pc 3354 F.... wireplumber
/dev/snd/pcmC0D0c: pc 1102 F...m pipewire
/dev/snd/pcmC0D0p: pc 1102 F...m pipewire
/dev/snd/pcmC0D3p: pc 1102 F...m pipewire
/dev/snd/pcmC0D4p: pc 1102 F...m pipewire
/dev/snd/pcmC0D5p: pc 1102 F...m pipewire
/dev/snd/pcmC0D6c: pc 1102 F...m pipewire
/dev/snd/seq: pc 1102 F.... pipewire
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=sofhdadsp
sof-hda-dsp,
Default Audio Device
usbstream:CARD=sofhdadsp
sof-hda-dsp
USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: Deepbuffer HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
amixer -c0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [off]
Front Right: Playback 87 [100%] [0.00dB] [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Dmic0',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right - Rear Left - Rear Right
Limits: Capture 0 - 45
Front Left: Capture 45 [100%] [0.00dB] [off]
Front Right: Capture 45 [100%] [0.00dB] [off]
Rear Left: Capture 45 [100%] [0.00dB] [off]
Rear Right: Capture 45 [100%] [0.00dB] [off]
Simple mixer control 'Post Mixer Analog',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 45
Mono:
Front Left: Playback 45 [100%] [0.00dB]
Front Right: Playback 45 [100%] [0.00dB]
Simple mixer control 'Post Mixer Analog Playback DRC switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Pre Mixer Analog',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 45
Mono:
Front Left: Playback 45 [100%] [0.00dB]
Front Right: Playback 45 [100%] [0.00dB]
Simple mixer control 'Pre Mixer Deepbuffer HDA Analog',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 45
Front Left: 45 [100%] [0.00dB]
Front Right: 45 [100%] [0.00dB]
pactl list cards
Card #619
Name: alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.alsa.card = "0"
api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.path = "hw:0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
api.dbus.ReserveDevice1.Priority = "-20"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.description = "Meteor Lake-P HD Audio Controller"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "34298961"
device.product.id = "0x7e28"
device.product.name = "Meteor Lake-P HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
media.class = "Audio/Device"
factory.id = "15"
client.id = "180"
object.id = "120"
object.serial = "619"
object.path = "alsa:acp:sofhdadsp"
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.mixer_name = "Realtek ALC294"
alsa.components = "HDA:8086281d,80860101,00100000 HDA:10ec0294,10431a63,00100004 cfg-dmics:2 iec61937-pcm:5,4,3"
alsa.id = "sofhdadsp"
device.string = "0"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2): Play HiFi quality Music (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2) (sinks: 4, sources: 2, priority: 10300, available: yes)
HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker): Play HiFi quality Music (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker) (sinks: 4, sources: 2, priority: 10200, available: yes)
pro-audio: Pro Audio (sinks: 5, sources: 2, priority: 1, available: yes)
Active Profile: HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
Ports:
[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, latency offset: 0 usec, availability group: HDMI/DP,pcm=5, not available)
Properties:
port.type = "hdmi"
port.availability-group = "HDMI/DP,pcm=5"
device.icon_name = "video-display"
card.profile.port = "0"
Part of profile(s): HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker), HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, latency offset: 0 usec, availability group: HDMI/DP,pcm=4, not available)
Properties:
port.type = "hdmi"
port.availability-group = "HDMI/DP,pcm=4"
device.icon_name = "video-display"
card.profile.port = "1"
Part of profile(s): HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker), HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
Properties:
port.type = "hdmi"
port.availability-group = "HDMI/DP,pcm=3"
device.icon_name = "video-display"
card.profile.port = "2"
Part of profile(s): HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker), HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
Properties:
port.type = "speaker"
device.icon_name = "audio-speakers"
card.profile.port = "3"
Part of profile(s): HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker)
[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, availability unknown)
Properties:
port.type = "mic"
port.availability-group = "Mic"
device.icon_name = "audio-input-microphone"
card.profile.port = "4"
Part of profile(s): HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker), HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
Properties:
port.type = "mic"
device.icon_name = "audio-input-microphone"
card.profile.port = "5"
Part of profile(s): HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker), HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, availability group: Headphone, available)
Properties:
port.type = "headphones"
port.availability-group = "Headphone"
device.icon_name = "audio-headphones"
card.profile.port = "6"
Part of profile(s): HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
pactl list sinks
Sink #1012
State: IDLE
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink
Description: Meteor Lake-P HD Audio Controller HDMI / DisplayPort 3 Output
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 Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.components = "HDA:8086281d,80860101,00100000 HDA:10ec0294,10431a63,00100004 cfg-dmics:2 iec61937-pcm:5,4,3"
alsa.device = "5"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "sofhdadsp"
alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.mixer_name = "Realtek ALC294"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.sync.id = "00000000:00000000:00000000:00000000"
api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,5"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "0"
device.api = "alsa"
device.class = "sound"
device.id = "120"
device.profile.description = "HDMI / DisplayPort 3 Output"
device.profile.name = "HiFi: HDMI3: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Meteor Lake-P HD Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink"
node.nick = "HDMI / DisplayPort 3 Output"
node.pause-on-idle = "false"
object.path = "alsa:acp:sofhdadsp:0:playback"
port.group = "playback"
priority.driver = "664"
priority.session = "664"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "180"
node.driver = "true"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "38"
object.serial = "1012"
node.max-latency = "16384/48000"
api.alsa.period-size = "1024"
api.alsa.period-num = "32"
api.alsa.headroom = "0"
api.acp.auto-port = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
api.dbus.ReserveDevice1.Priority = "-20"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "34298961"
device.product.id = "0x7e28"
device.product.name = "Meteor Lake-P HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, availability group: HDMI/DP,pcm=5, not available)
Active Port: [Out] HDMI3
Formats:
pcm
Sink #1013
State: IDLE
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink
Description: Meteor Lake-P HD Audio Controller HDMI / DisplayPort 2 Output
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 Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.components = "HDA:8086281d,80860101,00100000 HDA:10ec0294,10431a63,00100004 cfg-dmics:2 iec61937-pcm:5,4,3"
alsa.device = "4"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "sofhdadsp"
alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.mixer_name = "Realtek ALC294"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.sync.id = "00000000:00000000:00000000:00000000"
api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,4"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "1"
device.api = "alsa"
device.class = "sound"
device.id = "120"
device.profile.description = "HDMI / DisplayPort 2 Output"
device.profile.name = "HiFi: HDMI2: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Meteor Lake-P HD Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink"
node.nick = "HDMI / DisplayPort 2 Output"
node.pause-on-idle = "false"
object.path = "alsa:acp:sofhdadsp:1:playback"
port.group = "playback"
priority.driver = "680"
priority.session = "680"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "180"
node.driver = "true"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "62"
object.serial = "1013"
node.max-latency = "16384/48000"
api.alsa.period-size = "1024"
api.alsa.period-num = "32"
api.alsa.headroom = "0"
api.acp.auto-port = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
api.dbus.ReserveDevice1.Priority = "-20"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "34298961"
device.product.id = "0x7e28"
device.product.name = "Meteor Lake-P HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, availability group: HDMI/DP,pcm=4, not available)
Active Port: [Out] HDMI2
Formats:
pcm
Sink #1014
State: IDLE
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink
Description: Meteor Lake-P HD Audio Controller HDMI / DisplayPort 1 Output
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 Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.components = "HDA:8086281d,80860101,00100000 HDA:10ec0294,10431a63,00100004 cfg-dmics:2 iec61937-pcm:5,4,3"
alsa.device = "3"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "sofhdadsp"
alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.mixer_name = "Realtek ALC294"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.sync.id = "00000000:00000000:00000000:00000000"
api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,3"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "2"
device.api = "alsa"
device.class = "sound"
device.id = "120"
device.profile.description = "HDMI / DisplayPort 1 Output"
device.profile.name = "HiFi: HDMI1: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Meteor Lake-P HD Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink"
node.nick = "HDMI / DisplayPort 1 Output"
node.pause-on-idle = "false"
object.path = "alsa:acp:sofhdadsp:2:playback"
port.group = "playback"
priority.driver = "696"
priority.session = "696"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "180"
node.driver = "true"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "107"
object.serial = "1014"
node.max-latency = "16384/48000"
api.alsa.period-size = "1024"
api.alsa.period-num = "32"
api.alsa.headroom = "0"
api.acp.auto-port = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
api.dbus.ReserveDevice1.Priority = "-20"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "34298961"
device.product.id = "0x7e28"
device.product.name = "Meteor Lake-P HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, availability group: HDMI/DP,pcm=3, not available)
Active Port: [Out] HDMI1
Formats:
pcm
Sink #1015
State: RUNNING
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Headphones__sink
Description: Meteor Lake-P HD Audio Controller Headphones
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 Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Headphones__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.components = "HDA:8086281d,80860101,00100000 HDA:10ec0294,10431a63,00100004 cfg-dmics:2 iec61937-pcm:5,4,3"
alsa.device = "0"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "sofhdadsp"
alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.mixer_name = "Realtek ALC294"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.sync.id = "00000000:00000000:00000000:00000000"
api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ASUSZenbook14UX3405MA_UX3405MA-1.0-UX3405MA"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "6"
device.api = "alsa"
device.class = "sound"
device.id = "120"
device.profile.description = "Headphones"
device.profile.name = "HiFi: Headphones: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Meteor Lake-P HD Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Headphones__sink"
node.nick = "Headphones"
node.pause-on-idle = "false"
object.path = "alsa:acp:sofhdadsp:6:playback"
port.group = "playback"
priority.driver = "1000"
priority.session = "1000"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "180"
node.driver = "true"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "99"
object.serial = "1015"
node.max-latency = "16384/48000"
api.alsa.period-size = "1024"
api.alsa.period-num = "32"
api.alsa.headroom = "0"
api.acp.auto-port = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
api.dbus.ReserveDevice1.Priority = "-20"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "34298961"
device.product.id = "0x7e28"
device.product.name = "Meteor Lake-P HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, available)
Active Port: [Out] Headphones
Formats:
pcm
pactl list sink-inputs
Sink Input #1145
Driver: PipeWire
Owner Module: n/a
Client: 1143
Sink: 1015
Sample Specification: float32le 2ch 44100Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 65535 / 100% / -0.00 dB, front-right: 65535 / 100% / -0.00 dB
balance 0.00
Buffer Latency: 0 usec
Sink Latency: 0 usec
Resample method: PipeWire
Properties:
client.api = "pipewire-pulse"
pulse.server.type = "unix"
application.name = "spotify"
application.process.id = "8166"
application.process.user = "pc"
application.process.host = "archlinux"
application.process.binary = "spotify"
application.language = "en_US.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "322ae8169ba6436a9041768e3cf89571"
application.process.session_id = "1"
media.role = "music"
media.name = "Spotify"
node.rate = "1/44100"
node.latency = "8192/44100"
stream.is-live = "true"
node.name = "spotify"
node.want-driver = "true"
node.autoconnect = "true"
media.class = "Stream/Output/Audio"
port.group = "stream.0"
adapt.follower.spa-node = ""
object.register = "false"
factory.id = "7"
clock.quantum-limit = "8192"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
client.id = "134"
object.id = "139"
object.serial = "1145"
pulse.attr.maxlength = "4194304"
pulse.attr.tlength = "640064"
pulse.attr.prebuf = "0"
pulse.attr.minreq = "7056"
node.driver-id = "99"
module-stream-restore.id = "sink-input-by-media-role:music"
Edit: When plugging in my headphones the sound controller changes from Play HiFi quality Music(HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2) to Play HiFi quality Music(HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker). After this sound plays from speaker for 3 seconds and mutes. When I unmute headphones in alsa mixer sound plays in speaker. The behavior is same as before.
Last edited by pattasuBalu (2024-08-28 15:58:02)
Offline
Fixed it by adding the following line in /etc/modprobe.d/audio-jack.conf
options snd_hda_intel model=headset-mode
Edit:
The above code did not fix the problem completely. The issue is with the audio chipset ALC294 and dual booting windows and linux. To fix it make a bash script file and include this in it:
#!/bin/bash
sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x1b
sudo hda-verb /dev/snd/hwC1D0 0x20 0x477 0x4a4b
sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0xf
sudo hda-verb /dev/snd/hwC1D0 0x20 0x477 0x74
Make it executable and run it every time you go into windows and come back.
Hope it helps someone.
Last edited by pattasuBalu (2024-09-08 18:09:11)
Offline
Pages: 1