How to fix dummy output on asus x507m laptop? Suddenly stopped working headphone jack and internal speaker

how to fix dummy output, is it the driver issue or realtek chip is defected. i was using laptop normally and a popup for headphone connection, but i didn’t connected any headphone. also headphone is not detecting now. Any solution to reset drivers?

I have dual boot with window 10.

Welcome to Manjaro forum @LeamonArch

Dummy output is created when there is no other audio device available for audio playback

Please post more information about system

inxi -SMAa

and audio devices

pactl list cards

inixi -SMAa

System:
  Host: manjaro Kernel: 5.15.145-1-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.1 clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=56d798ec-a782-4fd4-b83b-5b713aacc3d1 ro quiet splash apparmor=1
    security=apparmor resume=UUID=ae7db692-da5f-48d8-bbfe-20243ab51ad7
    udev.log_priority=3
  Desktop: GNOME v: 45.2 tk: GTK v: 3.24.39 wm: gnome-shell dm: 1: GDM
    v: 43.0 2: LightDM v: 1.32.0 note: stopped 3: SDDM note: stopped
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook 15_ASUS Laptop X507MA_X507MA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X507MA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X507MA.310 date: 10/24/2019
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_apl bus-ID: 00:0e.0
    chip-ID: 8086:3198 class-ID: 0403
  API: ALSA v: k5.15.145-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-media-session
    status: active 2: pipewire-alsa type: plugin tools: pw-cat,pw-cli
  Server-3: PulseAudio v: 16.1 status: off tools: pacat,pactl,pavucontrol

pactl list cards

Card #44
	Name: alsa_card.pci-0000_00_0e.0
	Driver: alsa
	Owner Module: n/a
	Properties:
		device.enum.api = "udev"
		device.api = "alsa"
		media.class = "Audio/Device"
		api.alsa.path = "hw:0"
		api.alsa.card = "0"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.card.longname = "HDA Intel PCH at 0xa1210000 irq 127"
		device.plugged.usec = "6639651"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.subsystem = "sound"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0x3198"
		device.product.name = "Celeron/Pentium Silver Processor High Definition Audio"
		device.form_factor = "internal"
		device.name = "alsa_card.pci-0000_00_0e.0"
		device.description = "Built-in Audio"
		device.nick = "HDA Intel PCH"
		device.icon_name = "audio-card-pci"
		api.alsa.use-acp = "true"
		api.acp.auto-profile = "false"
		api.acp.auto-port = "false"
		api.dbus.ReserveDevice1 = "Audio0"
		factory.id = "14"
		client.id = "32"
		object.id = "44"
		object.serial = "44"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1210000 irq 127"
		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: no)
		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-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-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)
		pro-audio: Pro Audio (sinks: 5, sources: 0, priority: 1, available: yes)
	Active Profile: pro-audio
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not 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, output:hdmi-surround, output:hdmi-surround71
		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

No analog profiles shown for playback to speakers or headphones, only HDMI profiles

I suggest installing latest LTS kernel v6.6 using either Manjaro Settings Manager GUI or

sudo mhwd-kernel -i linux66

If pactl list cards still does not show analog profiles with later kernel, get more information about audio device detected in ALSA

sudo alsa-info.sh --with-dmesg --upload

I am using kernal 6.6 lts. And i also have windows 10 dual boot. sound is not working in windows too… is that means the realtek chip got damaged? is there any way to check it… like using live bootable linux or something?

lspci -k gave this:

00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03)
	Subsystem: ASUSTeK Computer Inc. Celeron/Pentium Silver Processor High Definition Audio
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_apl

realtek is not there is that a problem?

Many systems have 2 separate audio devices for HDMI and Analog audio
But this system only has one device for HDMI and Analog audio: Realtek ALC256

If audio device is working normally ALSA should detect playbck and capture devices:

HW probe of ASUSTek VivoBook 15 X507MA #78bb618578: aplay

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC256 Analog [ALC256 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
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

HW probe of ASUSTek VivoBook 15 X507MA #78bb618578: arecord

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC256 Analog [ALC256 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

If ALC256 Analog is not listed in alsa-info.sh as a playback or capture device, check if dmesg section is showing any error messages or is able to detect analog audio outputs and inputs

HW probe of ASUSTek VivoBook 15 X507MA #78bb618578: dmesg

[    4.223529] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC256: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.223533] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.223535] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.223537] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.223538] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.223540] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    4.223542] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x1b
[    4.223543] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x13

arecord -l
Screenshot from 2024-01-10 16-38-50

alsa-info.sh :
Screenshot from 2024-01-10 16-42-29

link : http://alsa-project.org/db/?f=3be0f60658cde916d8b563ec25abb0ad8e286347

!!ALSA/HDA dmesg
!!--------------

[    6.857000] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input13
[    6.857192] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.860127] fbcon: i915drmfb (fb0) is primary device
--
[    6.860136] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    7.056561] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input14
[    7.056627] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input15
[    7.056677] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input16