No headphone jack detection (ASUS Zephyrus)

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

Hi there

I have a Zephyrus GU502 with two jacks, one is Mic and the other is Headphone/Mic dual jack. Netiher port detects my headphones and they don't work when plugged in. The internal speaker works fine. When messing around with hdajackretask I was able to get the headphones to work on the mic port but it disabled the internal speaker. I've also switched to the latest kernal as there was a fix for the Realtek ALC256 but this didn't make a difference. Here are some outputs:

inxi -Fxz

Code: Select all

System:
  Host: user Kernel: 5.4.2-050402-generic x86_64 bits: 64 compiler: gcc 
  v: 9.2.1 Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: ASUSTeK product: Zephyrus M GU502GU_GU502GU v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: GU502GU v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: GU502GU.304 date: 07/11/2019 
Battery:
  ID-1: BAT0 charge: 62.5 Wh condition: 65.0/76.0 Wh (86%) 
  model: ASUSTeK ASUS Battery status: Discharging 
  Device-1: hidpp_battery_0 
  model: Logitech G304 Lightspeed Wireless Gaming Mouse charge: 100% 
  status: Discharging 
CPU:
  Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 12.0 MiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
  Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
Graphics:
  Device-1: Intel vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA vendor: ASUSTeK driver: N/A bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~144Hz 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 
  Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.2-050402-generic 
Network:
  Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi 
  v: kernel port: 5000 bus ID: 00:14.3 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus ID: 05:00.0 
  IF: eno2 state: down mac: <filter> 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 

aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 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
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
  
pacmd list-cards

Code: Select all

2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xa5080000 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 = "1aeb"
		device.string = "1"
		device.description = "HDA NVidia"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	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 0xa5518000 irq 165"
		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 = "a348"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
amixer

Code: Select all

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 76 [87%] [-8.25dB] [on]
  Front Right: Playback 76 [87%] [-8.25dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 51 [81%] [21.00dB] [off]
  Front Right: Capture 51 [81%] [21.00dB] [off]
Appreciate any help. Thanks

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

Hi pcgamez, and welcome to the forum.

The Headphone or Headset port isn't getting detected according to those outputs. Let's see the output of dmesg | grep snd

You could try this to see if it helps fix that:

Code: Select all

apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2
Reboot when done then see if dmesg | grep snd shows hp_outs=1

Good luck.

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

Thanks for your reply. I reinstalled and rebooted, unfortunately no change. Here's the output:

Code: Select all

[    4.463203] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.463265] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    4.463316] snd_hda_intel 0000:01:00.1: Disabling MSI
[    4.463325] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    4.530668] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    4.530672] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.530674] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.530675] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.530677] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.530679] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x12

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

Darn!

Any chance you have Windows on that machine? If so, boot to Windows and verify sound is working there. Also disable fast startup if it's enabled while you're there. Then completely power down, don't reboot. Wait a couple of minutes then power up into Mint and see if things have improved.

If that made no difference, check your sound settings in the BIOS. Some people have luck disabling it for one boot then re-enabling on the next boot to get Linux to see things properly.

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

I do have dual boot Windows, however I've already disabled fast boot and sound does work as expected in Windows. I tried disabling the sound card in the BIOS and re-enabling after a boot cycle to no avail.

Do you think this kernel patch needs to be extended to support my device? https://lore.kernel.org/alsa-devel/2019 ... lessm.com/

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

That patch already applies to your system. The diff shows it was adding ALC256 to the list:

Code: Select all

 	ALC225_FIXUP_WYSE_AUTO_MUTE,
 	ALC225_FIXUP_WYSE_DISABLE_MIC_VREF,
 	ALC286_FIXUP_ACER_AIO_HEADSET_MIC,
+	ALC256_FIXUP_ASUS_HEADSET_MIC,
 	ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
 	ALC299_FIXUP_PREDATOR_SPK,
 	ALC294_FIXUP_ASUS_INTSPK_HEADSET_MIC,
I don't know how much you played with hdajackretask, but I think at the moment it might be your best shot. Make sure you're only trying to change "Not connected" pins (after checking the box for Show unconnected pins) to Headphone. Also, only use the Headset port while trying this.

I'll try to come up with other ideas in the meantime.

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

I basically tried every option in hdajackretask, the non-advanced override options only let me select two of the pins as the headphone jack - one being pin 0x15 and the other 0x21 which doesn't work on the headphone port (though it changes the icon in pulseaudio to a headphone).

I also didn't have any luck using the advanced override though I wasn't sure if I was doing it entirely correctly. The only time the headphones worked was when I put the headphones into the mic jack after changing 2 of the pins

Screenshot of hdajackretask - https://imgur.com/a/tOcPHfK

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

That screenshot shows that you changed the speaker pin, 0x17 to headphone as well.

Let's try something different. In hdajackretask click on Remove boot override in case you ever clicked on Install boot override to undo the change.

Now, in the terminal, enter xed admin:///etc/modprobe.d/alsa-base.conf and when the file opens scroll to the bottom and add this new line:

Code: Select all

options snd-hda-intel model=dell-headset-multi
Don't worry about it saying dell. Save and close the file, ignore the warnings from the terminal, then reboot and see if you now have a headset option.

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

I appreciate your continued support! I followed your instructions but unfortunately nothing changed. I then rebooted with pulseaudio disabled (to use alsa as described here) and I can see the volume for headphones however I don't get any sound output at all (either speaker or headphone)

Screenshot of alsa mixer https://imgur.com/a/2Q132gA

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

That's great! Your Master column is muted. Just press the m key while that column is active to unmute, and hopefully your sound will start working.

EDIT: I don't see a speaker column there. I'm thinking that's still using the change from hdajackretask.

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

Ah I thought we might be there but whilst I could increase the volume on master and get sound from the internal speaker, the headphones still didn't change even when increasing headphone volume.

I tried deleting the pulseaudio config etc, fairly sure that isn't the reason internal speaking isn't showing as in the Sound panel I get "Speakers Built-in Audio" displayed and nothing else

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

Ahh, that Headphone column is actually headphone mic boost. This is almost definitely an issue with proper card detection.

Let's see if this helps. In the terminal enter xed admin:///etc/modprobe.d/alsa-base.conf and when the file opens scroll to the bottom and add this new line:

Code: Select all

options snd-hda-intel probe_mask=1
Save and close the file, ignore the warnings from the terminal then reboot and test your sound. If that breaks your sound, retry the above with probe_mask=8

I'm hoping that might help.

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

No change whatsoever! On probe_mask=1 the sound is exactly the same as before. With =8 it just stops working and shows dummy output

I'm really curious if it would work with another distro or if it's just this laptop

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

I'm thinking your system might still be a bit too new to have proper support.

But we can still try a few more things. In /etc/modprobe.d/alsa-base.conf, instead of dell-headset-multi, or probe_mask try this instead:

Code: Select all

options snd-hda-intel model=headset-mode
Save, reboot, test again.

Here's the full list of quirks for your card if you want to try other things as well:

Code: Select all

ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models)
===================================================================
laptop-amic
    Laptops with analog-mic input
laptop-dmic
    Laptops with digital-mic input
alc269-dmic
    Enable ALC269(VA) digital mic workaround
alc271-dmic
    Enable ALC271X digital mic workaround
inv-dmic
    Inverted internal mic workaround
headset-mic
    Indicates a combined headset (headphone+mic) jack
headset-mode
    More comprehensive headset support for ALC269 & co
headset-mode-no-hp-mic
    Headset mode support without headphone mic
lenovo-dock
    Enables docking station I/O for some Lenovos
hp-gpio-led
    GPIO LED support on HP laptops
hp-dock-gpio-mic1-led
    HP dock with mic LED support
dell-headset-multi
    Headset jack, which can also be used as mic-in
dell-headset-dock
    Headset jack (without mic-in), and also dock I/O
dell-headset3
    Headset jack (without mic-in), and also dock I/O, variant 3
dell-headset4
    Headset jack (without mic-in), and also dock I/O, variant 4
alc283-dac-wcaps
    Fixups for Chromebook with ALC283
alc283-sense-combo
    Combo jack sensing on ALC283
tpt440-dock
    Pin configs for Lenovo Thinkpad Dock support
tpt440
    Lenovo Thinkpad T440s setup
tpt460
    Lenovo Thinkpad T460/560 setup
tpt470-dock
    Lenovo Thinkpad T470 dock setup
dual-codecs
    Lenovo laptops with dual codecs
alc700-ref
    Intel reference board with ALC700 codec
vaio
    Pin fixups for Sony VAIO laptops
dell-m101z
    COEF setup for Dell M101z
asus-g73jw
    Subwoofer pin fixup for ASUS G73JW
lenovo-eapd
    Inversed EAPD setup for Lenovo laptops
sony-hweq
    H/W EQ COEF setup for Sony laptops
pcm44k
    Fixed PCM 44kHz constraints (for buggy devices)
lifebook
    Dock pin fixups for Fujitsu Lifebook
lifebook-extmic
    Headset mic fixup for Fujitsu Lifebook
lifebook-hp-pin
    Headphone pin fixup for Fujitsu Lifebook
lifebook-u7x7
    Lifebook U7x7 fixups
alc269vb-amic
    ALC269VB analog mic pin fixups
alc269vb-dmic
    ALC269VB digital mic pin fixups
hp-mute-led-mic1
    Mute LED via Mic1 pin on HP
hp-mute-led-mic2
    Mute LED via Mic2 pin on HP
hp-mute-led-mic3
    Mute LED via Mic3 pin on HP
hp-gpio-mic1
    GPIO + Mic1 pin LED on HP
hp-line1-mic1
    Mute LED via Line1 + Mic1 pins on HP
noshutup
    Skip shutup callback
sony-nomic
    Headset mic fixup for Sony laptops
aspire-headset-mic
    Headset pin fixup for Acer Aspire
asus-x101
    ASUS X101 fixups
acer-ao7xx
    Acer AO7xx fixups
acer-aspire-e1
    Acer Aspire E1 fixups
acer-ac700
    Acer AC700 fixups
limit-mic-boost
    Limit internal mic boost on Lenovo machines
asus-zenbook
    ASUS Zenbook fixups
asus-zenbook-ux31a
    ASUS Zenbook UX31A fixups
ordissimo
    Ordissimo EVE2 (or Malata PC-B1303) fixups
asus-tx300
    ASUS TX300 fixups
alc283-int-mic
    ALC283 COEF setup for Lenovo machines
mono-speakers
    Subwoofer and headset fixupes for Dell Inspiron
alc290-subwoofer
    Subwoofer fixups for Dell Vostro
thinkpad
    Binding with thinkpad_acpi driver for Lenovo machines
dmic-thinkpad
    thinkpad_acpi binding + digital mic support
alc255-acer
    ALC255 fixups on Acer machines
alc255-asus
    ALC255 fixups on ASUS machines
alc255-dell1
    ALC255 fixups on Dell machines
alc255-dell2
    ALC255 fixups on Dell machines, variant 2
alc293-dell1
    ALC293 fixups on Dell machines
alc283-headset
    Headset pin fixups on ALC283
aspire-v5
    Acer Aspire V5 fixups
hp-gpio4
    GPIO and Mic1 pin mute LED fixups for HP
hp-gpio-led
    GPIO mute LEDs on HP
hp-gpio2-hotkey
    GPIO mute LED with hot key handling on HP
hp-dock-pins
    GPIO mute LEDs and dock support on HP
hp-dock-gpio-mic
    GPIO, Mic mute LED and dock support on HP
hp-9480m
    HP 9480m fixups
alc288-dell1
    ALC288 fixups on Dell machines
alc288-dell-xps13
    ALC288 fixups on Dell XPS13
dell-e7x
    Dell E7x fixups
alc293-dell
    ALC293 fixups on Dell machines
alc298-dell1
    ALC298 fixups on Dell machines
alc298-dell-aio
    ALC298 fixups on Dell AIO machines
alc275-dell-xps
    ALC275 fixups on Dell XPS models
alc256-dell-xps13
    ALC256 fixups on Dell XPS13
lenovo-spk-noise
    Workaround for speaker noise on Lenovo machines
lenovo-hotkey
    Hot-key support via Mic2 pin on Lenovo machines
dell-spk-noise
    Workaround for speaker noise on Dell machines
alc255-dell1
    ALC255 fixups on Dell machines
alc295-disable-dac3
    Disable DAC3 routing on ALC295
alc280-hp-headset
    HP Elitebook fixups
alc221-hp-mic
    Front mic pin fixup on HP machines
alc298-spk-volume
    Speaker pin routing workaround on ALC298
dell-inspiron-7559
    Dell Inspiron 7559 fixups
ativ-book
    Samsung Ativ book 8 fixups
alc221-hp-mic
    ALC221 headset fixups on HP machines
alc256-asus-mic
    ALC256 fixups on ASUS machines
alc256-asus-aio
    ALC256 fixups on ASUS AIO machines
alc233-eapd
    ALC233 fixups on ASUS machines
alc294-lenovo-mic
    ALC294 Mic pin fixup for Lenovo AIO machines
alc225-wyse
    Dell Wyse fixups
alc274-dell-aio
    ALC274 fixups on Dell AIO machines
alc255-dummy-lineout
    Dell Precision 3930 fixups
alc255-dell-headset
    Dell Precision 3630 fixups
alc295-hp-x360
    HP Spectre X360 fixups
alc-sense-combo
    Headset button support for Chrome platform

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

Yeah it does seem that way. I tested headset-mode and various others to no avail, but I may work through the list and just see.

Once I figure this out I need to get to work on power management as it's not stretching far right now! One step at a time :)

corsarstl
Level 1
Level 1
Posts: 1
Joined: Thu May 07, 2020 4:35 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by corsarstl »

Hi everyone, i just googled this forum))
Recently I bought new Asus ROG Zephyrus M GU502GV-AZ070 laptop and faced same problem.
I have dual boot on my machine along with Windows 10 and Ubuntu 18.04.
tried a lot of thing recommended in the internet, tried playing with alsamixer, override pins, pulseaudio, tried to install Ubuntu 20.04, tried different versions of kernel (latest for 4.*, 5*), checked BIOS, tried cold boot/reboot, than just install Ubuntu as single OS on my drive - no sense((( On Windows everything is fine, but on Ubuntu only my speakers are working. I'm using linux system for my job as a developer and having headphones is very crucial for me.
So, I wanted to find out, pcgamez, maybe some solution worked for you if any?

iancmx
Level 1
Level 1
Posts: 13
Joined: Mon Jun 01, 2020 2:35 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by iancmx »

I have the exact same ASUS ROG Zephyrus M GU502GV and have the exact same problem. Dual booting windows and Manjaro. Similar to you guys, im unable to get detection for headphones. Speaker works fine tho. Any one manage to find a solution?

User avatar
Pierre
Level 20
Level 20
Posts: 10599
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: No headphone jack detection (ASUS Zephyrus)

Post by Pierre »

some issues are harder to fix than others,
and so if this Topic was not able to resolve the sound issue:
- - then it would be advisable, to start a New Topic, so that your own issue, can be addressed, if possible.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

pcgamez
Level 1
Level 1
Posts: 10
Joined: Mon Dec 09, 2019 1:09 am

Re: No headphone jack detection (ASUS Zephyrus)

Post by pcgamez »

Just to update this thread -- This issue is still unresolved and as far as I can tell it is the same across all Ubuntu based (probably all linux) distros. I have switched to Pop OS on Ubuntu 20 and the issue is still present.

Solutions are A) use Bluetooth headphones B) purchase an external audio interface (one that is known to work on linux of course)

On a separate issue, perhaps relevant to owners of the same machine, switching to Pop OS with Ubuntu 20 fixed my issues with the USB-C > Displayport for second monitor compatibility in case you're having issues on Mint.

User avatar
MrEen
Level 20
Level 20
Posts: 11603
Joined: Mon Jun 12, 2017 8:39 pm

Re: No headphone jack detection (ASUS Zephyrus)

Post by MrEen »

If you know how to compile the kernel yourself, Takashi Iwai has created a patch you can grab on the last post of this bug report. I suspect it will work, though no one has tested it yet.

Post Reply

Return to “Hardware Support”