You are not logged in.

#1 2021-12-24 14:57:24

kubilaykandemir
Member
Registered: 2021-12-24
Posts: 6

Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

I built a system with MSI Z690 MAG Tomahawk DDR4. It has ALC4080 codec. I found similar problems on google.

Output of

aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
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
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
hdmi:CARD=PCH,DEV=5
    HDA Intel PCH, HDMI 5
    HDMI Audio Output
hdmi:CARD=PCH,DEV=6
    HDA Intel PCH, HDMI 6
    HDMI Audio Output
hdmi:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 7
    HDMI Audio Output
hdmi:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 8
    HDMI Audio Output
hdmi:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 9
    HDMI Audio Output
hdmi:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 10
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
default:CARD=Audio
    USB Audio, USB Audio
    Default Audio Device
sysdefault:CARD=Audio
    USB Audio, USB Audio
    Default Audio Device
front:CARD=Audio,DEV=0
    USB Audio, USB Audio
    Front output / input
surround21:CARD=Audio,DEV=0
    USB Audio, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Audio,DEV=0
    USB Audio, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Audio,DEV=0
    USB Audio, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audio,DEV=0
    USB Audio, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audio,DEV=0
    USB Audio, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Audio,DEV=0
    USB Audio, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Audio,DEV=0
    USB Audio, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
iec958:CARD=Audio,DEV=1
    USB Audio, USB Audio #1
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Audio
    USB Audio
    USB Stream Output

I have a speaker connected to the rear audio panel and everythink works fine. But when I plug a headphone to the front panel, speakers keep working and no audio from headphones. I made some research found out that front panel actually works using a aplay command.

I tested with this command below.

aplay -D plughw:Audio,1 /usr/share/sounds/alsa/Front_Left.wav

If I use the command above on the terminal I can have a sound with my headphones plugged in to the front panel.

Anyone know how to solve this issue ?

Motherboard: MSI Z690 MAG TOMAHAWK DDR4

Offline

#2 2021-12-24 15:13:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Are you using pulse or pipewire or so? What's the output of

pactl list cards
pactl list sinks
pactl list sink-inputs

during an active playback attempt?

Online

#3 2021-12-25 03:35:20

kubilaykandemir
Member
Registered: 2021-12-24
Posts: 6

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

These outputs below are taken when headphones not plugged in.

pactl list cards
Card #0
	Name: alsa_card.pci-0000_03_00.1
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0x62c20000 irq 193"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab28"
		device.product.name = "Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]"
		device.string = "1"
		device.description = "Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, 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)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "video-display"
				device.product.name = "G257HL"
			Part of profile(s): output:hdmi-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-surround-extra1, output:hdmi-surround71-extra1
		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-surround-extra2, output:hdmi-surround71-extra2
		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-surround-extra3, output:hdmi-surround71-extra3
		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-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #1
	Name: alsa_card.usb-Generic_USB_Audio-00
	Driver: module-alsa-card.c
	Owner Module: 7
	Properties:
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "2"
		device.description = "USB Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 32823, 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: 6565, available: yes)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 39323, available: yes)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34123, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34023, available: yes)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34123, available: yes)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34023, available: yes)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34123, available: yes)
		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34023, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 38268, available: yes)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 38323, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:iec958-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, not available)
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:Output:analog-surround-21+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:iec958-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo

Card #2
	Name: alsa_card.pci-0000_00_1f.3
	Driver: module-alsa-card.c
	Owner Module: 8
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x63218000 irq 192"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "7ad0"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, 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-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, 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)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra7: Digital Stereo (HDMI 8) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra7: Digital Surround 5.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra7: Digital Surround 7.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra8: Digital Stereo (HDMI 9) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra8: Digital Surround 5.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra8: Digital Surround 7.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra9: Digital Stereo (HDMI 10) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra9: Digital Surround 5.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra9: Digital Surround 7.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra10: Digital Stereo (HDMI 11) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra10: Digital Surround 5.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra10: Digital Surround 7.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		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-surround-extra1, output:hdmi-surround71-extra1
		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-surround-extra2, output:hdmi-surround71-extra2
		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-surround-extra3, output:hdmi-surround71-extra3
		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-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5
		hdmi-output-6: HDMI / DisplayPort 7 (type: HDMI, priority: 5300, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra6, output:hdmi-surround-extra6, output:hdmi-surround71-extra6
		hdmi-output-7: HDMI / DisplayPort 8 (type: HDMI, priority: 5200, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra7, output:hdmi-surround-extra7, output:hdmi-surround71-extra7
		hdmi-output-8: HDMI / DisplayPort 9 (type: HDMI, priority: 5100, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra8, output:hdmi-surround-extra8, output:hdmi-surround71-extra8
		hdmi-output-9: HDMI / DisplayPort 10 (type: HDMI, priority: 5000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra9, output:hdmi-surround-extra9, output:hdmi-surround71-extra9
		hdmi-output-10: HDMI / DisplayPort 11 (type: HDMI, priority: 4900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra10, output:hdmi-surround-extra10, output:hdmi-surround71-extra10
pactl list sinks
Sink #0
	State: RUNNING
	Name: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo
	Description: USB Audio Digital Stereo (IEC958)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	Volume: front-left: 65535 / 100% / -0.00 dB,   front-right: 65535 / 100% / -0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo.monitor
	Latency: 85548 usec, configured 75000 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "iec958:2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "USB Audio Digital Stereo (IEC958)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
	Active Port: iec958-stereo-output
	Formats:
		pcm
pactl list sink-inputs
Sink Input #1
	Driver: protocol-native.c
	Owner Module: 13
	Client: 4
	Sink: 0
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 60289 /  92% / -2.17 dB,   front-right: 60289 /  92% / -2.17 dB
	        balance 0.00
	Buffer Latency: 125000 usec
	Sink Latency: 81542 usec
	Resample method: speex-float-1
	Properties:
		media.name = "Gaye Su Akyol - İstikrarlı Hayal Hakikattir (Official Video) - YouTube"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		application.process.id = "1040"
		application.process.user = "kubi"
		application.process.host = "mainpc"
		application.process.binary = "firefox"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "86f6c3f845394853b4f5cb38b820e880"
		application.process.session_id = "2"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"

Outputs below are taken when headphones plugged in.

pactl list cards
Card #0
	Name: alsa_card.pci-0000_03_00.1
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0x62c20000 irq 193"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab28"
		device.product.name = "Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]"
		device.string = "1"
		device.description = "Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, 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)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "video-display"
				device.product.name = "G257HL"
			Part of profile(s): output:hdmi-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-surround-extra1, output:hdmi-surround71-extra1
		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-surround-extra2, output:hdmi-surround71-extra2
		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-surround-extra3, output:hdmi-surround71-extra3
		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-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #1
	Name: alsa_card.usb-Generic_USB_Audio-00
	Driver: module-alsa-card.c
	Owner Module: 7
	Properties:
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "2"
		device.description = "USB Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 32823, 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: 6565, available: yes)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 39323, available: yes)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34123, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34023, available: yes)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34123, available: yes)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34023, available: yes)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34123, available: yes)
		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 34023, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 38268, available: yes)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 38323, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, not available)
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:iec958-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo

Card #2
	Name: alsa_card.pci-0000_00_1f.3
	Driver: module-alsa-card.c
	Owner Module: 8
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x63218000 irq 192"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "7ad0"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, 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-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, 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)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra7: Digital Stereo (HDMI 8) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra7: Digital Surround 5.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra7: Digital Surround 7.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra8: Digital Stereo (HDMI 9) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra8: Digital Surround 5.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra8: Digital Surround 7.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra9: Digital Stereo (HDMI 10) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra9: Digital Surround 5.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra9: Digital Surround 7.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra10: Digital Stereo (HDMI 11) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra10: Digital Surround 5.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra10: Digital Surround 7.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		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-surround-extra1, output:hdmi-surround71-extra1
		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-surround-extra2, output:hdmi-surround71-extra2
		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-surround-extra3, output:hdmi-surround71-extra3
		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-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5
		hdmi-output-6: HDMI / DisplayPort 7 (type: HDMI, priority: 5300, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra6, output:hdmi-surround-extra6, output:hdmi-surround71-extra6
		hdmi-output-7: HDMI / DisplayPort 8 (type: HDMI, priority: 5200, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra7, output:hdmi-surround-extra7, output:hdmi-surround71-extra7
		hdmi-output-8: HDMI / DisplayPort 9 (type: HDMI, priority: 5100, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra8, output:hdmi-surround-extra8, output:hdmi-surround71-extra8
		hdmi-output-9: HDMI / DisplayPort 10 (type: HDMI, priority: 5000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra9, output:hdmi-surround-extra9, output:hdmi-surround71-extra9
		hdmi-output-10: HDMI / DisplayPort 11 (type: HDMI, priority: 4900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra10, output:hdmi-surround-extra10, output:hdmi-surround71-extra10
pactl list sinks
Sink #2
	State: RUNNING
	Name: alsa_output.usb-Generic_USB_Audio-00.analog-stereo
	Description: USB Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	Volume: front-left: 26196 /  40% / -23.89 dB,   front-right: 26196 /  40% / -23.89 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.analog-stereo.monitor
	Latency: 54041 usec, configured 40000 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "front:2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "USB Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, available)
	Active Port: analog-output-headphones
	Formats:
		pcm
pactl list sink-inputs
Sink Input #2
	Driver: protocol-native.c
	Owner Module: 13
	Client: 4
	Sink: 2
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 62295 /  95% / -1.32 dB,   front-right: 62295 /  95% / -1.32 dB
	        balance 0.00
	Buffer Latency: 114105 usec
	Sink Latency: 52645 usec
	Resample method: speex-float-1
	Properties:
		media.name = "Altın Gün - Goca Dünya - YouTube"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		application.process.id = "1040"
		application.process.user = "kubi"
		application.process.host = "mainpc"
		application.process.binary = "firefox"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "86f6c3f845394853b4f5cb38b820e880"
		application.process.session_id = "2"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"

I am using pulseaudio and I can see headphone plugged in pavucontrol. I mean, as soon as I plug headphones I can see 2 outputs headphones and speaker instead of only speaker. But sound still coming from speakers. When headphones are plugged in, when I increase volume in pavucontrol for headphones, speaker volume increases.

This happened after I try this command in the arch wiki:
Archwiki section:

Output stuck muted while Master is toggled

In setups with multiple outputs (e.g. 'Headphone' and 'Speaker') using plain amixer to toggle Master can trigger PulseAudio to mute the active output too, but it does not necessarily unmute it when Master is toggled back to be unmuted. [1] To resolve this, amixer must have the device flag set to 'pulse':

 amixer -D pulse sset Master toggle
amixer -D pulse sset Master toggle

Before the command above speakers was muted when I plug headphones and there was no sound.

Thanks for the reply.

Offline

#4 2021-12-25 12:49:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

So your main card is always that USB one. What's your output for

aplay -l
amixer -c2

Online

#5 2021-12-25 14:20:59

kubilaykandemir
Member
Registered: 2021-12-24
Posts: 6

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 13: HDMI 7 [HDMI 7]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 14: HDMI 8 [HDMI 8]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 15: HDMI 9 [HDMI 9]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 16: HDMI 10 [HDMI 10]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 17: HDMI 11 [HDMI 11]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 3: USB Audio [USB Audio #3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
amixer -c2
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 56 [64%] [-23.25dB] [on]
  Front Right: Playback 55 [63%] [-24.00dB] [on]
  Rear Left: Playback 56 [64%] [-23.25dB] [on]
  Rear Right: Playback 56 [64%] [-23.25dB] [on]
  Front Center: Playback 56 [64%] [-23.25dB] [on]
  Woofer: Playback 56 [64%] [-23.25dB] [on]
  Side Left: Playback 56 [64%] [-23.25dB] [on]
  Side Right: Playback 56 [64%] [-23.25dB] [on]
Simple mixer control 'PCM',1
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 60 [69%] [-20.25dB] [on]
  Front Right: Playback 60 [69%] [-20.25dB] [on]
Simple mixer control 'PCM',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Line',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 39
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 39
  Front Left: Capture 23 [59%] [0.00dB] [on]
  Front Right: Capture 23 [59%] [0.00dB] [on]
Simple mixer control 'Analog In',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 39
  Front Left: Capture 23 [59%] [0.00dB] [on]
  Front Right: Capture 23 [59%] [0.00dB] [on]

Offline

#6 2021-12-25 20:49:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Right, that's probably one of the weirdest mixer setups I've ever seen.

The quick and dirty fix would be trying to load

pacmd load-module module-alsa-sink name='Front Panel Headphone' device=1 device_id=2 control='PCM',1

which should™ give you a secondary sink that is "just" for the headphones. The more involved fix would be to properly fix the profile/setup paths for the controller in question.

If the loading worked, you can technically add that line without the leading pacmd to your /etc/pulse/default.pa for the "proper" fix I got to look through the current logical setup again, to find out how we can adjust this.

Online

#7 2021-12-26 02:53:47

kubilaykandemir
Member
Registered: 2021-12-24
Posts: 6

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Hi,

Thanks for reply, but the command didn't fix the problem. I can not still have the sound from headphone jack. Even if I change the output to headphone( plugged in) from pavucontrol, sound still coming from speakers.

Offline

#8 2021-12-26 04:05:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Did the command not work/give an error? You should have a completely new sink you can switch that is not (yet) tied to the port switching logic.

Online

#9 2021-12-26 06:59:21

kubilaykandemir
Member
Registered: 2021-12-24
Posts: 6

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

No errors but.

I still can not get any sound from headphone jack. Sound is still coming from speakers.

pacmd list-sinks
1 sink(s) available.
  * index: 16
	name: <alsa_output.usb-Generic_USB_Audio-00.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9049
	volume: front-left: 29649 /  45% / -20.67 dB,   front-right: 29649 /  45% / -20.67 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 74.18 ms
	max request: 12 KiB
	max rewind: 12 KiB
	monitor source: 16
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 75.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.usb-Generic_USB_Audio-00>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "front:2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "USB Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>

I gives me this. It says there is only one sink available. Pavucontrol still shows me 2 output devices when I plug headphones. ( speakers and headphones).

pacmd load-module module-alsa-sink name='Front Panel Headphone' device=1 device_id=2 control='PCM',1

No errors with this. I think error with this even though I can see headphones plugged in, volume control still controls the speakers. I do not know why as soon as I plug the headphones, speakers recognized as headphones in pavucontrol.

Last edited by kubilaykandemir (2021-12-26 07:14:07)

Offline

#10 2021-12-26 07:42:48

kubilaykandemir
Member
Registered: 2021-12-24
Posts: 6

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Thank you.

Finally I made it work. I do not know why, but I had to change the command to this.

pacmd load-module module-alsa-sink device=hw:Audio,1 control='PCM',1

Edit: Last version of the command let me see the Headphone name in pavucontrol.

pacmd load-module module-alsa-sink sink_name="Headphones" sink_properties=device.description="Headphones" device=hw:Audio,1 control='PCM',1

With this code I get a output like this.

pacmd list-sinks
2 sink(s) available.
    index: 0
	name: <alsa_output.usb-Generic_USB_Audio-00.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9049
	volume: front-left: 35912 /  55% / -15.67 dB,   front-right: 35912 /  55% / -15.67 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 47.83 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.usb-Generic_USB_Audio-00>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "front:2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "USB Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
  * index: 1
	name: <Headphones>
	driver: <module-alsa-sink.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9040
	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
	volume steps: 65537
	muted: no
	current latency: 55.82 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 3
	configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
	module: 26
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio #1"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "hw:Audio,1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.description = "Headphones"
		device.icon_name = "audio-card-usb"

This time headphones works. But when I unplug it speakers does not work. To make them work. I had to use this code below.

pacmd set-default-sink 0

To switch back to headphones I have use use

pacmd set-default-sink 1

For now this is okey for me. But still I need to find a ways automate this.
Edit: I realized I can do this in gui with pavucontrol.
Edit: One last thing, I can get a sound from front panel jack but it is kinda low. At %100, I think I am getting 60 70 percent volume from my headphones. I couldn't figure out.

Last edited by kubilaykandemir (2021-12-26 08:23:44)

Offline

#11 2021-12-26 12:28:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Yes as mentioned this is a manual hack that none of the normal automations will work with. This is just for theory testing. To properly tie this into auto switching logic you will have to create custom paths/profiles in /usr/share/pulseaudio/alsa-mixer/{paths,profile-sets} which can be a bit more involved, but I'll look at those mixers again and try to come up with something.

As for the volume, double check in amixer -c2 (... or alsamixer -c2 for that matter) that PCM,1 is actually the correct volume to control (e.g. whether you see it change when you change things in pavucontrol and hear it have an effect when you change it from alsamixer)

Online

#12 2022-01-07 08:10:14

nmyggg
Member
Registered: 2022-01-07
Posts: 1

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Hi,
i have same problem but i use pipewire driver how to set device=hw:Audio,1

pactl list cards

Card #41
	Name: alsa_card.usb-Generic_USB_Audio-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		api.alsa.card.name = "USB Audio"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		device.description = "USB Audio"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "USB Audio"
		device.plugged.usec = "9659815"
		device.product.id = "45570"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		device.sysfs.path = "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card1"
		device.vendor.id = "3504"
		device.vendor.name = "Micro Star International"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "41"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "1"
	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: no)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6555, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: no)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 5555, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: no)
		output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: no)
		output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: no)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: no)
		output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: no)
		output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
		pro-audio: Pro Audio (sinks: 4, sources: 3, 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, not available)
			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:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 2"
				card.profile.port = "1"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "2"
			Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "speaker"
				port.availability-group = "Legacy 3"
				device.icon_name = "audio-speakers"
				card.profile.port = "3"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:iec958-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 4, available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 4"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "5"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo

Card #42
	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 0x42e18000 irq 175"
		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 = "7156836"
		device.product.id = "31440"
		device.subsystem = "sound"
		device.sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "32902"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "42"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x42e18000 irq 175"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: yes)
		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-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra7: Digital Stereo (HDMI 8) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra8: Digital Stereo (HDMI 9) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra9: Digital Stereo (HDMI 10) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra10: Digital Stereo (HDMI 11) Output (sinks: 1, sources: 0, priority: 5700, 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)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra7: Digital Surround 5.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra7: Digital Surround 7.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra8: Digital Surround 5.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra8: Digital Surround 7.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra9: Digital Surround 5.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra9: Digital Surround 7.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra10: Digital Surround 5.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra10: Digital Surround 7.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 12, sources: 0, priority: 1, available: yes)
	Active Profile: output:hdmi-stereo
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, 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-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, 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-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
		hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, 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-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, 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-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5
		hdmi-output-6: HDMI / DisplayPort 7 (type: HDMI, priority: 5300, latency offset: 0 usec, availability group: Legacy 7, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 7"
				device.icon_name = "video-display"
				card.profile.port = "6"
			Part of profile(s): output:hdmi-stereo-extra6, output:hdmi-surround-extra6, output:hdmi-surround71-extra6
		hdmi-output-7: HDMI / DisplayPort 8 (type: HDMI, priority: 5200, latency offset: 0 usec, availability group: Legacy 8, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 8"
				device.icon_name = "video-display"
				card.profile.port = "7"
			Part of profile(s): output:hdmi-stereo-extra7, output:hdmi-surround-extra7, output:hdmi-surround71-extra7
		hdmi-output-8: HDMI / DisplayPort 9 (type: HDMI, priority: 5100, latency offset: 0 usec, availability group: Legacy 9, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 9"
				device.icon_name = "video-display"
				card.profile.port = "8"
			Part of profile(s): output:hdmi-stereo-extra8, output:hdmi-surround-extra8, output:hdmi-surround71-extra8
		hdmi-output-9: HDMI / DisplayPort 10 (type: HDMI, priority: 5000, latency offset: 0 usec, availability group: Legacy 10, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 10"
				device.icon_name = "video-display"
				card.profile.port = "9"
			Part of profile(s): output:hdmi-stereo-extra9, output:hdmi-surround-extra9, output:hdmi-surround71-extra9
		hdmi-output-10: HDMI / DisplayPort 11 (type: HDMI, priority: 4900, latency offset: 0 usec, availability group: Legacy 11, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 11"
				device.icon_name = "video-display"
				card.profile.port = "10"
			Part of profile(s): output:hdmi-stereo-extra10, output:hdmi-surround-extra10, output:hdmi-surround71-extra10

list sinks

Sink #43
	State: RUNNING
	Name: alsa_output.usb-Generic_USB_Audio-00.analog-stereo
	Description: USB Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 30490 /  47% / -19.94 dB,   front-right: 30490 /  47% / -19.94 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
	Properties:
		alsa.card = "1"
		alsa.card_name = "USB Audio"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		api.alsa.card.name = "USB Audio"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "9"
		device.api = "alsa"
		device.class = "sound"
		device.id = "41"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio Analog Stereo"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.analog-stereo"
		node.nick = "USB Audio"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:front:1:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "43"
		node.max-latency = "32768/48000"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 3, not available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 4, available)
	Active Port: analog-output-headphones
	Formats:
		pcm

Sink #45
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo
	Description: Built-in Audio Digital Stereo (HDMI)
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 60620 /  92% / -2.03 dB,   front-right: 60620 /  92% / -2.03 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "3"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 0"
		alsa.long_card_name = "HDA Intel PCH at 0x42e18000 irq 175"
		alsa.name = "HDMI 0"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0x42e18000 irq 175"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hdmi:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "12"
		device.api = "alsa"
		device.class = "sound"
		device.id = "42"
		device.profile.description = "Digital Stereo (HDMI)"
		device.profile.name = "hdmi-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio Digital Stereo (HDMI)"
		node.name = "alsa_output.pci-0000_00_1f.3.hdmi-stereo"
		node.nick = "HDA Intel PCH"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:hdmi:0:playback"
		priority.driver = "696"
		priority.session = "696"
		factory.id = "18"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "45"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, available)
	Active Port: hdmi-output-0
	Formats:
		pcm

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 13: HDMI 7 [HDMI 7]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 14: HDMI 8 [HDMI 8]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 15: HDMI 9 [HDMI 9]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 16: HDMI 10 [HDMI 10]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 17: HDMI 11 [HDMI 11]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [USB Audio], device 3: USB Audio [USB Audio #3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Update:

cp /usr/share/pipewire/pipewire.conf ~/.config/pipewire/

add below to module section
    {
        factory = adapter
        args = {
            factory.name = api.alsa.pcm.sink
            node.name = "alsa-sink"
            node.description = "Front Headphones"
            media.class = "Audio/Sink"
            api.alsa.path = "hw:Audio,1"
            audio.channels = 2
            audio.position = "FL,FR"
            }
    }

systemctl --user restart pipewire

Last edited by nmyggg (2022-01-19 17:31:39)

Offline

#13 2022-01-16 17:34:33

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

MSI Z690 Edge board here, similar issue with Realtek ALC4080.

No sound from SPDIF output in either Arch or Debian Bullseye after install.

Verified SPDIF output is operational via Windows 11.

$ pactl list cards
Card #0
	Name: alsa_card.pci-0000_01_00.1
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0x64080000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fb9"
		device.product.name = "GP107GL High Definition Audio Controller"
		device.string = "1"
		device.description = "GP107GL High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, 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)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:hdmi-stereo
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "video-display"
				device.product.name = "PHL 328E1
   "
			Part of profile(s): output:hdmi-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-surround-extra1, output:hdmi-surround71-extra1
		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-surround-extra2, output:hdmi-surround71-extra2
		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-surround-extra3, output:hdmi-surround71-extra3
		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-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #1
	Name: alsa_card.usb-Generic_USB_Audio-00
	Driver: module-alsa-card.c
	Owner Module: 7
	Properties:
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-11, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:11:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "1feb"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "2"
		device.description = "USB Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 32823, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6555, available: yes)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: yes)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: yes)
		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 38268, available: yes)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 38323, available: yes)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: no)
		output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 33123, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:iec958-stereo+input:iec958-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, not available)
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo, output:iec958-ac3-surround-51+input:iec958-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:iec958-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo

Card #2
	Name: alsa_card.pci-0000_00_1f.3
	Driver: module-alsa-card.c
	Owner Module: 8
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x64618000 irq 155"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "7ad0"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, 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-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, 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-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, 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)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra7: Digital Stereo (HDMI 8) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra7: Digital Surround 5.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra7: Digital Surround 7.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra8: Digital Stereo (HDMI 9) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra8: Digital Surround 5.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra8: Digital Surround 7.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra9: Digital Stereo (HDMI 10) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra9: Digital Surround 5.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra9: Digital Surround 7.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra10: Digital Stereo (HDMI 11) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra10: Digital Surround 5.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra10: Digital Surround 7.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		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-surround-extra1, output:hdmi-surround71-extra1
		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-surround-extra2, output:hdmi-surround71-extra2
		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-surround-extra3, output:hdmi-surround71-extra3
		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-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5
		hdmi-output-6: HDMI / DisplayPort 7 (type: HDMI, priority: 5300, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra6, output:hdmi-surround-extra6, output:hdmi-surround71-extra6
		hdmi-output-7: HDMI / DisplayPort 8 (type: HDMI, priority: 5200, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra7, output:hdmi-surround-extra7, output:hdmi-surround71-extra7
		hdmi-output-8: HDMI / DisplayPort 9 (type: HDMI, priority: 5100, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra8, output:hdmi-surround-extra8, output:hdmi-surround71-extra8
		hdmi-output-9: HDMI / DisplayPort 10 (type: HDMI, priority: 5000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra9, output:hdmi-surround-extra9, output:hdmi-surround71-extra9
		hdmi-output-10: HDMI / DisplayPort 11 (type: HDMI, priority: 4900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra10, output:hdmi-surround-extra10, output:hdmi-surround71-extra10
$ pactl list sinks
Sink #0
	State: RUNNING
	Name: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo
	Description: USB Audio Digital Stereo (IEC958)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	Volume: front-left: 68392 / 104% / 1.11 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance -0.04
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo.monitor
	Latency: 100171 usec, configured 90000 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-11, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:11:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "1feb"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "iec958:2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "USB Audio Digital Stereo (IEC958)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
	Active Port: iec958-stereo-output
	Formats:
		pcm

Sink #1
	State: SUSPENDED
	Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
	Description: GP107GL High Definition Audio Controller Digital Stereo (HDMI)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	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_01_00.1.hdmi-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0x64080000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fb9"
		device.product.name = "GP107GL High Definition Audio Controller"
		device.string = "hdmi:1"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "GP107GL High Definition Audio Controller Digital Stereo (HDMI)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
	Active Port: hdmi-output-0
	Formats:
		pcm
$ pactl list sink-inputs
Sink Input #1
	Driver: protocol-native.c
	Owner Module: 13
	Client: 6
	Sink: 0
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"s16le\""  format.channels = "2"  format.rate = "44100"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 63158 /  96% / -0.96 dB,   front-right: 63158 /  96% / -0.96 dB
	        balance 0.00
	Buffer Latency: 62539 usec
	Sink Latency: 102913 usec
	Resample method: n/a
	Properties:
		media.name = "'Soul Wars' by 'Awolnation'"
		application.name = "Clementine"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		media.role = "music"
		application.process.id = "2979"
		application.process.user = "me"
		application.process.host = "myhost"
		application.process.binary = "clementine"
		application.language = "en_US.UTF-8"
		window.x11.display = ":1"
		application.process.machine_id = "b1fa067dbeb84216ab8d4c29c1b78033"
		module-stream-restore.id = "sink-input-by-media-role:music"
		media.title = "Soul Wars"
		media.artist = "Awolnation"
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 13: HDMI 7 [HDMI 7]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 14: HDMI 8 [HDMI 8]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 15: HDMI 9 [HDMI 9]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 16: HDMI 10 [HDMI 10]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 17: HDMI 11 [HDMI 11]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 3: USB Audio [USB Audio #3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#14 2022-01-17 15:52:44

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Tried pipewire instead of pulse, same result unfortunately. Again, it works flawlessly in Win11.

pavucontrol shows the correct configuration and shows playing volume levels. My receiver also indicates when the SPDIF is plugged/unplugged from the source.

Time to dig into kernel mailing lists and/or just order a soundcard meanwhile.

Offline

#15 2022-01-17 15:58:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Did you try what has been mentioned here? The setup does look similar and should be relevantly testable using the same approach.

Online

#16 2022-01-17 18:34:18

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

I must be getting lazy! Thanks for replying and prompting me to actually fix this.

To get functional S/PDIF output via pulseaudio with the ALC4080, this is what worked for me:

pacmd load-module module-alsa-sink sink_name="SPDIF-Fix" sink_properties=device.description="SPDIF-Fix" device=hw:Audio,2 control='PCM',1

Giving me the 2 sinks:

$ pacmd list-sinks
2 sink(s) available.
  * index: 0
	name: <alsa_output.usb-Generic_USB_Audio-00.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9047
	volume: front-left: 56827 /  87% / -3.72 dB,   front-right: 56827 /  87% / -3.72 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 51.66 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.usb-Generic_USB_Audio-00>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-11, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:11:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "1feb"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "iec958:2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "USB Audio Digital Stereo (IEC958)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>
    index: 1
	name: <SPDIF-Fix>
	driver: <module-alsa-sink.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9040
	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
	volume steps: 65537
	muted: no
	current latency: 52.34 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
	module: 26
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio #2"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "2"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-11, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:11:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "1feb"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "hw:Audio,2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.description = "SPDIF-Fix"
		device.icon_name = "audio-card-usb"

@V1del & @kubilaykandemir - Thank you both so much!

Offline

#17 2022-01-17 20:49:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

To fix this "properly" we'd have to do some pulse config but as mentioned I couldn't look at it closely enough yet to try my hand at fixing this, and I obviously don't have the HW to test, but one of you might want to open a bug/feature request to pulseaudio so that it properly covers the necessary changes for the mixer.

I might get some free time to look at creating a profile at the end of the week or so. If you want to try your own hand it, the documentation for writting pulse profiles is located at: https://www.freedesktop.org/wiki/Softwa … /Profiles/

Online

#18 2022-02-27 16:36:53

brunojcm
Member
Registered: 2022-02-27
Posts: 3

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Same setup as the OP here, MSI Z690 Tomahawk. Same problem with the headphones.

The test with aplay works for me, and the workaround of creating another sink also works:

pacmd load-module module-alsa-sink sink_name="Headphones" sink_properties=device.description="Headphones" device=hw:Audio,1 control='PCM',1

I'm interested in helping with a more definitive solution, as I'll be using this system long term.

What is exactly a sink? Where can I learn more about the PulseAudio architecture?
I'm asking that because I think the actual fix is not going to be another sink, some some other kind of configuration.

When I plug my headphones, I can already see a new "Headphones - USB Audio" in the gnome settings, and in pavucontrol I can also see another port option called "Headphones (plugged in)" under the "USB Audio Analog Stereo" device. It seems to me that this "Headphones (plugged in)", whatever that is, is just not sending sound to device=hw:1,1

When I create the new sink, it works and shows as a new "Output Device" in pavucontrol, as a sibling of "USB Audio Analog Stereo".

V1del, do you still think we need to configure an entire new profile to fix this?

I'm happy to help in any way possible, or with the correct guidance, I can deep dive on this, but at the moment I know very little about PulseAudio.

Offline

#19 2022-02-27 21:02:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

A sink is what pulse refers to as a place where applications "sink" their audio into, for most normal purposes this will be an output of your actual physical card, but can technically be anything including equalizer and adjustment filters, it's ultimately what can be used to take application audio (sink-inputs) and pass through various sinks. I've written a more detailed explanation to someone else asking something in that direction will see if I can dig that up https://bbs.archlinux.org/viewtopic.php … 6#p1881656 . Other than that, this blog post is relatively useful at explaining how this works: https://gavv.github.io/articles/pulseau … components

As for a more proper fix, while I didn't get to it, sorry about that, another user did after pointing them to this thread so you might want to copy their approach: https://bbs.archlinux.org/viewtopic.php … 6#p2019136

Hope this helps.

Last edited by V1del (2022-02-27 21:03:28)

Online

#20 2022-02-28 17:16:04

brunojcm
Member
Registered: 2022-02-27
Posts: 3

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

I'll have a look in the other solution more carefully later, but it seems too much to fix this problem.

With my headphones plugged, that's what I see with list-sinks (we also have a index 1, but it's my HDMI sink and irrelevant for this problem):

[brunojcm@brunojcm-dekstop ~]$ pacmd list-sinks
2 sink(s) available.
  * index: 0
	name: <alsa_output.usb-Generic_USB_Audio-00.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9049
	volume: front-left: 57672 /  88% / -3.33 dB,   front-right: 57672 /  88% / -3.33 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 46.33 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.usb-Generic_USB_Audio-00>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card1"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "b202"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "USB Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>

You see in the end this sink has two ports? that matches what I see in gnome. So, as far as I can see, we are not missing any udev rule or anything like that, we just don't have this analog-output-headphones "port" (whatever that is) "pointing" to hw:1,1 as we do when we configure a new sink.

V1del, do you know how add (or fix) a port inside a sink instead of adding an entire new sink? I think this would be a way simpler fix as the jack connection detection etc seems to be working fine.

Last edited by brunojcm (2022-02-28 17:16:50)

Offline

#21 2022-02-28 18:42:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Yes, with an appropriate profile configuration. Where do you think the existing profile/port/sink logic comes from? From the relevant profile configuration, that has a certain set of standard assumptions that don't hold for this/our current case. The standard configuration assumes that the headphones are always part of the main device (think, a subset of the main analog card), which is true for the vast majority of cases and not for this particular one, which is why you need to create a deviating config, once we are certain the deviating config is correct, we can upstream it so no one has to ever bother with this again. You can look at the directories mentioned in the profiles link and you will notice that there are a lot of special cases and special profiles for different card models, this is in and of itself nothing out of the ordinary to do so.

The main problem from this output you posted is

alsa.subdevice = "0"

. that's the thing that needs to switch to subdevice = "1" when switching to the headphone profile and it also needs to switch back to "0" when the jack detect switches back to the speaker output, the default behaviour assumes that this isn't necessary as this is normally handled transparently and in HW (... so both speaker and headphone are logically on the same subdevice). And if you wanted to do that without a real profile you'd be loading distinct sinks again, the point of the profile is that sinks can be configured on demand according to the port logistics. With an appropriately configured profile config you can tell pulseaudio that this is the case and needs to be done.

If I'm knowing pulse logistics correctly doing this simple adjustment as linked will automatically fix the ports as well and give you the correct profile/sink/ports collection anyway, but doing the switchover properly.

Last edited by V1del (2022-02-28 19:18:05)

Online

#22 2022-03-01 15:07:16

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Update - this issue has caught the attention of a pulse developer.

I filed a bug a while ago..
https://gitlab.freedesktop.org/pulseaud … ssues/1334

...which has since been closed/merged into a similar one, where this issue can be now be tracked here:
https://gitlab.freedesktop.org/pulseaud … ssues/1337

Unfortunately, while I'm very happy to have functional audio via added sink workaround (thanks again guys!) on Arch, it seems I'm out of luck on Debian. Oh well, that's more of a devops install and Arch is my daily driver thankfully.

EDIT, I'll also try the udev workaround mentioned here on Debian today, but I won't pollute this forum with any more talk of the non-Arch stuff tho.

Last edited by tekstryder (2022-03-01 15:10:18)

Offline

#23 2022-03-01 15:11:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Did/can you test the profile I mentioned in my earlier post? That should generally work, drop the need for a manual sink and might give an additional datapoint to get this actually fixed in the upstream report. I might follow/drop in a bit on the bug report if there's anything I can help with, but as stated it's somewhat difficult making definitive assessment without a test setup.

Online

#24 2022-03-01 16:10:34

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

This sure seems promising. Hopefully I just need a minor adjustment to the linked udev fix.

Seems all the profiles are applied but mostly "unavailable", whatever that means.

EDIT: I am only interested in S/PDIF output. I have no input devices, nor any analog output means.

Card #1
	Name: alsa_card.usb-Generic_USB_Audio-00
	Driver: module-alsa-card.c
	Owner Module: 7
	Properties:
		alsa.card = "1"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-11, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:11:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/sound/card1"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "0db0"
		device.vendor.name = "Micro Star International"
		device.product.id = "1feb"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "1"
		device.description = "USB Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profiles:
		input:analog-msi-fp: MSI Front panel Input (sinks: 0, sources: 1, priority: 66, available: no)
		input:analog-msi-bp: MSI Back panel Input (sinks: 0, sources: 1, priority: 65, available: no)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
		output:analog-msi-fp: MSI Front panel Output (sinks: 1, sources: 0, priority: 6600, available: no)
		output:analog-msi-fp+input:analog-msi-fp: MSI Front panel Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 6666, available: no)
		output:analog-msi-fp+input:analog-msi-bp: MSI Front panel Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 6665, available: no)
		output:analog-msi-fp+input:iec958-stereo: MSI Front panel Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6655, available: no)
		output:analog-msi-bp: MSI Back panel Output (sinks: 1, sources: 0, priority: 6500, available: no)
		output:analog-msi-bp+input:analog-msi-fp: MSI Back panel Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 6566, available: no)
		output:analog-msi-bp+input:analog-msi-bp: MSI Back panel Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 6565, available: no)
		output:analog-msi-bp+input:iec958-stereo: MSI Back panel Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6555, available: no)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-21+input:analog-msi-fp: Analog Surround 2.1 Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 1366, available: no)
		output:analog-surround-21+input:analog-msi-bp: Analog Surround 2.1 Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-40+input:analog-msi-fp: Analog Surround 4.0 Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 1266, available: no)
		output:analog-surround-40+input:analog-msi-bp: Analog Surround 4.0 Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: no)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-41+input:analog-msi-fp: Analog Surround 4.1 Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 1366, available: no)
		output:analog-surround-41+input:analog-msi-bp: Analog Surround 4.1 Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: no)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-50+input:analog-msi-fp: Analog Surround 5.0 Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 1266, available: no)
		output:analog-surround-50+input:analog-msi-bp: Analog Surround 5.0 Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-51+input:analog-msi-fp: Analog Surround 5.1 Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 1366, available: no)
		output:analog-surround-51+input:analog-msi-bp: Analog Surround 5.1 Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: no)
		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-71+input:analog-msi-fp: Analog Surround 7.1 Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 1266, available: no)
		output:analog-surround-71+input:analog-msi-bp: Analog Surround 7.1 Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: no)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		output:iec958-stereo+input:analog-msi-fp: Digital Stereo (IEC958) Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 5566, available: no)
		output:iec958-stereo+input:analog-msi-bp: Digital Stereo (IEC958) Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 5565, available: no)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 5555, available: yes)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		output:iec958-ac3-surround-51+input:analog-msi-fp: Digital Surround 5.1 (IEC958/AC3) Output + MSI Front panel Input (sinks: 1, sources: 1, priority: 366, available: no)
		output:iec958-ac3-surround-51+input:analog-msi-bp: Digital Surround 5.1 (IEC958/AC3) Output + MSI Back panel Input (sinks: 1, sources: 1, priority: 365, available: no)
		output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 355, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:iec958-stereo+input:analog-msi-bp
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-msi-fp, input:analog-msi-bp, output:analog-msi-fp+input:analog-msi-fp, output:analog-msi-fp+input:analog-msi-bp, output:analog-msi-bp+input:analog-msi-fp, output:analog-msi-bp+input:analog-msi-bp, output:analog-surround-21+input:analog-msi-fp, output:analog-surround-21+input:analog-msi-bp, output:analog-surround-40+input:analog-msi-fp, output:analog-surround-40+input:analog-msi-bp, output:analog-surround-41+input:analog-msi-fp, output:analog-surround-41+input:analog-msi-bp, output:analog-surround-50+input:analog-msi-fp, output:analog-surround-50+input:analog-msi-bp, output:analog-surround-51+input:analog-msi-fp, output:analog-surround-51+input:analog-msi-bp, output:analog-surround-71+input:analog-msi-fp, output:analog-surround-71+input:analog-msi-bp, output:iec958-stereo+input:analog-msi-fp, output:iec958-stereo+input:analog-msi-bp, output:iec958-ac3-surround-51+input:analog-msi-fp, output:iec958-ac3-surround-51+input:analog-msi-bp
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, not available)
			Part of profile(s): input:analog-msi-fp, input:analog-msi-bp, output:analog-msi-fp+input:analog-msi-fp, output:analog-msi-fp+input:analog-msi-bp, output:analog-msi-bp+input:analog-msi-fp, output:analog-msi-bp+input:analog-msi-bp, output:analog-surround-21+input:analog-msi-fp, output:analog-surround-21+input:analog-msi-bp, output:analog-surround-40+input:analog-msi-fp, output:analog-surround-40+input:analog-msi-bp, output:analog-surround-41+input:analog-msi-fp, output:analog-surround-41+input:analog-msi-bp, output:analog-surround-50+input:analog-msi-fp, output:analog-surround-50+input:analog-msi-bp, output:analog-surround-51+input:analog-msi-fp, output:analog-surround-51+input:analog-msi-bp, output:analog-surround-71+input:analog-msi-fp, output:analog-surround-71+input:analog-msi-bp, output:iec958-stereo+input:analog-msi-fp, output:iec958-stereo+input:analog-msi-bp, output:iec958-ac3-surround-51+input:analog-msi-fp, output:iec958-ac3-surround-51+input:analog-msi-bp
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): input:iec958-stereo, output:analog-msi-fp+input:iec958-stereo, output:analog-msi-bp+input:iec958-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo, output:iec958-ac3-surround-51+input:iec958-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-msi-fp, output:analog-msi-fp+input:analog-msi-fp, output:analog-msi-fp+input:analog-msi-bp, output:analog-msi-fp+input:iec958-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-msi-bp, output:analog-msi-bp+input:analog-msi-fp, output:analog-msi-bp+input:analog-msi-bp, output:analog-msi-bp+input:iec958-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-msi-fp, output:analog-surround-21+input:analog-msi-bp, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-msi-fp, output:analog-surround-40+input:analog-msi-bp, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-msi-fp, output:analog-surround-41+input:analog-msi-bp, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-msi-fp, output:analog-surround-50+input:analog-msi-bp, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-msi-fp, output:analog-surround-51+input:analog-msi-bp, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-msi-fp, output:analog-surround-71+input:analog-msi-bp, output:analog-surround-71+input:iec958-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-msi-fp, output:iec958-stereo+input:analog-msi-bp, output:iec958-stereo+input:iec958-stereo

Last edited by tekstryder (2022-03-01 16:12:58)

Offline

#25 2022-03-08 19:34:57

SneakyLittleman
Member
Registered: 2022-03-08
Posts: 14

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Hey there. I'm a lazy bastard, so I just copied and pasted the main above command and things worked perfectly!

pacmd load-module module-alsa-sink sink_name="Headphones" sink_properties=device.description="Headphones" device=hw:Audio,1 control='PCM',1

So I moved my lazy ass into gear to register and says thanks big_smile

A bit of info on my system:
Fresh Ubuntu install on an Asus Z690 hero motherboard. Latest kernel as of today (5.17rc7).
The audio codec is listed as ALC4082 (usb audio)
Very happy now! Xow + steam & Elden Ring + Proton Bleeding edge + Working audio = pure bliss!
Hope this gets fixed more cleanly later, but it will do for now.

Offline

Board footer

Powered by FluxBB