Bug 190681

Summary: Headphone jack not working on Asus ROG G751JT
Product: Drivers Reporter: Cerberus (zeuhlord)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: high CC: hovardslill
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.8.0-27-generic Subsystem:
Regression: No Bisected commit-id:

Description Cerberus 2016-12-18 18:40:15 UTC
I bought Asus ROG G751JT laptop months ago and headphone jack does not work at all, you connect headphones (tested several pairs) and no sound is heard and speakers are not muted, headphones work perfectly with Windows 10 Home that came preinstalled on the laptop.

The issue persists on various distributions with different kernel versions, I tested this issue on Ubuntu, Kubuntu, Manjaro, Antergos, Arch Linux, OpenSuse with 4.4 to 4.8 kernels and the issue remains the same, headphone jack is not working on any distribution and on any kernel. So it is definitely not distribution specific.

No hacks whatsoever I found on the Internet worked, Linux doesnt recognize they are connected at all, there are no headphones in pavucontrol for example. The most I achieved was with asus-modeX hack in Alsa configuration, got the sound on the headphones somehow, but speakers were not muted so it is was useless.

Here is the output of Alsa script:

http://www.alsa-project.org/db/?f=4471a2880aa5dadd50cca59aae5cb8fa00006fad

I current run Ubuntu 16.10 and Antergos KDE both with 4.8 kernel and it is not working.
Comment 1 Cerberus 2017-07-02 19:18:38 UTC
8 months later this is still not working on any distribution with any kernel or any version of Alsa.
Comment 2 HÃ¥vard Skjetne Lilleheie 2018-10-10 10:02:44 UTC
Hi!

I also have this issue, and doing research online seems to inidcate that this is caused by the BIOS not correctly reporting pin 0x16 as a headphone jack.

You can test this by downloading hdajackretask -> select "show unconnected pins" -> click "override" on pin 0x16 -> selecting headphone from the drop down menu. -> Clicking apply.

If you run pulseaudio, you may want to close pavucontrol or any pulseaudio related application and run pulseaudio -k before clicking apply.

After discussing with many kind people on the alsa-devel mailing list we have commited a patch that will hopefully reach the 4.20 kernel.
The patch can be found here:
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-October/140818.html

Thank you!