My sound does not work

inxi -Fxxxza --no-host
System:
  Kernel: 6.0.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: initrd=\06463945a6684dfdbb93718d41b27d84\6.0.12-arch1-1\initrd
    nvme_load=YES rw root=UUID=1849bc46-bf38-4749-bf24-5019dc4271ce
    systemd.machine_id=06463945a6684dfdbb93718d41b27d84
  Desktop: GNOME v: 43.2 tk: GTK v: 3.24.35 wm: gnome-shell dm: 1: GDM
    v: 43.0 2: LightDM v: 1.32.0 note: stopped Distro: EndeavourOS
    base: Arch Linux
Machine:
  Type: Convertible System: ASUSTeK product: Zenbook UP6502ZD_UP6502ZD v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: UP6502ZD v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: UP6502ZD.303 date: 05/16/2022
Battery:
  ID-1: BAT0 charge: 92.9 Wh (100.0%) condition: 92.9/96.0 Wh (96.8%)
    volts: 13.1 min: 11.7 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: full cycles: 14
  Device-1: hid-0018:04F3:2F09.0006-battery model: ELAN9008:00 04F3:2F09
    serial: N/A charge: N/A status: N/A
CPU:
  Info: model: 12th Gen Intel Core i7-12700H bits: 64 type: MST AMCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x424
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 2076 high: 2700 min/max: 400/4600:4700:3500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2700 2: 2700 3: 2700
    4: 2700 5: 2700 6: 2700 7: 516 8: 2700 9: 676 10: 2700 11: 688 12: 2700
    13: 536 14: 2700 15: 2700 16: 2700 17: 651 18: 2700 19: 666 20: 2700
    bogomips: 107560
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 0000:00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: Intel DG2 [Arc A370M] vendor: ASUSTeK driver: i915 v: kernel
    arch: Gen-12.7 code: Alchemist process: TSMC n6 (7nm) built: 2022+ ports:
    active: none empty: DP-3, DP-4, DP-5, DP-6, HDMI-A-3, HDMI-A-4, HDMI-A-5,
    HDMI-A-6, HDMI-A-7 bus-ID: 0000:04:00.0 chip-ID: 8086:5693 class-ID: 0380
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 3-9:3 chip-ID: 13d3:5497 class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: N/A unloaded: intel,modesetting
    alternate: fbdev,vesa dri: i965 gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x416e built: 2021 res: 2880x1620 dpi: 213
    gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: 2880x1620
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel Graphics (ADL GT2)
    direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: ASUSTeK
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Sound API: ALSA v: k6.0.12-arch1-1 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    modules: wl bus-ID: 0000:00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:4
    chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 953.87 GiB used: 12.3 GiB (1.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM001TD3JX013N
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 41000C20 temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 952.89 GiB size: 936.85 GiB (98.32%)
    used: 12.22 GiB (1.3%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 3400
Info:
  Processes: 387 Uptime: 8h 22m wakeups: 14554 Memory: 15.32 GiB
  used: 4.53 GiB (29.5%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1144
  libs: 297 tools: yay pm: flatpak pkgs: 0 Shell: Bash v: 5.1.16
  running-in: lxterminal inxi: 3.3.24

I looked into this forum and installed sof-firmware .

inxi -Fxxxa --no-host 
System:
  Kernel: 6.0.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: initrd=\06463945a6684dfdbb93718d41b27d84\6.0.12-arch1-1\initrd
    nvme_load=YES rw root=UUID=1849bc46-bf38-4749-bf24-5019dc4271ce
    systemd.machine_id=06463945a6684dfdbb93718d41b27d84
  Desktop: GNOME v: 43.2 tk: GTK v: 3.24.35 wm: gnome-shell dm: 1: GDM
    v: 43.0 2: LightDM v: 1.32.0 note: stopped Distro: EndeavourOS
    base: Arch Linux
Machine:
  Type: Convertible System: ASUSTeK product: Zenbook UP6502ZD_UP6502ZD v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: UP6502ZD v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: UP6502ZD.303 date: 05/16/2022
Battery:
  ID-1: BAT0 charge: 92.9 Wh (100.0%) condition: 92.9/96.0 Wh (96.8%)
    volts: 13.1 min: 11.7 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: full cycles: 14
  Device-1: hid-0018:04F3:2F09.0006-battery model: ELAN9008:00 04F3:2F09
    serial: N/A charge: N/A status: N/A
CPU:
  Info: model: 12th Gen Intel Core i7-12700H bits: 64 type: MST AMCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x424
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 2486 high: 2700 min/max: 400/4600:4700:3500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 470 2: 2700 3: 2700
    4: 2700 5: 2700 6: 2700 7: 654 8: 2700 9: 2700 10: 2700 11: 2700 12: 2700
    13: 2700 14: 2700 15: 2700 16: 2700 17: 2700 18: 2700 19: 2700 20: 2700
    bogomips: 107560
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 0000:00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: Intel DG2 [Arc A370M] vendor: ASUSTeK driver: i915 v: kernel
    arch: Gen-12.7 code: Alchemist process: TSMC n6 (7nm) built: 2022+ ports:
    active: none empty: DP-3, DP-4, DP-5, DP-6, HDMI-A-3, HDMI-A-4, HDMI-A-5,
    HDMI-A-6, HDMI-A-7 bus-ID: 0000:04:00.0 chip-ID: 8086:5693 class-ID: 0380
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 3-9:3 chip-ID: 13d3:5497 class-ID: fe01 serial: 200901010001
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: N/A unloaded: intel,modesetting
    alternate: fbdev,vesa dri: i965 gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x416e built: 2021 res: 2880x1620 dpi: 213
    gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: 2880x1620
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel Graphics (ADL GT2)
    direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: ASUSTeK
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Sound API: ALSA v: k6.0.12-arch1-1 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    modules: wl bus-ID: 0000:00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlan0 state: up mac: f0:b6:1e:3a:86:49
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:4
    chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 953.87 GiB used: 12.28 GiB (1.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM001TD3JX013N
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: FYA9N044711409T2A rev: 41000C20 temp: 43.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 952.89 GiB size: 936.85 GiB (98.32%)
    used: 12.19 GiB (1.3%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 3500
Info:
  Processes: 398 Uptime: 2m wakeups: 110 Memory: 15.32 GiB
  used: 3.24 GiB (21.2%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1144
  libs: 297 tools: yay pm: flatpak pkgs: 0 Shell: Bash v: 5.1.16
  running-in: lxterminal inxi: 3.3.24

this after installing sofi it still does not work

Hello,

Does your sound work via HDMI? Anyway, you probably need to toggle GPIO pin to enable integrated sound and mic, after the SOF is setup. I had to do this on my Asus Zenbook (UX5400) for audio chip to work, and your audio chip looks very similar to mine.

Install alsa-tools

yay -S alsa-tools

Toggle GPIO pin(s)

sudo -s
...
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x01
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x01
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00

After this, integrated sound should be working. If it does work, do not forget to create a startup script, because this needs to be toggled after each system restart.

Good luck.

sof-firmware should be installed per default already…

On alsa mixer you need to press F6 to select the soundcard… after this you can see the switches for tzhe soundcard…

Bildschirmfoto vom 2022-12-21 13-45-39

And as always welcome to nthe purple fun side of Linux :enos:

The tool of choice on audio issue is at first place pavucontrol as it can solve 80% of issues over a simple to use gui…

Make sure you pull off cards not used and enable the one you want to use for output and input (mic).
In configuration tab…

aside from that tab you can set options for input and output…

Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: ASUSTeK
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Sound API: ALSA v: k6.0.12-arch1-1 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes

your output does not show a general issue loading driver or soundeserver and stuff…

pactl list sinks
Summary
Sink #59
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink
	Description: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 3 Output
	Driver: PipeWire
	Sample Specification: s24-32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.class = "generic"
		alsa.device = "5"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		alsa.id = "HDMI3 (*)"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		alsa.name = ""
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		api.alsa.card.name = "sof-hda-dsp"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:sofhdadsp,5"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "46"
		device.profile.description = "HDMI / DisplayPort 3 Output"
		device.profile.name = "HiFi: hw:sofhdadsp,5: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink"
		node.nick = "HDMI / DisplayPort 3 Output"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:hw:sofhdadsp,5:playback"
		priority.driver = "664"
		priority.session = "664"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "59"
		object.serial = "59"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
		device.nick = "sof-hda-dsp"
		device.plugged.usec = "13317464"
		device.product.id = "0x51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, availability group: HDMI/DP,pcm=5, not available)
	Active Port: [Out] HDMI3
	Formats:
		pcm

Sink #60
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink
	Description: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 2 Output
	Driver: PipeWire
	Sample Specification: s24-32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.class = "generic"
		alsa.device = "4"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		alsa.id = "HDMI2 (*)"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		alsa.name = ""
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		api.alsa.card.name = "sof-hda-dsp"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:sofhdadsp,4"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "1"
		device.api = "alsa"
		device.class = "sound"
		device.id = "46"
		device.profile.description = "HDMI / DisplayPort 2 Output"
		device.profile.name = "HiFi: hw:sofhdadsp,4: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink"
		node.nick = "HDMI / DisplayPort 2 Output"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:hw:sofhdadsp,4:playback"
		priority.driver = "680"
		priority.session = "680"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "60"
		object.serial = "60"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
		device.nick = "sof-hda-dsp"
		device.plugged.usec = "13317464"
		device.product.id = "0x51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, availability group: HDMI/DP,pcm=4, not available)
	Active Port: [Out] HDMI2
	Formats:
		pcm

Sink #61
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink
	Description: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 1 Output
	Driver: PipeWire
	Sample Specification: s24-32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.class = "generic"
		alsa.device = "3"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		alsa.id = "HDMI1 (*)"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		alsa.name = ""
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		api.alsa.card.name = "sof-hda-dsp"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:sofhdadsp,3"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "2"
		device.api = "alsa"
		device.class = "sound"
		device.id = "46"
		device.profile.description = "HDMI / DisplayPort 1 Output"
		device.profile.name = "HiFi: hw:sofhdadsp,3: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink"
		node.nick = "HDMI / DisplayPort 1 Output"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:hw:sofhdadsp,3:playback"
		priority.driver = "696"
		priority.session = "696"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "61"
		object.serial = "61"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
		device.nick = "sof-hda-dsp"
		device.plugged.usec = "13317464"
		device.product.id = "0x51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, availability group: HDMI/DP,pcm=3, not available)
	Active Port: [Out] HDMI1
	Formats:
		pcm

Sink #62
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
	Description: Alder Lake PCH-P High Definition Audio Controller Speaker + Headphones
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65524 / 100% / -0.00 dB,   front-right: 65524 / 100% / -0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		alsa.id = "HDA Analog (*)"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		alsa.name = ""
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "ASUSTeKCOMPUTERINC.-ZenbookUP6502ZD_UP6502ZD-1.0-UP6502ZD"
		api.alsa.card.name = "sof-hda-dsp"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:sofhdadsp"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "3"
		device.api = "alsa"
		device.class = "sound"
		device.id = "46"
		device.profile.description = "Speaker + Headphones"
		device.profile.name = "HiFi: hw:sofhdadsp: sink"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink"
		node.nick = "Speaker + Headphones"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:hw:sofhdadsp:playback"
		priority.driver = "1000"
		priority.session = "1000"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "62"
		object.serial = "62"
		node.max-latency = "4096/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "8"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
		device.nick = "sof-hda-dsp"
		device.plugged.usec = "13317464"
		device.product.id = "0x51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		[Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
		[Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, not available)
	Active Port: [Out] Speaker
	Formats:
		pcm

Tried most of the thing i dont get how to change Toggle GPIO pin(s)
i copied and pasted this
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
nid = 0x1, verb = 0x715, param = 0x0
value = 0x0
[root@apevash]# hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x01
nid = 0x1, verb = 0x717, param = 0x1
value = 0x0
[root@apevash]# hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01
nid = 0x1, verb = 0x716, param = 0x1
value = 0x0
[root@apevash]# hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x01
nid = 0x1, verb = 0x715, param = 0x1
value = 0x0
[root@admin apevash]# hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
nid = 0x1, verb = 0x715, param = 0x0
value = 0x0
but the sound is not back

inxi -Aaz
Audio:
Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: ASUSTeK
driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
chip-ID: 8086:51c8 class-ID: 0401
Sound API: ALSA v: k6.0.12-arch1-1 running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.63 running: yes
Works with headphones

interesting part of pavucontrol is the configuration tab…