All of lore.kernel.org
 help / color / mirror / Atom feed
* HBR audio with intel HDA
@ 2013-08-01 16:29 ashecrow42
  2013-08-01 16:37 ` Anssi Hannula
  0 siblings, 1 reply; 6+ messages in thread
From: ashecrow42 @ 2013-08-01 16:29 UTC (permalink / raw)
  To: tiwai, alsa-devel; +Cc: xingchao.wang

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

Hi there,

I have troubles using HBR audio (DTS-HD and Dolby TrueHD). With every 
test, I get no signal in the AV receiver. I have tested using a dts-hd 
encapsulated in spdif sample file (found there 
http://samples.mplayerhq.hu/hdmi/) and commands bellow

- aplay -D hdmi devices
- aplay -D hw devices
- aplay -D plughw devices

Note that I use ubuntu raring with 3.8 kernel that includes Xingchao's 
HBR kernel patches.


A. Configurations I have tested:


- hda driver upgrade (alsa devel ubuntu team daily builds)

- upgrade alsa-lib & alsa-utils (alsa-testing launchpad)

- kernel upgrade to 3.9

- snd_hda_codec_realtek module backlist (to try to disable SPDIF) 
/etc/modprobe.d/blacklist.conf

- snd_hda_codec_realtek index = -2 in /etc/modprobe.d/alsa-base.conf

- fresh new ubuntu raring install with no modifications at all: still 
no signal

B. Info:

cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC892
Codec: Intel CougarPoint HDMI

I use zotac ZBOX ID82 (intel HM65 chipset with hdmi and spdif)

with alsa debug and alsa debug verbose enabled in kernel I got the 
alsa-info.txt attached file produced on raring with no modification 
while playing dts-hd sample file with command:


aplay -D hdmi:CARD=PCH,DEV=0 -c8 -fs16_le -r192000 dts.spdif



C. I add that:

- In every test I have non HD audio protocols (DTS and dolby) working 
well in the same configuration

- I have tried with windows just to see if my hardware is broken and I 
get DTS-HD audio with no problem

- Takashi, I've read your HD-Audio.txt file and as far as I see, I have 
no known error message in kernel log


=> I and Wingchao Wang have conclued that it is driver or codec 
related. Can you help me please?

Thanks a lot
PS: sorry if you receive this email twice, I have sent it again as I 
was not member of the list the first time.

[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 40785 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.62
!!################################

!!Script ran on: Wed Jul 31 16:33:07 UTC 2013


!!Linux Distribution
!!------------------

Ubuntu 13.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 13.04" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 13.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"


!!DMI Information
!!---------------

Manufacturer:      ZOTAC
Product Name:      XXXXXX
Product Version:   XX
Firmware Version:  4.6.4


!!Kernel Information
!!------------------

Kernel release:    3.8.13-perso
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.8.13-perso
Library version:    1.0.25
Utilities version:  1.0.25


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7e00000 irq 52


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:1b.0 0403: 8086:1c20 (rev 05)
	Subsystem: 19da:a206


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

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_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2


!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel
	align_buffer_size : -1
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : Y


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC892
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0892
Subsystem Id: 0x19da0000
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Master Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=16, device=0
  Control: name="IEC958 Playback Pro Mask", index=16, device=0
  Control: name="IEC958 Playback Default", index=16, device=0
  Control: name="IEC958 Playback Switch", index=16, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC892 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Master Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
  EAPD 0x2: EAPD
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="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 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19830: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  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 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  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 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  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 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  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
  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 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40020601: [N/A] Line Out at Ext N/A
    Conn = 1/4, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Control: name="SPDIF Phantom Jack", index=0, device=0
  Pincap 0x00000010: OUT
  Pin Default 0x01441120: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=24
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 12
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x25 0x0b
Codec: Intel CougarPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862805
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=8, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560010: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  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="ELD", index=0, device=3
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560020: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x03
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="HDMI/DP,pcm=7 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Control: name="ELD", index=0, device=7
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560030: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T+ 1 root audio 116,  9 Jul 31 18:30 /dev/snd/controlC0
crw-rw---T+ 1 root audio 116,  8 Jul 31 18:30 /dev/snd/hwC0D0
crw-rw---T+ 1 root audio 116,  7 Jul 31 18:30 /dev/snd/hwC0D3
crw-rw---T+ 1 root audio 116,  6 Jul 31 18:30 /dev/snd/pcmC0D0c
crw-rw---T+ 1 root audio 116,  5 Jul 31 18:30 /dev/snd/pcmC0D0p
crw-rw---T+ 1 root audio 116,  4 Jul 31 18:30 /dev/snd/pcmC0D1p
crw-rw---T+ 1 root audio 116,  3 Jul 31 18:31 /dev/snd/pcmC0D3p
crw-rw---T+ 1 root audio 116,  2 Jul 31 18:30 /dev/snd/pcmC0D7p
crw-rw---T+ 1 root audio 116,  1 Jul 31 18:30 /dev/snd/seq
crw-rw---T+ 1 root audio 116, 33 Jul 31 18:30 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Jul 31 18:30 .
drwxr-xr-x 3 root root 260 Jul 31 18:30 ..
lrwxrwxrwx 1 root root  12 Jul 31 18:30 pci-0000:00:1b.0 -> ../controlC0


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [PCH]

Card hw:0 'PCH'/'HDA Intel PCH at 0xf7e00000 irq 52'
  Mixer name	: 'Intel CougarPoint HDMI'
  Components	: 'HDA:10ec0892,19da0000,00100302 HDA:80862805,80860101,00100000'
  Controls      : 32
  Simple ctrls  : 8
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 0 [0%] [-64.00dB] [on]
  Front Right: Playback 0 [0%] [-64.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',16
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]


!!Alsactl output
!!--------------

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Master Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -6400
			dbvalue.1 -6400
		}
	}
	control.2 {
		iface MIXER
		name 'Master Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.4 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.6 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 -1600
			dbvalue.1 -1600
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 16
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 16
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 16
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 16
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface CARD
		name 'Line Out Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.17 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.18 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.19 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.20 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.21 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		iface PCM
		device 3
		name ELD
		value '10000c006772000f00000000000000000c2d010041565236353052097f070f7f071707503f06c05706005f7e01675e000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read volatile'
			type BYTES
			count 83
		}
	}
	control.25 {
		iface CARD
		name 'HDMI/DP,pcm=7 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface PCM
		device 7
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.31 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.32 {
		iface PCM
		device 7
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
snd_hda_codec_hdmi
snd_hda_codec_realtek
coretemp
kvm_intel
kvm
ghash_clmulni_intel
cryptd
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
snd_page_alloc
microcode
snd_seq_midi
snd_seq_midi_event
snd_rawmidi
snd_seq
snd_seq_device
arc4
psmouse
snd_timer
serio_raw
btusb
bluetooth
ath9k
ath9k_common
ath9k_hw
ath
mac80211
cfg80211
mac_hid
i915
video
drm_kms_helper
snd
drm
soundcore
lpc_ich
i2c_algo_bit
lp
parport
mei
usb_storage
hid_generic
usbhid
hid
ahci
libahci
r8169


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x11 0x411111f0
0x12 0x411111f0
0x14 0x01014010
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x01a19830
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1c 0x411111f0
0x1d 0x40020601
0x1e 0x01441120
0x1f 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x58560010
0x06 0x18560020
0x07 0x18560030

/sys/class/sound/hwC0D3/driver_pin_configs:

/sys/class/sound/hwC0D3/user_pin_configs:

/sys/class/sound/hwC0D3/init_verbs:

/sys/class/sound/hwC0D3/hints:


!!ALSA/HDA dmesg
!!--------------

[    7.970603] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    7.970710] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[    7.970748] hda-intel 0000:00:1b.0: chipset global capabilities = 0x4401
[    7.970760] hda-intel 0000:00:1b.0: Clearing TCSEL
[    7.970769] hda-intel 0000:00:1b.0: SCH snoop: Enabled
[    7.976107] hda-intel 0000:00:1b.0: codec_mask = 0x9
[    7.976195] hda-intel 0000:00:1b.0: codec #0 probed OK
[    7.976239] hda-intel 0000:00:1b.0: codec #3 probed OK
[    7.983529] SKU: Nid=0x1d sku_cfg=0x40020601
--
[    7.984645] realtek: Enabling init ASM_ID=0x0601 CODEC_ID=10ec0892
[    7.990350] HDMI hot plug event: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
[    7.990407] HDMI status: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
[    7.990449] HDMI status: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
[    7.994350] HDMI: detected monitor AVR650R at connection type HDMI
[    7.994355] HDMI: available speakers: FL/FR LFE FC RL/RR
[    7.994361] HDMI: supports coding type LPCM: channels = 2, rates = 32000 44100 48000 88200 96000 176400 192000, bits = 16 20 24
[    7.994365] HDMI: supports coding type LPCM: channels = 8, rates = 32000 44100 48000 88200 96000 176400 192000, bits = 16 20 24
[    7.994368] HDMI: supports coding type AC-3: channels = 8, rates = 32000 44100 48000, max bitrate = 640000
[    7.994371] HDMI: supports coding type DTS: channels = 8, rates = 44100 48000, max bitrate = 1536000
[    7.994374] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital Plus): channels = 8, rates = 44100 48000
[    7.994377] HDMI: supports coding type DTS-HD: channels = 8, rates = 44100 48000 88200 96000 176400 192000
[    7.994380] HDMI: supports coding type MLP (Dolby TrueHD): channels = 8, rates = 44100 48000 88200 96000 192000
[    7.994425] HDMI hot plug event: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
[    7.994516] HDMI status: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
[    7.999130] HDMI: detected monitor AVR650R at connection type HDMI
[    7.999134] HDMI: available speakers: FL/FR LFE FC RL/RR
[    7.999139] HDMI: supports coding type LPCM: channels = 2, rates = 32000 44100 48000 88200 96000 176400 192000, bits = 16 20 24
[    7.999143] HDMI: supports coding type LPCM: channels = 8, rates = 32000 44100 48000 88200 96000 176400 192000, bits = 16 20 24
[    7.999147] HDMI: supports coding type AC-3: channels = 8, rates = 32000 44100 48000, max bitrate = 640000
[    7.999150] HDMI: supports coding type DTS: channels = 8, rates = 44100 48000, max bitrate = 1536000
[    7.999153] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital Plus): channels = 8, rates = 44100 48000
[    7.999156] HDMI: supports coding type DTS-HD: channels = 8, rates = 44100 48000 88200 96000 176400 192000
[    7.999160] HDMI: supports coding type MLP (Dolby TrueHD): channels = 8, rates = 44100 48000 88200 96000 192000
[    7.999255] HDMI status: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=0
[    7.999427] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[    7.999597] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    7.999739] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[    7.999880] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    8.001130] HDMI: detected monitor AVR650R at connection type HDMI
[    8.001134] HDMI: available speakers: FL/FR LFE FC RL/RR
[    8.001138] HDMI: supports coding type LPCM: channels = 2, rates = 32000 44100 48000 88200 96000 176400 192000, bits = 16 20 24
[    8.001141] HDMI: supports coding type LPCM: channels = 8, rates = 32000 44100 48000 88200 96000 176400 192000, bits = 16 20 24
[    8.001143] HDMI: supports coding type AC-3: channels = 8, rates = 32000 44100 48000, max bitrate = 640000
[    8.001145] HDMI: supports coding type DTS: channels = 8, rates = 44100 48000, max bitrate = 1536000
[    8.001146] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital Plus): channels = 8, rates = 44100 48000
[    8.001149] HDMI: supports coding type DTS-HD: channels = 8, rates = 44100 48000 88200 96000 176400 192000
[    8.001151] HDMI: supports coding type MLP (Dolby TrueHD): channels = 8, rates = 44100 48000 88200 96000 192000
[    9.032431] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
--
[   12.009012] type=1400 audit(1375288257.749:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=894 comm="apparmor_parser"
[   33.979716] hda_codec_cleanup_stream: NID=0x3
[   43.773860] hda-intel 0000:00:1b.0: azx_pcm_prepare: bufsize=0x10000, format=0x1817
[   43.773916] HDMI: select CA 0x0 for 8-channel allocation:  FL/FR LFE FC RL/RR
[   43.773984] hdmi_setup_audio_infoframe: pin=6 channels=8
[   43.774184] HDMI: ASP channel 0 => slot 0
[   43.774226] HDMI: ASP channel 1 => slot 1
[   43.774269] HDMI: ASP channel 15 => slot 2
[   43.774312] HDMI: ASP channel 15 => slot 3
[   43.774370] HDMI: ASP channel 15 => slot 4
[   43.774413] HDMI: ASP channel 15 => slot 5
[   43.774456] HDMI: ASP channel 15 => slot 6
[   43.774498] HDMI: ASP channel 15 => slot 7
[   43.774583] HDMI: ELD buf size is 83
[   43.774625] HDMI: DIP GP[0] buf size is 30
[   43.774668] HDMI: DIP GP[1] buf size is 30
[   43.774710] HDMI: DIP GP[2] buf size is 30
[   43.774753] HDMI: DIP GP[3] buf size is 30
[   43.774786] HDMI: DIP GP[4] buf size is 0
[   43.774829] HDMI: DIP GP[5] buf size is 0
[   43.774872] HDMI: DIP GP[6] buf size is 0
[   43.774915] HDMI: DIP GP[7] buf size is 0
[   43.775208] hdmi_setup_stream: NID=0x6, pinctl=0x40
[   43.775210] hda_codec_setup_stream: NID=0x3, stream=0x8, channel=0, format=0x1817
[   47.474612] hda-intel 0000:00:1b.0: azx_pcm_prepare: bufsize=0x10000, format=0x1817
[   47.474656] HDMI: select CA 0x0 for 8-channel allocation:  FL/FR LFE FC RL/RR
[   47.475132] hdmi_setup_stream: NID=0x6, pinctl=0x40
[   47.475134] hda_codec_setup_stream: NID=0x3, stream=0x8, channel=0, format=0x1817
[   48.455631] hda-intel 0000:00:1b.0: azx_pcm_prepare: bufsize=0x10000, format=0x1817
[   48.455676] HDMI: select CA 0x0 for 8-channel allocation:  FL/FR LFE FC RL/RR
[   48.456152] hdmi_setup_stream: NID=0x6, pinctl=0x40
[   48.456154] hda_codec_setup_stream: NID=0x3, stream=0x8, channel=0, format=0x1817
[   51.119825] hda_codec_cleanup_stream: NID=0x3
[   51.119918] hda_codec_cleanup_stream: NID=0x3



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HBR audio with intel HDA
  2013-08-01 16:29 HBR audio with intel HDA ashecrow42
@ 2013-08-01 16:37 ` Anssi Hannula
  2013-08-02 13:11   ` Ashecrow
  0 siblings, 1 reply; 6+ messages in thread
From: Anssi Hannula @ 2013-08-01 16:37 UTC (permalink / raw)
  To: ashecrow42; +Cc: tiwai, alsa-devel, xingchao.wang

01.08.2013 19:29, ashecrow42@free.fr kirjoitti:
> Hi there,

Hi!

> I have troubles using HBR audio (DTS-HD and Dolby TrueHD). With every 
> test, I get no signal in the AV receiver. I have tested using a dts-hd 
> encapsulated in spdif sample file (found there 
> http://samples.mplayerhq.hu/hdmi/) and commands bellow
> 
> - aplay -D hdmi devices
> - aplay -D hw devices
> - aplay -D plughw devices

You need to set the non-pcm bit in AES0. Use e.g. "-D hdmi:AES0=0x06".

> Note that I use ubuntu raring with 3.8 kernel that includes Xingchao's 
> HBR kernel patches.
> 
> 
> A. Configurations I have tested:
> 
> 
> - hda driver upgrade (alsa devel ubuntu team daily builds)
> 
> - upgrade alsa-lib & alsa-utils (alsa-testing launchpad)
> 
> - kernel upgrade to 3.9

IIRC 3.9 (or newer) may indeed be needed since you have both hdmi and spdif.

> - snd_hda_codec_realtek module backlist (to try to disable SPDIF) 
> /etc/modprobe.d/blacklist.conf
> 
> - snd_hda_codec_realtek index = -2 in /etc/modprobe.d/alsa-base.conf
> 
> - fresh new ubuntu raring install with no modifications at all: still 
> no signal
> 
> B. Info:
> 
> cat /proc/asound/card0/codec* | grep Codec
> Codec: Realtek ALC892
> Codec: Intel CougarPoint HDMI
> 
> I use zotac ZBOX ID82 (intel HM65 chipset with hdmi and spdif)
> 
> with alsa debug and alsa debug verbose enabled in kernel I got the 
> alsa-info.txt attached file produced on raring with no modification 
> while playing dts-hd sample file with command:
> 
> 
> aplay -D hdmi:CARD=PCH,DEV=0 -c8 -fs16_le -r192000 dts.spdif

As per above you need to use
aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif

> 
> C. I add that:
> 
> - In every test I have non HD audio protocols (DTS and dolby) working 
> well in the same configuration
> 
> - I have tried with windows just to see if my hardware is broken and I 
> get DTS-HD audio with no problem
> 
> - Takashi, I've read your HD-Audio.txt file and as far as I see, I have 
> no known error message in kernel log
> 
> 
> => I and Wingchao Wang have conclued that it is driver or codec 
> related. Can you help me please?
> 
> Thanks a lot
> PS: sorry if you receive this email twice, I have sent it again as I 
> was not member of the list the first time.


-- 
Anssi Hannula

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HBR audio with intel HDA
  2013-08-01 16:37 ` Anssi Hannula
@ 2013-08-02 13:11   ` Ashecrow
  2013-08-02 13:42     ` Anssi Hannula
  0 siblings, 1 reply; 6+ messages in thread
From: Ashecrow @ 2013-08-02 13:11 UTC (permalink / raw)
  To: Anssi Hannula; +Cc: tiwai, alsa-devel, xingchao.wang

Hi Anssi,
Thanks for your answer

Test on kernel 3.8 + non-pcm bit in AES0:
aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
=> same result: no signal

Test with a non spdif-encapsulated file extracted from blu ray which is 16 bits 8 channel 192 kHz :
aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.dts-hd.sample_track2_und.dts
=> I get a static noise and receiver shows PCM and 2 channels (front left and front right)
 
With kernel upgrade to 3.9: same result


Note that I have tested with alsa* 1.025 and intel-hda driver included in kernel

Do you have any other idea?

Thanks


Le 1 août 2013 à 18:37, Anssi Hannula a écrit :

> 01.08.2013 19:29, ashecrow42@free.fr kirjoitti:
>> Hi there,
> 
> Hi!
> 
>> I have troubles using HBR audio (DTS-HD and Dolby TrueHD). With every 
>> test, I get no signal in the AV receiver. I have tested using a dts-hd 
>> encapsulated in spdif sample file (found there 
>> http://samples.mplayerhq.hu/hdmi/) and commands bellow
>> 
>> - aplay -D hdmi devices
>> - aplay -D hw devices
>> - aplay -D plughw devices
> 
> You need to set the non-pcm bit in AES0. Use e.g. "-D hdmi:AES0=0x06".
> 
>> Note that I use ubuntu raring with 3.8 kernel that includes Xingchao's 
>> HBR kernel patches.
>> 
>> 
>> A. Configurations I have tested:
>> 
>> 
>> - hda driver upgrade (alsa devel ubuntu team daily builds)
>> 
>> - upgrade alsa-lib & alsa-utils (alsa-testing launchpad)
>> 
>> - kernel upgrade to 3.9
> 
> IIRC 3.9 (or newer) may indeed be needed since you have both hdmi and spdif.
> 
>> - snd_hda_codec_realtek module backlist (to try to disable SPDIF) 
>> /etc/modprobe.d/blacklist.conf
>> 
>> - snd_hda_codec_realtek index = -2 in /etc/modprobe.d/alsa-base.conf
>> 
>> - fresh new ubuntu raring install with no modifications at all: still 
>> no signal
>> 
>> B. Info:
>> 
>> cat /proc/asound/card0/codec* | grep Codec
>> Codec: Realtek ALC892
>> Codec: Intel CougarPoint HDMI
>> 
>> I use zotac ZBOX ID82 (intel HM65 chipset with hdmi and spdif)
>> 
>> with alsa debug and alsa debug verbose enabled in kernel I got the 
>> alsa-info.txt attached file produced on raring with no modification 
>> while playing dts-hd sample file with command:
>> 
>> 
>> aplay -D hdmi:CARD=PCH,DEV=0 -c8 -fs16_le -r192000 dts.spdif
> 
> As per above you need to use
> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
> 
>> 
>> C. I add that:
>> 
>> - In every test I have non HD audio protocols (DTS and dolby) working 
>> well in the same configuration
>> 
>> - I have tried with windows just to see if my hardware is broken and I 
>> get DTS-HD audio with no problem
>> 
>> - Takashi, I've read your HD-Audio.txt file and as far as I see, I have 
>> no known error message in kernel log
>> 
>> 
>> => I and Wingchao Wang have conclued that it is driver or codec 
>> related. Can you help me please?
>> 
>> Thanks a lot
>> PS: sorry if you receive this email twice, I have sent it again as I 
>> was not member of the list the first time.
> 
> 
> -- 
> Anssi Hannula

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HBR audio with intel HDA
  2013-08-02 13:11   ` Ashecrow
@ 2013-08-02 13:42     ` Anssi Hannula
       [not found]       ` <BD474694-A9C3-4ACA-AB88-D4448831B4C4@free.fr>
  0 siblings, 1 reply; 6+ messages in thread
From: Anssi Hannula @ 2013-08-02 13:42 UTC (permalink / raw)
  To: Ashecrow; +Cc: tiwai, alsa-devel, xingchao.wang

02.08.2013 16:11, Ashecrow kirjoitti:
> Hi Anssi,
> Thanks for your answer
> 
> Test on kernel 3.8 + non-pcm bit in AES0:
> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
> => same result: no signal

Hmh, OK.

> Test with a non spdif-encapsulated file extracted from blu ray which is 16 bits 8 channel 192 kHz :
> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.dts-hd.sample_track2_und.dts
> => I get a static noise and receiver shows PCM and 2 channels (front left and front right)

You can't output non-encapsulated audio directly, you need to
encapsulate it e.g. with ffmpeg:
ffmpeg -i file.dtshd -acodec copy -f spdif file.dtshd.spdif

> With kernel upgrade to 3.9: same result
> 
> 
> Note that I have tested with alsa* 1.025 and intel-hda driver included in kernel
> 
> Do you have any other idea?

You could try DEV=1 instead of DEV=0 (according to your log DEV=0 is
correct, though), and truehd (thd.spdif from ffmpeg samples).

If neither of those work, could you provide another alsa-info while
playing back using AES0=0x06 (with alsa debug enabled again)?



> Thanks
> 
> 
> Le 1 août 2013 à 18:37, Anssi Hannula a écrit :
> 
>> 01.08.2013 19:29, ashecrow42@free.fr kirjoitti:
>>> Hi there,
>>
>> Hi!
>>
>>> I have troubles using HBR audio (DTS-HD and Dolby TrueHD). With every 
>>> test, I get no signal in the AV receiver. I have tested using a dts-hd 
>>> encapsulated in spdif sample file (found there 
>>> http://samples.mplayerhq.hu/hdmi/) and commands bellow
>>>
>>> - aplay -D hdmi devices
>>> - aplay -D hw devices
>>> - aplay -D plughw devices
>>
>> You need to set the non-pcm bit in AES0. Use e.g. "-D hdmi:AES0=0x06".
>>
>>> Note that I use ubuntu raring with 3.8 kernel that includes Xingchao's 
>>> HBR kernel patches.
>>>
>>>
>>> A. Configurations I have tested:
>>>
>>>
>>> - hda driver upgrade (alsa devel ubuntu team daily builds)
>>>
>>> - upgrade alsa-lib & alsa-utils (alsa-testing launchpad)
>>>
>>> - kernel upgrade to 3.9
>>
>> IIRC 3.9 (or newer) may indeed be needed since you have both hdmi and spdif.
>>
>>> - snd_hda_codec_realtek module backlist (to try to disable SPDIF) 
>>> /etc/modprobe.d/blacklist.conf
>>>
>>> - snd_hda_codec_realtek index = -2 in /etc/modprobe.d/alsa-base.conf
>>>
>>> - fresh new ubuntu raring install with no modifications at all: still 
>>> no signal
>>>
>>> B. Info:
>>>
>>> cat /proc/asound/card0/codec* | grep Codec
>>> Codec: Realtek ALC892
>>> Codec: Intel CougarPoint HDMI
>>>
>>> I use zotac ZBOX ID82 (intel HM65 chipset with hdmi and spdif)
>>>
>>> with alsa debug and alsa debug verbose enabled in kernel I got the 
>>> alsa-info.txt attached file produced on raring with no modification 
>>> while playing dts-hd sample file with command:
>>>
>>>
>>> aplay -D hdmi:CARD=PCH,DEV=0 -c8 -fs16_le -r192000 dts.spdif
>>
>> As per above you need to use
>> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
>>
>>>
>>> C. I add that:
>>>
>>> - In every test I have non HD audio protocols (DTS and dolby) working 
>>> well in the same configuration
>>>
>>> - I have tried with windows just to see if my hardware is broken and I 
>>> get DTS-HD audio with no problem
>>>
>>> - Takashi, I've read your HD-Audio.txt file and as far as I see, I have 
>>> no known error message in kernel log
>>>
>>>
>>> => I and Wingchao Wang have conclued that it is driver or codec 
>>> related. Can you help me please?
>>>
>>> Thanks a lot
>>> PS: sorry if you receive this email twice, I have sent it again as I 
>>> was not member of the list the first time.
>>
>>
>> -- 
>> Anssi Hannula
> 


-- 
Anssi Hannula

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HBR audio with intel HDA
       [not found]       ` <BD474694-A9C3-4ACA-AB88-D4448831B4C4@free.fr>
@ 2013-08-02 16:28         ` Anssi Hannula
  2013-08-02 17:21           ` Ashecrow
  0 siblings, 1 reply; 6+ messages in thread
From: Anssi Hannula @ 2013-08-02 16:28 UTC (permalink / raw)
  To: Ashecrow; +Cc: Takashi Iwai, alsa-devel@alsa-project.org, Wang, Xingchao

02.08.2013 19:14, Ashecrow kirjoitti:
> 
> Le 2 août 2013 à 15:42, Anssi Hannula a écrit :
> 
>> 02.08.2013 16:11, Ashecrow kirjoitti:
>>> Hi Anssi,
>>> Thanks for your answer
>>>
>>> Test on kernel 3.8 + non-pcm bit in AES0:
>>> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
>>> => same result: no signal
>>
>> Hmh, OK.
>>
>>> With kernel upgrade to 3.9: same result
>>>
>>>
>>> Note that I have tested with alsa* 1.025 and intel-hda driver included in kernel
>>>
>>> Do you have any other idea?
>>
>> You could try DEV=1 instead of DEV=0 (according to your log DEV=0 is
>> correct, though), and truehd (thd.spdif from ffmpeg samples).
>>
>> If neither of those work, could you provide another alsa-info while
>> playing back using AES0=0x06 (with alsa debug enabled again)?
>>
> I have already tried DEV=1 but it does the same. Moreover, let me note that I play DTS and dolby fine with DEV=0 in xbmc. So I guess it is the right device.

OK. Note that in some cases you can hear stereo audio or AC-3/DTS even
when using wrong DEV=x (but HBR or multichannel audio would not work).

> see attached alsa-info.txt_dev0_kernel-3.8_aes0_dts-hd which is result of playing dts-hd spdif encapsulated with kernel 3.8 in debug mode and AES0=0x06 through command bellow
> 
> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
> 
> see attached alsa-info.txt_dev0_kernel-3.8_aes0_true-hd which is result of playing dts-hd spdif encapsulated with kernel 3.8 in debug mode and AES0=0x06 through command bellow
> 
> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 thd.spdif
> 

Looks like your kernel is definitely too old to have working HBR on
Intel (the "ASP channel x => slot y" messages should have x=y), so
you'll need 3.9+.

Unfortunately I don't see anything else wrong (and HBR+intel works for
me), so I don't have anything else to suggest at the moment. Sorry.


> Thanks for your help
> 
>>
>>
>>> Thanks
>>>
>>>
>>> Le 1 août 2013 à 18:37, Anssi Hannula a écrit :
>>>
>>>> 01.08.2013 19:29, ashecrow42@free.fr kirjoitti:
>>>>> Hi there,
>>>>
>>>> Hi!
>>>>
>>>>> I have troubles using HBR audio (DTS-HD and Dolby TrueHD). With every 
>>>>> test, I get no signal in the AV receiver. I have tested using a dts-hd 
>>>>> encapsulated in spdif sample file (found there 
>>>>> http://samples.mplayerhq.hu/hdmi/) and commands bellow
>>>>>
>>>>> - aplay -D hdmi devices
>>>>> - aplay -D hw devices
>>>>> - aplay -D plughw devices
>>>>
>>>> You need to set the non-pcm bit in AES0. Use e.g. "-D hdmi:AES0=0x06".
>>>>
>>>>> Note that I use ubuntu raring with 3.8 kernel that includes Xingchao's 
>>>>> HBR kernel patches.
>>>>>
>>>>>
>>>>> A. Configurations I have tested:
>>>>>
>>>>>
>>>>> - hda driver upgrade (alsa devel ubuntu team daily builds)
>>>>>
>>>>> - upgrade alsa-lib & alsa-utils (alsa-testing launchpad)
>>>>>
>>>>> - kernel upgrade to 3.9
>>>>
>>>> IIRC 3.9 (or newer) may indeed be needed since you have both hdmi and spdif.
>>>>
>>>>> - snd_hda_codec_realtek module backlist (to try to disable SPDIF) 
>>>>> /etc/modprobe.d/blacklist.conf
>>>>>
>>>>> - snd_hda_codec_realtek index = -2 in /etc/modprobe.d/alsa-base.conf
>>>>>
>>>>> - fresh new ubuntu raring install with no modifications at all: still 
>>>>> no signal
>>>>>
>>>>> B. Info:
>>>>>
>>>>> cat /proc/asound/card0/codec* | grep Codec
>>>>> Codec: Realtek ALC892
>>>>> Codec: Intel CougarPoint HDMI
>>>>>
>>>>> I use zotac ZBOX ID82 (intel HM65 chipset with hdmi and spdif)
>>>>>
>>>>> with alsa debug and alsa debug verbose enabled in kernel I got the 
>>>>> alsa-info.txt attached file produced on raring with no modification 
>>>>> while playing dts-hd sample file with command:
>>>>>
>>>>>
>>>>> aplay -D hdmi:CARD=PCH,DEV=0 -c8 -fs16_le -r192000 dts.spdif
>>>>
>>>> As per above you need to use
>>>> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
>>>>
>>>>>
>>>>> C. I add that:
>>>>>
>>>>> - In every test I have non HD audio protocols (DTS and dolby) working 
>>>>> well in the same configuration
>>>>>
>>>>> - I have tried with windows just to see if my hardware is broken and I 
>>>>> get DTS-HD audio with no problem
>>>>>
>>>>> - Takashi, I've read your HD-Audio.txt file and as far as I see, I have 
>>>>> no known error message in kernel log
>>>>>
>>>>>
>>>>> => I and Wingchao Wang have conclued that it is driver or codec 
>>>>> related. Can you help me please?
>>>>>
>>>>> Thanks a lot
>>>>> PS: sorry if you receive this email twice, I have sent it again as I 
>>>>> was not member of the list the first time.
>>>>
>>>>
>>>> -- 
>>>> Anssi Hannula
>>>
>>
>>
>> -- 
>> Anssi Hannula
> 


-- 
Anssi Hannula

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HBR audio with intel HDA
  2013-08-02 16:28         ` Anssi Hannula
@ 2013-08-02 17:21           ` Ashecrow
  0 siblings, 0 replies; 6+ messages in thread
From: Ashecrow @ 2013-08-02 17:21 UTC (permalink / raw)
  To: Anssi Hannula; +Cc: Takashi Iwai, alsa-devel@alsa-project.org, Wang, Xingchao


Le 2 août 2013 à 18:28, Anssi Hannula a écrit :

> 02.08.2013 19:14, Ashecrow kirjoitti:
>> 
>> Le 2 août 2013 à 15:42, Anssi Hannula a écrit :
>> 
>>> 02.08.2013 16:11, Ashecrow kirjoitti:
>>>> Hi Anssi,
>>>> Thanks for your answer
>>>> 
>>>> Test on kernel 3.8 + non-pcm bit in AES0:
>>>> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
>>>> => same result: no signal
>>> 
>>> Hmh, OK.
>>> 
>>>> With kernel upgrade to 3.9: same result
>>>> 
>>>> 
>>>> Note that I have tested with alsa* 1.025 and intel-hda driver included in kernel
>>>> 
>>>> Do you have any other idea?
>>> 
>>> You could try DEV=1 instead of DEV=0 (according to your log DEV=0 is
>>> correct, though), and truehd (thd.spdif from ffmpeg samples).
>>> 
>>> If neither of those work, could you provide another alsa-info while
>>> playing back using AES0=0x06 (with alsa debug enabled again)?
>>> 
>> I have already tried DEV=1 but it does the same. Moreover, let me note that I play DTS and dolby fine with DEV=0 in xbmc. So I guess it is the right device.
> 
> OK. Note that in some cases you can hear stereo audio or AC-3/DTS even
> when using wrong DEV=x (but HBR or multichannel audio would not work).
ok but it works for neither hdmi:...DEV=0 nor hdmi:... DEV=1
> 
>> see attached alsa-info.txt_dev0_kernel-3.8_aes0_dts-hd which is result of playing dts-hd spdif encapsulated with kernel 3.8 in debug mode and AES0=0x06 through command bellow
>> 
>> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
>> 
>> see attached alsa-info.txt_dev0_kernel-3.8_aes0_true-hd which is result of playing dts-hd spdif encapsulated with kernel 3.8 in debug mode and AES0=0x06 through command bellow
>> 
>> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 thd.spdif
>> 
> 
> Looks like your kernel is definitely too old to have working HBR on
> Intel (the "ASP channel x => slot y" messages should have x=y), so
> you'll need 3.9+.

Ok but I did the test with kernel 3.9.3 and it doesn't work 
> 
> Unfortunately I don't see anything else wrong (and HBR+intel works for
> me), so I don't have anything else to suggest at the moment. Sorry.

Ok I know it works for many people who have intel hardware but not for my hardware. I've been struggling with this for 6 months and still no clue. 
How can I start a debug process?

> 
> 
>> Thanks for your help
>> 
>>> 
>>> 
>>>> Thanks
>>>> 
>>>> 
>>>> Le 1 août 2013 à 18:37, Anssi Hannula a écrit :
>>>> 
>>>>> 01.08.2013 19:29, ashecrow42@free.fr kirjoitti:
>>>>>> Hi there,
>>>>> 
>>>>> Hi!
>>>>> 
>>>>>> I have troubles using HBR audio (DTS-HD and Dolby TrueHD). With every 
>>>>>> test, I get no signal in the AV receiver. I have tested using a dts-hd 
>>>>>> encapsulated in spdif sample file (found there 
>>>>>> http://samples.mplayerhq.hu/hdmi/) and commands bellow
>>>>>> 
>>>>>> - aplay -D hdmi devices
>>>>>> - aplay -D hw devices
>>>>>> - aplay -D plughw devices
>>>>> 
>>>>> You need to set the non-pcm bit in AES0. Use e.g. "-D hdmi:AES0=0x06".
>>>>> 
>>>>>> Note that I use ubuntu raring with 3.8 kernel that includes Xingchao's 
>>>>>> HBR kernel patches.
>>>>>> 
>>>>>> 
>>>>>> A. Configurations I have tested:
>>>>>> 
>>>>>> 
>>>>>> - hda driver upgrade (alsa devel ubuntu team daily builds)
>>>>>> 
>>>>>> - upgrade alsa-lib & alsa-utils (alsa-testing launchpad)
>>>>>> 
>>>>>> - kernel upgrade to 3.9
>>>>> 
>>>>> IIRC 3.9 (or newer) may indeed be needed since you have both hdmi and spdif.
>>>>> 
>>>>>> - snd_hda_codec_realtek module backlist (to try to disable SPDIF) 
>>>>>> /etc/modprobe.d/blacklist.conf
>>>>>> 
>>>>>> - snd_hda_codec_realtek index = -2 in /etc/modprobe.d/alsa-base.conf
>>>>>> 
>>>>>> - fresh new ubuntu raring install with no modifications at all: still 
>>>>>> no signal
>>>>>> 
>>>>>> B. Info:
>>>>>> 
>>>>>> cat /proc/asound/card0/codec* | grep Codec
>>>>>> Codec: Realtek ALC892
>>>>>> Codec: Intel CougarPoint HDMI
>>>>>> 
>>>>>> I use zotac ZBOX ID82 (intel HM65 chipset with hdmi and spdif)
>>>>>> 
>>>>>> with alsa debug and alsa debug verbose enabled in kernel I got the 
>>>>>> alsa-info.txt attached file produced on raring with no modification 
>>>>>> while playing dts-hd sample file with command:
>>>>>> 
>>>>>> 
>>>>>> aplay -D hdmi:CARD=PCH,DEV=0 -c8 -fs16_le -r192000 dts.spdif
>>>>> 
>>>>> As per above you need to use
>>>>> aplay -D hdmi:CARD=PCH,DEV=0,AES0=0x06 -c8 -fs16_le -r192000 dts.spdif
>>>>> 
>>>>>> 
>>>>>> C. I add that:
>>>>>> 
>>>>>> - In every test I have non HD audio protocols (DTS and dolby) working 
>>>>>> well in the same configuration
>>>>>> 
>>>>>> - I have tried with windows just to see if my hardware is broken and I 
>>>>>> get DTS-HD audio with no problem
>>>>>> 
>>>>>> - Takashi, I've read your HD-Audio.txt file and as far as I see, I have 
>>>>>> no known error message in kernel log
>>>>>> 
>>>>>> 
>>>>>> => I and Wingchao Wang have conclued that it is driver or codec 
>>>>>> related. Can you help me please?
>>>>>> 
>>>>>> Thanks a lot
>>>>>> PS: sorry if you receive this email twice, I have sent it again as I 
>>>>>> was not member of the list the first time.
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Anssi Hannula
>>>> 
>>> 
>>> 
>>> -- 
>>> Anssi Hannula
>> 
> 
> 
> -- 
> Anssi Hannula

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-02 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 16:29 HBR audio with intel HDA ashecrow42
2013-08-01 16:37 ` Anssi Hannula
2013-08-02 13:11   ` Ashecrow
2013-08-02 13:42     ` Anssi Hannula
     [not found]       ` <BD474694-A9C3-4ACA-AB88-D4448831B4C4@free.fr>
2013-08-02 16:28         ` Anssi Hannula
2013-08-02 17:21           ` Ashecrow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.