Comment 12 for bug 1388582

Revision history for this message
LukasThyWalls (thywalls) wrote :

First, i found today that the "Master" Volume works with the speakers as expected, and doesn't with the headphones like i said yesterday, when i missed this detail.

Second, i found too other bug reports related to this, but that bugzilla.kernel report it's very near, but i can't trust it because they are talking about other specific notebook, and i don't know if that work for me. But i will to read and test all info to apply and to find solutions to my problem. And maybe, bugzilla kernel should be the site for this report, or not?

Third, your solution with hdajackretask (with advanced override activated), i don't have in jack any "HP" option, and there isn't any 0x1a connected. Green Line Out is 0x1b. Maybe i need to config to use another AD1986A model (laptop-automute?) and not the default? Maybe PINs 0x1a (headphones) and 0x1b (speakers) are inverted and 0x1a jack detection isn't detection properly (see hda-jack-sense-test above)?

I don't know it it's related: In hda_analyzer, 0x1a HP option is enables, but in 0x1b HP option is disables, but both don't make any differences.

At least the only thing i have to came now for the basic functionality is the mixer for the headphones, because all the other changes in hda_analyzer are working. I want to put the original text dump of hda_analyzer in the affected pins, it could be useful:

-----

Original and default AD1986A Configuration in HDA_Analyzer for PIN 0x1a (Change headphones) and PIN 0x1b (Change speakers)

Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals: [0x9f 0x9f]
  Pincap 0x0000001f: OUT HP Detect Trigger ImpSense
  Pin Default 0x4221401f: [N/A] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=0x00, enabled=0
  Connection: 1
     0x0a

Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Control: name="Master Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Control: name="Master Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Control: iface="card", name="Line Out Jack", index=0, device=0
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals: [0x14 0x14]
  Pincap 0x0001001f: OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x0:
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=0x03, enabled=1
  Connection: 1
     0x0b

-----

PIN 0x1a (Change headphones) and PIN 0x1b (Change speakers) text dump from HDA_Analyzer when i made the changes to fix sound problems (except the not-working mixer for headphones)
Changes:
- In "Node [0x1b] PIN": EAPD option activated (Bring back sound to speakers)
- In "Node [0x1a] PIN": Output Amplifier VAL[0] and VAL[1] Pass from muted to unmuted (Bring back sound to headphones)

Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals: [0x9f 0x9f]
  Pincap 0x0000001f: OUT HP Detect Trigger ImpSense
  Pin Default 0x4221401f: [N/A] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=0x00, enabled=0
  Connection: 1
     0x0a

Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Control: name="Master Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Control: name="Master Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Control: iface="card", name="Line Out Jack", index=0, device=0
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals: [0x14 0x14]
  Pincap 0x0001001f: OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=0x03, enabled=1
  Connection: 1
     0x0b