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; -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1516303 Title: [snd-hda-intel] No output sound on HDMI for conexant CX20561 Status in alsa-driver package in Ubuntu: Incomplete 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1516303/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp