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 Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1026847

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

Status in “alsa-driver” package in Ubuntu:
  New

Bug description:
  Speaker works fine. The head phones do not work when I plug it in the
  front headphone jack. I have tried so so so many different things,
  none of them worked for me.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  Uname: Linux 3.2.0-26-generic x86_64
  NonfreeKernelModules: wl fglrx
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu11
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  abinash   32605 F.... pulseaudio
   /dev/snd/controlC0:  abinash   32605 F.... pulseaudio
   /dev/snd/controlC2:  abinash   32605 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xa0520000 irq 67'
     Mixer name : 'Realtek ALC889A'
     Components : 'HDA:10ec0885,106b4200,00100103'
     Controls      : 28
     Simple ctrls  : 10
  Card1.Amixer.info:
   Card hw:1 'Generic'/'HD-Audio Generic at 0xa0440000 irq 68'
     Mixer name : 'ATI R6xx HDMI'
     Components : 'HDA:1002aa01,00aa0100,00100200'
     Controls      : 6
     Simple ctrls  : 1
  Card1.Amixer.values:
   Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  Card2.Amixer.info:
   Card hw:2 'U0x46d0x81b'/'USB Device 0x46d:0x81b at usb-0000:00:1d.7-3, high 
speed'
     Mixer name : 'USB Mixer'
     Components : 'USB046d:081b'
     Controls      : 2
     Simple ctrls  : 1
  Card2.Amixer.values:
   Simple mixer control 'Mic',0
     Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
     Capture channels: Mono
     Limits: Capture 0 - 6144
     Mono: Capture 6144 [100%] [30.00dB] [on]
  Date: Thu Jul 19 12:40:51 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Intel failed
  Symptom_Card: Built-in Audio - HDA Intel
  Symptom_DevicesInUse:
   32605 32605 32605  abinash   F.... pulseaudio
   /dev/snd/controlC0:  abinash   F.... pulseaudio
   /dev/snd/controlC2:  abinash   F.... pulseaudio
  Symptom_Jack: Green Headphone Out, Rear
  Symptom_Type: No sound at all
  Title: [MacPro5,1, Realtek ALC889A, Green Headphone Out, Rear] No sound at all
  UpgradeStatus: Upgraded to precise on 2012-06-26 (22 days ago)
  dmi.bios.date: 10/07/10
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MP51.88Z.007F.B03.1010071432
  dmi.board.asset.tag: 0
  dmi.board.name: Mac-F221BEC8
  dmi.board.vendor: Apple Inc.
  dmi.chassis.type: 7
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-F221BEC8
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMP51.88Z.007F.B03.1010071432:bd10/07/10:svnAppleInc.:pnMacPro5,1:pvr0.0:rvnAppleInc.:rnMac-F221BEC8:rvr:cvnAppleInc.:ct7:cvrMac-F221BEC8:
  dmi.product.name: MacPro5,1
  dmi.product.version: 0.0
  dmi.sys.vendor: Apple Inc.
  mtime.conffile..etc.modprobe.d.alsa.base.conf: 2012-07-17T10:37:08.120965

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to