[Asus Maximus 6 Hero, Realtek ALC1150, Green Headphone Out, Front] No sound at all

Bug #1259013 reported by Glen Nelson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

oem-audio-hda-daily-dkms - 0.201312071632~ubuntu13.10.1 has been installed.

Back channels work fine, but I don't have speakers plugged into there currently.

Very minimal investigation has been done on the forums: http://ubuntuforums.org/showthread.php?t=2192485

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: gralamin 1982 F.... pulseaudio
 /dev/snd/controlC0: gralamin 1982 F.... pulseaudio
Date: Sun Dec 8 19:06:31 2013
InstallationDate: Installed on 2013-12-08 (1 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: gralamin 1982 F.... pulseaudio
 /dev/snd/controlC0: gralamin 1982 F.... pulseaudio
Symptom_Jack: Green Headphone Out, Front
Symptom_Type: No sound at all
Title: [All Series, Realtek ALC1150, Green Headphone Out, Front] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/19/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0804
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MAXIMUS VI HERO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0804:bd08/19/2013:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnMAXIMUSVIHERO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS

Revision history for this message
Glen Nelson (glen-nelson-1) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

  analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
   properties:

 control.39 {
  iface CARD
  name 'Line Out Front Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.40 {
  iface CARD
  name 'Line Out Surround Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.41 {
  iface CARD
  name 'Line Out CLFE Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.42 {
  iface CARD
  name 'Line Out Side Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.43 {
  iface CARD
  name 'Front Headphone Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

did your comptuer chassis have HDA Front Audio Panel support jack detection ?

http://www.intel.com/support/motherboards/desktop/sb/cs-015851.htm

check the frout audio connector are connected properly to your front audio panel

if you are using a front audio panel which does not support jack detection

you need to set bit 8 of pin default of headphone and front mic node

MISC=NO_PRESENCE

1) BIOS set front audio panel to AC97
2) hdajackretask to change hp and front mic does not support jack detection
3) Early patching [pincfg]

0x19 0x02a19160
0x1b 0x02214120

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

the driver create headphone phantom jack and front mic phantom jack similar to SPDIF phantom jack

Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Front Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Front Mic 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: [0x80 0x80]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a19c60: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x6, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

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 0x02214c20: [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*

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

take a look at chapter 1

5. Front panel audio connector (10-1 pin AAFP)
This connector is for a chassis-mounted front panel audio I/O module that supports
either HD Audio or legacy AC`97 audio standard. Connect one end of the front panel
audio I/O module cable to this connector.

We recommend that you connect a high-definition front panel audio module to this
connector to avail of the motherboard’s high-definition audio capability
.

If you want to connect a high-definition or an AC’97 front panel audio module to this
connector, set the
Front Panel Type
item in the BIOS setup to [HD] or [AC97].

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Glen Nelson (glen-nelson-1) wrote :

> If you want to connect a high-definition or an AC’97 front panel audio module to this
> connector, set the
> Front Panel Type
> item in the BIOS setup to [HD] or [AC97].

It is currently set to [HDAudio], and is attached using a HDAudio plug. Setting it to [AC97] causes a headphones object to appear, but it still does not work. There are no other relevant options in the UEFI.

Case is, specifically, a Coolermaster HAF X. It has connectors that are labelled AC97 and HDAudio, and the HDAudio is currently attached. The manual, available from http://www.coolermaster.com/product/Detail/case/full-tower/haf-x.html shows the exact same diagram, except rotated 180 degrees. Notably they both list Port2R and Port2L, which are required for the Jack detection. As such, I expect Jack detection is fully supported with my configuration.

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

http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hda-verb/README;hb=HEAD

Check the value output by

sudo hda-verb /dev/snd/hwC0D0 0x1b GET_PIN_SENSE 0

when headphone is plugged and unplugged

Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'

when auto-mute mode is enabled

the driver auto matically mute the rear panel jacks by set pin-ctls of the line out jacks to zero

send: NID=0x1b, VERB=0x709(exec_pin_sense), PARM=0x0
receive: 0x0
send: NID=0x1b, VERB=0xf09(get_pin_sense), PARM=0x0
receive: 0x80000000
send: NID=0x14, VERB=0x707(set_pin_ctl), PARM=0x0
send: NID=0x15, VERB=0x707(set_pin_ctl), PARM=0x0
send: NID=0x16, VERB=0x707(set_pin_ctl), PARM=0x0
send: NID=0x17, VERB=0x707(set_pin_ctl), PARM=0x0

post the pulseaudio verbose log

https://wiki.ubuntu.com/PulseAudio/Log

Revision history for this message
Glen Nelson (glen-nelson-1) wrote :

>sudo hda-verb /dev/snd/hwC0D0 0x1b GET_PIN_SENSE 0
>when headphone is plugged

nid = 0x1b, verb = 0xf09, param = 0x0
value = 0x0

>when headphone is unplugged

nid = 0x1b, verb = 0xf09, param = 0x0
value = 0x0

Disabling Auto-Mute mode results in no change.

With Auto-mute disabled, I started the verbose log with no headphones attached. Once the headphones attached, I then killed the process. Log attached.

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

it should return 0x80000000 when headphone is plugged and 0 when unplugged

how about green , black, orange and grey line out jacks ?

sudo hda-verb /dev/snd/hwC0D0 0x14 GET_PIN_SENSE 0

sudo hda-verb /dev/snd/hwC0D0 0x15 GET_PIN_SENSE 0

sudo hda-verb /dev/snd/hwC0D0 0x16 GET_PIN_SENSE 0

sudo hda-verb /dev/snd/hwC0D0 0x17 GET_PIN_SENSE 0

Revision history for this message
Glen Nelson (glen-nelson-1) wrote :

This is embarrassing, as I have failed in the scientific method. Now the headphones are working, and it properly returns 0x80000000.

I had one fan (the front fan), not plugged in, as I needed a fan extension cable for the 3 port slot. Having received one today, I plugged it in. At the same time, I disconnected and reconnected the HDAudio. Now Ubuntu is recognizing the sound correctly. Unclear whether this was actually due to the fan not being plugged in, with a bad circuit design, or due to the HDAudio connector not being inserted correctly.

I am following the route of not touching it now, and I am quite sorry for the time I have wasted you Raymond. Thank you for all the help.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Glad you resolved it.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.