Comment 52 for bug 874535

Revision history for this message
Raymond (superquad-vortex2) wrote :

7.3.4.9 Pin Capabilities
The Pin Capabilities parameter returns a bit field describing the capabilities of the Pin Complex Widget.

Output Capable indicates whether the pin complex supports output. If Output Capable is a 1, the
pin is capable of output.

Headphone Drive Capable indicates that the pin has an amplifier with sufficient current drive to
drive headphones. If Output Capable is a 0, then this bit has no meaning and must be 0.

Presence Detect Capable indicates whether the pin complex can perform presence detect to
determine whether there is anything plugged in. Presence detect does not indicate what is plugged
in, only that something is plugged in.

Trigger Required indicates whether a trigger is required for an impedance measurement (see
Section 7.3.3.15).

Impedance Sense Capable indicates whether the pin complex supports impedance sense on the
attached peripheral to determine what it is. More accurate (possibly sequenced) forms of peripheral
discrimination may be supported independent of this capability; however, if this bit is a 1, then the
codec must support at least the basic impedance test as described in Section 7.3.3.15.

the trigger is required for an impedance measurement but your codec does not support Impsense

you can disable it by hint

trigger_sense=0

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt

- jack_detect (bool): specify whether the jack detection is available
  at all on this machine; default true
- inv_jack_detect (bool): indicates that the jack detection logic is
  inverted
- trigger_sense (bool): indicates that the jack detection needs the
  explicit call of AC_VERB_SET_PIN_SENSE verb
- inv_eapd (bool): indicates that the EAPD is implemented in the
  inverted logic

Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x02214020: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f 0x26*