Comment 28 for bug 1201528

Revision history for this message
Raymond (superquad-vortex2) wrote : Re: [Realtek ALC889] - Audio Playback Unavailable

> sudo hda-jack-sense-test
Unable to find proc file '/proc/asound/card0/codec#0'
Pin 0x14 (Green Line Out): present = No
Pin 0x16 (Orange Line Out): present = No
Pin 0x17 (Grey Line Out): present = No
Pin 0x19 (Black Line Out): present = Yes
Pin 0x1a (Blue Line In): present = No
Pin 0x1b (Pink Mic): present = No

If the objective of hda-jack-sense-test is to figure out if your BIOS is lying to you
about what pin is used for what.

it should check those pin complex which pincap support DETECT instead of ignoring those Misc = NO_PRESENCE in order to find out whether the jack support jack sense or not

AC_PINCAP_PRES_DETECT (1<<2) /* presence detect capable */

Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Pincap 0x0000003c: IN OUT HP Detect
  Pin Default 0x02214520: [Jack] HP Out at Ext Front