[HP ENVY 4 Notebook PC, IDT 92HD91BXX, Speaker, Internal] Playback problem

Bug #1093792 reported by Krystyna Bury on 2012-12-26
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Undecided
Unassigned

Bug Description

The subwoofer on my laptop is not shown by default in the audio settings. When i try updating the alsa-base.conf file, I can get the subwoofer to appear, but its still disabled. I can manage to "enable" the subwoofer by making changes to both the /etc/pulse/daemon.conf and /etc/pulse/default.pa files, however the sound is then full of noise and somehow distorted. Finally, I have beats audio on my laptop, which of course a cannot use.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: alsa-base 1.0.25+dfsg-0ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: chri 14111 F.... pulseaudio
Date: Wed Dec 26 14:35:41 2012
InstallationDate: Installed on 2012-11-22 (33 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Speaker, Internal
Symptom_Type: Only some of outputs are working
Title: [HP ENVY 4 Notebook PC, IDT 92HD91BXX, Speaker, Internal] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/23/2012
dmi.bios.vendor: Insyde
dmi.bios.version: F.0B
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 1894
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 72.23
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.0B:bd05/23/2012:svnHewlett-Packard:pnHPENVY4NotebookPC:pvr0795100000205600000320100:rvnHewlett-Packard:rn1894:rvr72.23:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP ENVY 4 Notebook PC
dmi.product.version: 0795100000205600000320100
dmi.sys.vendor: Hewlett-Packard
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2012-12-26T14:30:37.067804

Krystyna Bury (k-bury87) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
jac0b (jacbrooks) wrote :

I also have the same issue on my HP Envy Sleekbook 6-1129wm.

Raymond (superquad-vortex2) wrote :

use hda-analyzer to check whether node 0x10 mono pin complex is the subwoofer or not

1) set pin-ctls of node 0x10 to OUT
2) check the power setting of node 0x10, 0x1a, 0x19 are D0

3) either connect node 0x19 to node 0x13

or node 0x1c

4) if you connect node 0x19 to 0x1c

a) unmute amp-out and change the volume slider of node 0x1c

b) unmute the amp-in of either node 0x13 or node 0x14 in node 0x1b and keep the other amp-in mute

c) ensure the power setting of above nodes are D0

Node 0x1b [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Power: setting=D0, actual=D0
  Connection: 6
     0x13 0x14 0x0a 0x0c 0x0e 0x0f

--

Node 0x0d [Pin Complex] wcaps 0x400501: Stereo
  Control: name="Speaker Phantom Jack", index=0, device=0
  Pincap 0x00010050: OUT EAPD Balanced
  EAPD 0x2: EAPD
  Pin Default 0x92170110: [Fixed] Speaker at Int Front
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power: setting=D0, actual=D0
  Connection: 3
     0x13* 0x14 0x1c

Node 0x10 [Pin Complex] wcaps 0x400500: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 1
     0x1a

Node 0x13 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=63
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="STAC92xx Analog", type="Audio", device=0
  Amp-Out caps: N/A
  Amp-Out vals: [0x78 0x78]
  Converter: stream=8, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x14 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=63
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp

Node 0x19 [Audio Selector] wcaps 0x300501: Stereo
  Power: setting=D0, actual=D0
  Connection: 3
     0x13* 0x14 0x1c
Node 0x1a [Audio Mixer] wcaps 0x200500: Mono
  Power: setting=D0, actual=D0
  Connection: 1
     0x19

Node 0x1b [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Power: setting=D0, actual=D0
  Connection: 6
     0x13 0x14 0x0a 0x0c 0x0e 0x0f
Node 0x1c [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals: [0x9f 0x9f]
  Power: setting=D0, actual=D0
  Connection: 1
     0x1b

jac0b (jacbrooks) wrote :

The above instructions didn't correct my issue.

Raymond (superquad-vortex2) wrote :

what are your issues ?

do you mean you can not adjust the volume of subwoofer ?

do your envy 6 use same hda codec ?

the above step is just to verify whether node 0x10 is the subwoofer or not ?

if you can adjust the volume by changing the slider at node 0x1c

you still need to perform pin fixup of node 0x10 and need patch to including this path since the driver use the shortest path and exclude the node 0x1c in the speaker out path

jac0b (jacbrooks) wrote :

I can't get the center speaker (subwoofer) to work. I only have audio out of 2 speakers.

My codec is "Codec: IDT 92HD91BXX".

This is the text dump from HDA Analyzer for 0x10:

Node 0x10 [Pin Complex] wcaps 0x400500: Mono
  Pincap 0x00000010: OUT
  Pin Default 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Power: setting=D3, actual=D3
  Connection: 1
     0x1a

Also my Power Settings are set to D3 for the below question.
2) check the power setting of node 0x10, 0x1a, 0x19 are D0

Raymond (superquad-vortex2) wrote :

you can use hda-verb to set the power state

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

can you post the output of alsa-info.sh for your HP Envy Sleekbook 6-1129wm using model=auto ?

there are other possible pin complexes (0xa, 0xc, 0xe and 0xf) for the subwoofer beside the mono pin node 0x10

you can use hda-jack-retask to change the node one by one if node 0x10 is not the subwoofer

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x40f000f0
0x0b 0x0421101f
0x0c 0x04a11020
0x0d 0x92170110
0x0e 0x40f000f0
0x0f 0x40f000f0
0x10 0x40f000f0
0x11 0xd5a30130
0x1f 0x40f000f0
0x20 0x40f000f0

Raymond (superquad-vortex2) wrote :

http://www.idt.com/image/92hd91b-block-diagram

the sequence of the subwoofer must be 1 or higher than the sequencer of internal speaker node 0xd when you use jack retasking

  Pin Default 0x92170110: [Fixed] Speaker at Int Front
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE

Raymond (superquad-vortex2) wrote :

force the driver to use spec->mixer_nid when the pin is mono

Raymond (superquad-vortex2) wrote :

autoconfig: line_outs=2 (0xd/0x10/0x0/0x0/0x0) type:speaker
   speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
   hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
   mono: mono_out=0x0
   inputs:
     Mic=0xc
     Internal Mic=0x11

==> Best config: lo_type=2, wired=1, mio=1
multi_outs = b/0/0/0 : 13/0/0/0 (type HP)
  out path: depth=2 :13:0b
spk_outs = d/10/0/0 : 14/14/0/0
  spk path: depth=2 :14:0d
  spk path: depth=6 :14:1b:1c:19:1a:10

CTRL: add: Headphone Playback Volume:0
CTRL: add: Headphone Playback Switch:0
CTRL: add: Speaker Playback Volume:0
CTRL: add: Speaker Playback Switch:0
CTRL: add: Bass Speaker Playback Volume:0
CTRL: add: Bass Speaker Playback Switch:0

The attachment "use spec->mixer_nid when parsing mono pin in hda_generic.c" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
jac0b (jacbrooks) wrote :

Sorry it took so long for a reply, sometimes work takes over everything :(

Here is the alsa-info of my laptop.

jac0b (jacbrooks) wrote :

I started to play around with HDAJackReTask as you suggested and I somehow now have BASS. I don't know what I did maybe because I have the model set to auto in alsa.conf. Thanks for the help. Below is a screen cap of HDAJackReTask

Raymond (superquad-vortex2) wrote :

you need to check the advance override checkbox

this allow you to change the pin default (e.g. misc bit , assoc, sequence, location , color, type of the pin complex

confirm to modify /etc/modprobe.d/alsa-base.conf and add the hdajackretask.fw

reboot the computer or reload snd-hda-Intel

check the power setting of those Widgets in the path from audio output to the subwoofer pin complex are D0

Raymond (superquad-vortex2) wrote :

Node 0x19 [Audio Selector] wcaps 0x300501: Stereo
  Power states:
  Power: setting=D3, actual=D3
  Connection: 3
     0x13* 0x14 0x1c
Node 0x1a [Audio Mixer] wcaps 0x200500: Mono
  Power states:
  Power: setting=D3, actual=D3
  Connection: 1
     0x19

0x13 has the headphone volume control , do you mean the volume of subwoofer is also controlled by this control

Raymond (superquad-vortex2) wrote :

do you have two lines at /etc/modprobe.d/alsa-base.conf ?

snd_hda_intel: model=ref
snd_hda_intel: model=auto

!!Modprobe options (Sound related)
!!--------------------------------

snd_hda_intel: model=ref
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_hda_intel: model=auto

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers