axet@axet-MacPro:~$ sudo hda-jack-sense-test
 Pin 0x18 (Pink Mic): present = No
 Pin 0x19 (Green HP Out): present = No
 Pin 0x1a (Blue Line In): present = No
axet@axet-MacPro:~$ sudo hda-jack-sense-test
 Pin 0x18 (Pink Mic): present = No
 Pin 0x19 (Green HP Out): present = Yes
 Pin 0x1a (Blue Line In): present = No


seem hda-jack-sense-test ignore node 0x14 line out Jack when misc bit is
set


Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Phantom 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 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01010150: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Unknown
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26


you need to remove the misc bit Check (remove two lines from hda-jack-sense.py)

and re run the test when you plugged the line out at rear


def should_check_presence(node, tryallpins):
    if WIDGET_TYPE_IDS[node.wtype] != 'PIN':
        return False
    if tryallpins:
        return True
    conn_type = (node.defcfg_pincaps >> 30) & 0x03
    if conn_type != 0: # Not a Jack
        return False
-    if node.defcfg_pincaps & (1 << 8): # Jack has NO_PRESENCE set
-       return False     
    return True

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1026847

Title:
  [MacPro5,1, Realtek ALC889A, Green Headphone Out, Front] No sound at
  all

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1026847/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to