[snd-hda-intel] No output sound on HDMI for conexant CX20561

Bug #1516303 reported by jacobS
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

In other LTS ubuntu versions , I can get a HDMI output sound

In 10.04 (out the box)
In 12.04: need 'options snd-hda-intel model=hp-dv6736' to work
In 14.04 not available!

Possible regression!

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.16.0-39.53~14.04.1-generic 3.16.7-ckt11
Uname: Linux 3.16.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jacsalomon 1843 F.... pulseaudio
CurrentDesktop: XFCE
Date: Sat Nov 14 13:49:22 2015
InstallationDate: Installed on 2015-10-25 (20 days ago)
InstallationMedia: Linux Mint 17.2 "Rafaela" - Release amd64 20150723
PackageArchitecture: all
SourcePackage: alsa-driver
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2008
dmi.bios.vendor: Phoenix
dmi.bios.version: F.2E
dmi.board.name: 30CE
dmi.board.vendor: Wistron
dmi.board.version: 80.52
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenix:bvrF.2E:bd12/01/2008:svnHewlett-Packard:pnHPPaviliondv2700NotebookPC:pvrF.2E:rvnWistron:rn30CE:rvr80.52:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv2700 Notebook PC
dmi.product.version: F.2E
dmi.sys.vendor: Hewlett-Packard
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2015-11-14T13:29:09.262950
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.13
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 1: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jacsalomon 2808 F.... pulseaudio
Card1.Amixer.info:
 Card hw:1 'Intel'/'HDA Intel at 0xf4500000 irq 48'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,103c30cd,00100000'
   Controls : 12
   Simple ctrls : 6
DistroRelease: LinuxMint 13
InstallationMedia: Linux Mint 13 "Maya" - Release amd64 (20120520)
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.25+dfsg-0ubuntu1.1 [origin: Ubuntu]
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.2.0-93.133-generic 3.2.72
Tags: maya third-party-packages
Uname: Linux 3.2.0-93-generic x86_64
UnreportableReason: Este no es un paquete oficial de LinuxMint. Desinstale cualquier paquete de terceros e inténtelo de nuevo.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip kvm libvirtd lpadmin plugdev sambashare sudo tty
dmi.bios.date: 12/01/2008
dmi.bios.vendor: Phoenix
dmi.bios.version: F.2E
dmi.board.name: 30CE
dmi.board.vendor: Wistron
dmi.board.version: 80.52
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenix:bvrF.2E:bd12/01/2008:svnHewlett-Packard:pnHPPaviliondv2700NotebookPC:pvrF.2E:rvnWistron:rn30CE:rvr80.52:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv2700 Notebook PC
dmi.product.version: F.2E
dmi.sys.vendor: Hewlett-Packard
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2015-11-12T10:32:56.816909

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

you have to open upstream bug report if it is a regression by providing working alsa-info using live cd

http://www.alsa-project.org/pipermail/alsa-devel/2010-January/024624.html

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

https://bugzilla.kernel.org/enter_bug.cgi?product=Drivers

[ 23.041018] snd_hda_intel 0000:00:1b.0: control 2:0:0:PCM Playback Volume:0 is already present

Revision history for this message
jacobS (jacsalomon) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected maya
description: updated
Revision history for this message
jacobS (jacsalomon) wrote : AplayDevices.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : BootDmesg.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : CurrentDmesg.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : Dependencies.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : PciMultimedia.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : ProcEnviron.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : PulseList.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote : modified.conffile..etc.modprobe.d.alsa.base.conf.txt

apport information

Revision history for this message
jacobS (jacsalomon) wrote :

This the last working info Ubuntu 12.04 for confirm regression.

Raymond: is a Pavilion dv2700 with Intel 82801H (ICH8 Family) HD Audio Controller and Conexant CX20561

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

you need to use hdajackretask to fix node 0x1c to SPDIF OUT if your HDMI are using SPDIF output

Node 0x1c [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x400001f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x12

Revision history for this message
jacobS (jacsalomon) wrote :

Raymond thanks for above but the relevant info is :

In 14.04

Node 0x12 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

In 12.04

Node 0x12 [Audio Output] wcaps 0x211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="Conexant Digital", type="SPDIF", device=1
  Converter: stream=8, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Changed in alsa-driver (Ubuntu):
status: New → Invalid
status: Invalid → Incomplete
Revision history for this message
Raymond (superquad-vortex2) wrote :

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_conexant.c?id=d0ea6d270bd9f1883f716f92e7837152a4146cf7

static const struct hda_verb cxt5051_hp_dv6736_init_verbs[] = {
- /* Line in, Mic */
- {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0) | 0x03},
- {0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80},
- {0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0},
- {0x1d, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0},
- /* SPK */
- {0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
- {0x1a, AC_VERB_SET_CONNECT_SEL, 0x00},
- /* HP, Amp */
- {0x16, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_HP},
- {0x16, AC_VERB_SET_CONNECT_SEL, 0x00},
- /* DAC1 */
- {0x10, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
- /* Record selector: Internal mic */
- {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(1) | 0x44},
- {0x14, AC_VERB_SET_CONNECT_SEL, 0x1},
- /* SPDIF route: PCM */
- {0x1c, AC_VERB_SET_CONNECT_SEL, 0x0},
- /* EAPD */
- {0x1a, AC_VERB_SET_EAPD_BTLENABLE, 0x2}, /* default on */
- {0x16, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN|CONEXANT_HP_EVENT},
- { } /* end */
-};

you have to file upstream bug report

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

digital out is hardcode before the above patch , the driver now use the pin default of digital pin to determine the creation of digital playback device

static int conexant_build_pcms(struct hda_codec *codec)
-{
- struct conexant_spec *spec = codec->spec;
- struct hda_pcm *info = spec->pcm_rec;
-
- codec->num_pcms = 1;
- codec->pcm_info = info;
-
- info->name = "CONEXANT Analog";
- info->stream[SNDRV_PCM_STREAM_PLAYBACK] = conexant_pcm_analog_playback;
- info->stream[SNDRV_PCM_STREAM_PLAYBACK].channels_max =
- spec->multiout.max_channels;
- info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid =
- spec->multiout.dac_nids[0];
- if (spec->capture_stream)
- info->stream[SNDRV_PCM_STREAM_CAPTURE] = *spec->capture_stream;
- else {
- if (codec->vendor_id == 0x14f15051)
- info->stream[SNDRV_PCM_STREAM_CAPTURE] =
- cx5051_pcm_analog_capture;
- else {
- info->stream[SNDRV_PCM_STREAM_CAPTURE] =
- conexant_pcm_analog_capture;
- info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams =
- spec->num_adc_nids;
- }
- }
- info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adc_nids[0];
-
- if (spec->multiout.dig_out_nid) {
- info++;
- codec->num_pcms++;
- info->name = "Conexant Digital";
- info->pcm_type = HDA_PCM_TYPE_SPDIF;
- info->stream[SNDRV_PCM_STREAM_PLAYBACK] =
- conexant_pcm_digital_playback;
- info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid =
- spec->multiout.dig_out_nid;
- if (spec->dig_in_nid) {
- info->stream[SNDRV_PCM_STREAM_CAPTURE] =
- conexant_pcm_digital_capture;
- info->stream[SNDRV_PCM_STREAM_CAPTURE].nid =
- spec->dig_in_nid;
- }
- }
-
- return 0;

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
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.