Bug 191781

Summary: ASUS X71SL laptop needs asus-mode8 model
Product: Drivers Reporter: Jose (jjorge)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: RESOLVED CODE_FIX    
Severity: blocking CC: jjorge, tiwai
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.4.39 Mageia 5 Subsystem:
Regression: No Bisected commit-id:
Attachments: alsa-info report for asus x71sl with asus-mode8 model
Fix patch

Description Jose 2017-01-02 21:30:44 UTC
Created attachment 249721 [details]
alsa-info report for asus x71sl with asus-mode8 model

This laptop plays no sound from the speakers, while the headphones work.

As it has two headphones jacks, it seems that the closest model is asus-mode8 with which I get the two volume controls for them.

I join the alsa-info.sh report.

I tried to play with hda-analyser.py, with no luck.
Comment 1 Takashi Iwai 2017-01-04 10:33:03 UTC
Did you try to turn on GPIO pins?
Comment 2 Jose 2017-01-04 16:00:19 UTC
(In reply to Takashi Iwai from comment #1)
> Did you try to turn on GPIO pins?

Yes, and the owner just told me the builtin speakers were out of order for some time even with M$ Vista.

So sorry for the noise, the only point of this bug is now to automatically select masus-mode8 for this laptop, is it possible?
Comment 3 Takashi Iwai 2017-01-04 16:11:15 UTC
If asus-mode8 is really the right choice, it's easy.
But judging from the old quirk table entries, asus-mode3 was used for 1043:1963.  Could you confirm whether this works or not?
Comment 4 Jose 2017-01-04 18:39:46 UTC
(In reply to Takashi Iwai from comment #3)
> If asus-mode8 is really the right choice, it's easy.
> But judging from the old quirk table entries, asus-mode3 was used for
> 1043:1963.  Could you confirm whether this works or not?

asus-mode3 works but it does not show the volume control for the second headphone jack. With asus-mode8, I have the two controls, but one of them is always muted and at 0% at boot...
Comment 5 Takashi Iwai 2017-01-04 20:51:37 UTC
OK, then I'm going to apply the patch to set mode8 for this machine.  The fix patch is below.
Comment 6 Takashi Iwai 2017-01-04 20:51:57 UTC
Created attachment 250281 [details]
Fix patch
Comment 7 Takashi Iwai 2017-01-04 20:54:09 UTC
Let's close.