Skip to contentSkip to conversation

S/PDIF-Out on Asus M3A-H/HDMI with ALC1200]

PATCH In review Thomas Schneider 3 participants 13 messages Dec 25, 2008 – Feb 6, 2009 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

here is the output from alsa-info.sh

http://www.alsa-project.org/db/?f=8282910dc807e1f141896886cd5f8fd574117000

I found another small mistake. In the Mixer my Soundcard is shown as "Realtek ALC888". When i switch this to lines in patch_realtek.c then it is shown as "Realtek ALC1200".

static struct hda_codec_preset snd_hda_preset_realtek[] = {
......

    { .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc883 },
    { .id = 0x10ec0888, .rev = 0x100101, .name = "ALC1200",
      .patch = patch_alc883 },

.....

Thomas

Am 25.12.2008 05:31, schrieb Wu Fengguang:

Quoted 76 lines

Hi Thomas,

Could you provide more information by running
http://www.alsa-project.org/alsa-info.sh

I'm particularity interested in the full dmesg and contents of

         /proc/asound/card?/*\#?

Thanks,
Fengguang

Quoted 55 lines · Thomas Schneider

Hi,

i am looking for a way to make Digital-Audio work with the external and internal S/PDIF-Output of my Motherboard Asus M3A-H/HDMI with ALC1200 Soundard. I use the latest unstable snapshot and i can´t make it work at the same time.

On the external S/PDIF-Output is my Digital Receiver connected, on the internal one my GeForce 8500GT to get sound over HDMI on my LCT-TV.

When i load the driver without any model-options my Soundcard is detected as Asus P5Q-EM HDMI

ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:2716:
hda_codec: model 'asus-p5q' is selected for config 1043:82fe (Asus P5Q-EM HDMI)

[ 6.721700] ALSA
/usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot
find slave Headphone Playback Volume, skipped
[ 6.721714] ALSA
/usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot
find slave Speaker Playback Volume, skipped
[ 6.721716] ALSA
/usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot
find slave Mono Playback Volume, skipped
[ 6.721719] ALSA
/usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot
find slave Line-Out Playback Volume, skipped
[ 6.721721] ALSA
/usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot
find slave PCM Playback Volume, skipped
[ 6.721729] ALSA
/usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot
find slave Speaker Playback Switch, skipped
[ 6.721731] ALSA

/usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave Mono Playback Switch, skipped

Now i have sound on my LCD-TV over HDMI (internal S/PDIF-Out)

When i load the driver with model=6stack-dig i have sound on my Digital-Receiver (external S/PDIF-Out).

In the mailinglist-archive or in the doku i have seen, that the only difference
between this models is the DIGOUT_NID

asus-p5q = 0x10
6stack-dig = 0x06

I there a way to get both output to work at the same time so i have sound on my LCD-TV and my Digital-Receiver ?

Quoted 8 lines

Regards

Thomas
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Quoted 5 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

hdtv:/temp# cat /proc/asound/card?/*\#?
Codec: Realtek ALC888
Address: 0
Vendor Id: 0x10ec0888
Subsystem Id: 0x104382fe
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 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 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x19 0x19] [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 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x19 0x19]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x11 [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x18561140: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x10
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018f: 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:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x15 [Pin Complex] wcaps 0x40018f: 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:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x16 [Pin Complex] wcaps 0x40018f: 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:  [0x00 0x00]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e* 0x0f 0x26
Node 0x17 [Pin Complex] wcaps 0x40018f: 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:  [0x00 0x00]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x18 [Pin Complex] wcaps 0x40018f: 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 0x01a19850: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40018f: 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 0x02a19c60: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x6, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40018f: 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 0x0181305f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x5, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40018f: 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:  [0x00 0x00]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  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=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x593301f0: [N/A] CD at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4015e601: [N/A] Speaker at Ext N/A
    Conn = Optical, Color = White
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x01447130: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Yellow
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400200: Mono 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
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=17
  Processing Coefficient: 0x4000
  Coefficient Index: 0x0b
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:  [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 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 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x25 0x0b
dmesg | grep alsa
[    6.682144] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_intel.c:2218: chipset global capabilities = 0x4401
[    6.688165] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_intel.c:786: codec_mask = 0x1
[    6.688227] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_intel.c:1213: hda_intel: codec #0 probed OK
[    6.763006] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:2716: hda_codec: model 'asus-p5q' is selected for config 1043:82fe (Asus P5Q-EM HDMI)
[    6.787812] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave Headphone Playback Volume, skipped
[    6.787815] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave Speaker Playback Volume, skipped
[    6.787827] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave Mono Playback Volume, skipped
[    6.787830] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave Line-Out Playback Volume, skipped
[    6.787832] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave PCM Playback Volume, skipped
[    6.787840] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave Speaker Playback Switch, skipped
[    6.787843] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:1339: Cannot find slave Mono Playback Switch, skipped
[   34.900148] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x11
[   34.900281] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x10, stream=0x5, channel=0, format=0x11
[   34.902302] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x11
[   34.904752] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x11
[   34.907207] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x11
[   34.909778] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x11
[   34.912357] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x2
[   34.912363] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x3
[   34.912367] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x4
[   34.912372] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x5
[   34.912377] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x10
[   34.912880] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011
[   34.913012] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x10, stream=0x5, channel=0, format=0x4011
[   34.914734] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
[   34.917287] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011
[   34.723243] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011
[   34.726554] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
[   34.729894] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x8400, format=0x4015
[   34.729894] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x10
[   34.729894] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4015
[   34.733262] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=2, format=0x4015
[   34.736723] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=4, format=0x4015
[   34.739957] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4015
[   34.743524] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x2
[   34.743529] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x3
[   34.743532] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x4
[   34.743535] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:892: hda_codec_cleanup_stream: NID=0x5
[   52.240117] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x11
[   52.240199] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x10, stream=0x5, channel=0, format=0x11
[   52.243493] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x11
[   52.246746] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x11
[   52.249231] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x11
[   52.251231] ALSA /usr/local/src/alsa-driver-unstable/pci/hda/hda_codec.c:879: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x11

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

Hi Thomas,

This patch adds the SPDIF pin as slave digital out which I hope to create concurrent HDMI/SPDIF outputs for you.

It's against today's sound-2.6 git tree.

Thanks,
Fengguang
---

sound/pci/hda/hda_local.h +1 -0
index 6f2fe0f..c9262f0 100644
@@ -227,6 +227,7 @@ struct hda_multi_out {
 	hda_nid_t hp_nid;	/* optional DAC for HP, 0 when not exists */
 	hda_nid_t extra_out_nid[3];	/* optional DACs, 0 when not exists */
 	hda_nid_t dig_out_nid;	/* digital out audio widget */
+	hda_nid_t *slave_dig_outs;
 	int max_channels;	/* currently supported analog channels */
 	int dig_out_used;	/* current usage of digital out (HDA_DIG_XXX) */
 	int no_share_stream;	/* don't share a stream with multiple pins */
sound/pci/hda/patch_realtek.c +4 -0
index 0bd4e6b..08bedee 100644
@@ -336,6 +336,7 @@ struct alc_config_preset {
 	hda_nid_t *dac_nids;
 	hda_nid_t dig_out_nid;		/* optional */
 	hda_nid_t hp_nid;		/* optional */
+	hda_nid_t *slave_dig_outs;
 	unsigned int num_adc_nids;
 	hda_nid_t *adc_nids;
 	hda_nid_t *capsrc_nids;
@@ -810,6 +811,7 @@ static void setup_preset(struct alc_spec *spec,
 	spec->multiout.num_dacs = preset->num_dacs;
 	spec->multiout.dac_nids = preset->dac_nids;
 	spec->multiout.dig_out_nid = preset->dig_out_nid;
+	spec->multiout.slave_dig_outs = preset->slave_dig_outs;
 	spec->multiout.hp_nid = preset->hp_nid;
 
 	spec->num_mux_defs = preset->num_mux_defs;
@@ -3085,6 +3087,7 @@ static int alc_build_pcms(struct hda_codec *codec)
 	/* SPDIF for stream index #1 */
 	if (spec->multiout.dig_out_nid || spec->dig_in_nid) {
 		codec->num_pcms = 2;
+	        codec->slave_dig_outs = spec->multiout.slave_dig_outs;
 		info = spec->pcm_rec + 1;
 		info->name = spec->stream_name_digital;
 		info->pcm_type = HDA_PCM_TYPE_SPDIF;
@@ -8865,6 +8868,7 @@ static struct alc_config_preset alc883_presets[] = {
 		.dac_nids = alc883_dac_nids,
 		.dig_out_nid = ALC1200_DIGOUT_NID,
 		.dig_in_nid = ALC883_DIGIN_NID,
+		.slave_dig_outs = { ALC883_DIGOUT_NID, 0 },
 		.num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
 		.channel_mode = alc883_sixstack_modes,
 		.input_mux = &alc883_capture_source,
#2 lore raw

Hi,

sorry, i get a kernel oops with this changes when i activate iec958 in the mixer !

[ 1435.041914] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000006
[ 1435.041914] IP: [<ffffffff880d0223>] :snd_hda_codec:set_dig_out+0x47/0x57
[ 1435.041914] PGD 6b5c3067 PUD 781ba067 PMD 0
[ 1435.041914] Oops: 0000 [1] SMP
[ 1435.041914] CPU 1
[ 1435.041914] Modules linked in: snd_pcm_oss snd_mixer_oss 

snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc lirc_serial lirc_dev mantis mb86a16 stb6100 stb0899 b2c2_flexcop_pci b2c2_flexcop s5h1420 mt352 itd1000 bcm3510 dvb_pll nxt200x isl6421 tuner_simple tuner_types cx24123 lgdt330x mt312 v4l2_common dvb_ttpci lnbp21 l64781 saa7146_vv saa7146 videobuf_dma_sg videobuf_core ves1820 tda8083 sp8870 firmware_class stv0297 ves1x93 ttpci_eeprom stv0299 dvb_core videodev v4l1_compat nvidia(P) battery ppdev parport_pc lp parport ipv6 cpufreq_ondemand cpufreq_conservative cpufreq_userspace nls_iso8859_1 nls_cp437 joydev usb_storage usbhid hid serio_raw pcspkr psmouse evdev i2c_piix4 k8temp atl1 i2c_core mii ehci_hcd ohci_hcd wmi button [last unloaded: soundcore]

[ 1435.041914] Pid: 17229, comm: alsamixer Tainted: P         2.6.25.16 #5
[ 1435.041914] RIP: 0010:[<ffffffff880d0223>]  [<ffffffff880d0223>] 
:snd_hda_codec:set_dig_out+0x47/0x57
[ 1435.041914] RSP: 0018:ffff81006f86fcb8  EFLAGS: 00010206
[ 1435.041914] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 
0000000000000010
[ 1435.041914] RDX: 0000000000000001 RSI: ffff81007cd1f1f0 RDI: 
ffff81007dc05828
[ 1435.041914] RBP: ffff81007dc05828 R08: 0000000000000001 R09: 
0000000000200200
[ 1435.041914] R10: ffff81007cd1f208 R11: ffffffff880d08ae R12: 
0000000000000001
[ 1435.041914] R13: 000000000000070d R14: 0000000000000001 R15: 
ffff81007dc05a30
[ 1435.041914] FS:  00007faf065546e0(0000) GS:ffff81007fb7fbc0(0000) 
knlGS:0000000000000000
[ 1435.041914] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1435.041914] CR2: 0000000000000006 CR3: 000000006f849000 CR4: 
00000000000006e0
[ 1435.041914] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
[ 1435.041914] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
0000000000000400
[ 1435.041914] Process alsamixer (pid: 17229, threadinfo 
ffff81006f86e000, task ffff81007e7395c0)
[ 1435.041914] Stack:  ffff81006f86fcd8 0000000000000010 
ffff81007dc05828 0000000000000010
[ 1435.041914]  0000000000000001 ffffffff880d0926 ffff81007ccd2028 
ffff81007c89e2e8
[ 1435.041914]  ffff81007ccd2028 ffff81007dc049c0 ffff81007dc04828 
ffff81007c89e2e8
[ 1435.041914] Call Trace:
[ 1435.041914]  [<ffffffff880d0926>] ? 
:snd_hda_codec:snd_hda_spdif_out_switch_put+0x78/0xe4
[ 1435.041914]  [<ffffffff8806f184>] ? :snd:snd_ctl_elem_write+0x9c/0xdb
[ 1435.041914]  [<ffffffff8806fc16>] ? :snd:snd_ctl_ioctl+0x2d3/0x770
[ 1435.041914]  [<ffffffff8024be32>] ? hrtimer_start+0x115/0x137
[ 1435.041914]  [<ffffffff8020bef9>] ? sysret_signal+0x2b/0x45
[ 1435.041914]  [<ffffffff802341e5>] ? hrtick_set+0xa1/0x10a
[ 1435.041914]  [<ffffffff8020b95a>] ? do_notify_resume+0x850/0x871
[ 1435.041914]  [<ffffffff8022f636>] ? __wake_up+0x38/0x4f
[ 1435.041914]  [<ffffffff8023b7d6>] ? current_fs_time+0x1e/0x24
[ 1435.041914]  [<ffffffff802ab23d>] ? vfs_ioctl+0x21/0x6c
[ 1435.041914]  [<ffffffff802ab4c1>] ? do_vfs_ioctl+0x239/0x24f
[ 1435.041914]  [<ffffffff802a061f>] ? vfs_read+0x11e/0x152
[ 1435.041914]  [<ffffffff802ab528>] ? sys_ioctl+0x51/0x71
[ 1435.041914]  [<ffffffff8020bef9>] ? sysret_signal+0x2b/0x45
[ 1435.041914]  [<ffffffff8020be4a>] ? system_call_after_swapgs+0x8a/0x8f
[ 1435.041914]
[ 1435.041914]
[ 1435.041914] Code: 08 e8 36 ff ff ff 48 8b 9d 30 02 00 00 48 85 db 75 
19 eb 1f 0f b7 f0 45 89 e0 44 89 e9 31 d2 48 89 ef 48 83 c3 02 e8 11 ff 
ff ff <66> 8b 03 66 85 c0 75 e1 5b 5b 5d 41 5c 41 5d c3 41 57 41 56 41
[ 1435.041914] RIP  [<ffffffff880d0223>] 
:snd_hda_codec:set_dig_out+0x47/0x57
[ 1435.041914]  RSP <ffff81006f86fcb8>
[ 1435.041914] CR2: 0000000000000006
[ 1435.041930] ---[ end trace 9b9cd1aadfad1315 ]---

Thomas

Am 26.12.2008 03:48, schrieb Wu Fengguang:

Quoted 64 lines

Hi Thomas,

This patch adds the SPDIF pin as slave digital out which I hope to create concurrent HDMI/SPDIF outputs for you.

It's against today's sound-2.6 git tree.

Thanks,
Fengguang
---

sound/pci/hda/hda_local.h +1 -0
index 6f2fe0f..c9262f0 100644
@@ -227,6 +227,7 @@ struct hda_multi_out {
  	hda_nid_t hp_nid;	/* optional DAC for HP, 0 when not exists */
  	hda_nid_t extra_out_nid[3];	/* optional DACs, 0 when not exists */
  	hda_nid_t dig_out_nid;	/* digital out audio widget */
+	hda_nid_t *slave_dig_outs;
  	int max_channels;	/* currently supported analog channels */
  	int dig_out_used;	/* current usage of digital out (HDA_DIG_XXX) */
  	int no_share_stream;	/* don't share a stream with multiple pins */
sound/pci/hda/patch_realtek.c +4 -0
index 0bd4e6b..08bedee 100644
@@ -336,6 +336,7 @@ struct alc_config_preset {
  	hda_nid_t *dac_nids;
  	hda_nid_t dig_out_nid;		/* optional */
  	hda_nid_t hp_nid;		/* optional */
+	hda_nid_t *slave_dig_outs;
  	unsigned int num_adc_nids;
  	hda_nid_t *adc_nids;
  	hda_nid_t *capsrc_nids;
@@ -810,6 +811,7 @@ static void setup_preset(struct alc_spec *spec,
  	spec->multiout.num_dacs = preset->num_dacs;
  	spec->multiout.dac_nids = preset->dac_nids;
  	spec->multiout.dig_out_nid = preset->dig_out_nid;
+	spec->multiout.slave_dig_outs = preset->slave_dig_outs;
  	spec->multiout.hp_nid = preset->hp_nid;
 
  	spec->num_mux_defs = preset->num_mux_defs;
@@ -3085,6 +3087,7 @@ static int alc_build_pcms(struct hda_codec *codec)
  	/* SPDIF for stream index #1 */
  	if (spec->multiout.dig_out_nid || spec->dig_in_nid) {
  		codec->num_pcms = 2;
+	        codec->slave_dig_outs = spec->multiout.slave_dig_outs;
  		info = spec->pcm_rec + 1;
  		info->name = spec->stream_name_digital;
  		info->pcm_type = HDA_PCM_TYPE_SPDIF;
@@ -8865,6 +8868,7 @@ static struct alc_config_preset alc883_presets[] = {
  		.dac_nids = alc883_dac_nids,
  		.dig_out_nid = ALC1200_DIGOUT_NID,
  		.dig_in_nid = ALC883_DIGIN_NID,
+		.slave_dig_outs = { ALC883_DIGOUT_NID, 0 },
  		.num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
  		.channel_mode = alc883_sixstack_modes,
  		.input_mux =&alc883_capture_source,

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw
Quoted 11 lines · Thomas Schneider

Hi,

sorry, i get a kernel oops with this changes when i activate iec958 in the mixer !

[ 1435.041914] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000006
[ 1435.041914] IP: [<ffffffff880d0223>] :snd_hda_codec:set_dig_out+0x47/0x57
[ 1435.041914] PGD 6b5c3067 PUD 781ba067 PMD 0
[ 1435.041914] Oops: 0000 [1] SMP

Sorry, does this new patch fixed the oops?

Thanks,
Fengguang

---
 sound/pci/hda/hda_local.h     |    1 +
 sound/pci/hda/patch_realtek.c |    9 ++++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
sound/pci/hda/hda_local.h +1 -0
@@ -227,6 +227,7 @@ struct hda_multi_out {
 	hda_nid_t hp_nid;	/* optional DAC for HP, 0 when not exists */
 	hda_nid_t extra_out_nid[3];	/* optional DACs, 0 when not exists */
 	hda_nid_t dig_out_nid;	/* digital out audio widget */
+	hda_nid_t *slave_dig_outs;
 	int max_channels;	/* currently supported analog channels */
 	int dig_out_used;	/* current usage of digital out (HDA_DIG_XXX) */
 	int no_share_stream;	/* don't share a stream with multiple pins */
sound/pci/hda/patch_realtek.c +8 -1
@@ -336,6 +336,7 @@ struct alc_config_preset {
 	hda_nid_t *dac_nids;
 	hda_nid_t dig_out_nid;		/* optional */
 	hda_nid_t hp_nid;		/* optional */
+	hda_nid_t *slave_dig_outs;
 	unsigned int num_adc_nids;
 	hda_nid_t *adc_nids;
 	hda_nid_t *capsrc_nids;
@@ -810,6 +811,7 @@ static void setup_preset(struct alc_spec
 	spec->multiout.num_dacs = preset->num_dacs;
 	spec->multiout.dac_nids = preset->dac_nids;
 	spec->multiout.dig_out_nid = preset->dig_out_nid;
+	spec->multiout.slave_dig_outs = preset->slave_dig_outs;
 	spec->multiout.hp_nid = preset->hp_nid;
 
 	spec->num_mux_defs = preset->num_mux_defs;
@@ -3085,6 +3087,7 @@ static int alc_build_pcms(struct hda_cod
 	/* SPDIF for stream index #1 */
 	if (spec->multiout.dig_out_nid || spec->dig_in_nid) {
 		codec->num_pcms = 2;
+	        codec->slave_dig_outs = spec->multiout.slave_dig_outs;
 		info = spec->pcm_rec + 1;
 		info->name = spec->stream_name_digital;
 		info->pcm_type = HDA_PCM_TYPE_SPDIF;
@@ -8525,6 +8528,10 @@ static struct snd_pci_quirk alc883_cfg_t
 	{}
 };
 
+static hda_nid_t alc1200_slave_dig_outs[] = {
+	ALC883_DIGOUT_NID, 0,
+};
+
 static struct alc_config_preset alc883_presets[] = {
 	[ALC883_3ST_2ch_DIG] = {
 		.mixers = { alc883_3ST_2ch_mixer },
@@ -8865,13 +8872,13 @@ static struct alc_config_preset alc883_p
 		.dac_nids = alc883_dac_nids,
 		.dig_out_nid = ALC1200_DIGOUT_NID,
 		.dig_in_nid = ALC883_DIGIN_NID,
+		.slave_dig_outs = alc1200_slave_dig_outs,
 		.num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
 		.channel_mode = alc883_sixstack_modes,
 		.input_mux = &alc883_capture_source,
 	},
 };
 
-
 /*
  * BIOS auto configuration
  */
#4 lore raw

Hi,

yes the new patch fix the oops. And now i have sound on both connections at the same time !!!

Many Thanks

Am 30.12.2008 10:54, schrieb Wu Fengguang:

Quoted 92 lines · Thomas Schneider
Quoted 7 lines

Hi,

sorry, i get a kernel oops with this changes when i activate iec958 in the mixer !

Quoted 6 lines
[ 1435.041914] BUG: unable to handle kernel NULL pointer dereference at
0000000000000006
[ 1435.041914] IP: [<ffffffff880d0223>] :snd_hda_codec:set_dig_out+0x47/0x57
[ 1435.041914] PGD 6b5c3067 PUD 781ba067 PMD 0
[ 1435.041914] Oops: 0000 [1] SMP

Sorry, does this new patch fixed the oops?

Thanks,
Fengguang

---
  sound/pci/hda/hda_local.h     |    1 +
  sound/pci/hda/patch_realtek.c |    9 ++++++++-
  2 files changed, 9 insertions(+), 1 deletion(-)
sound/pci/hda/hda_local.h +1 -0
@@ -227,6 +227,7 @@ struct hda_multi_out {
  	hda_nid_t hp_nid;	/* optional DAC for HP, 0 when not exists */
  	hda_nid_t extra_out_nid[3];	/* optional DACs, 0 when not exists */
  	hda_nid_t dig_out_nid;	/* digital out audio widget */
+	hda_nid_t *slave_dig_outs;
  	int max_channels;	/* currently supported analog channels */
  	int dig_out_used;	/* current usage of digital out (HDA_DIG_XXX) */
  	int no_share_stream;	/* don't share a stream with multiple pins */
sound/pci/hda/patch_realtek.c +8 -1
@@ -336,6 +336,7 @@ struct alc_config_preset {
  	hda_nid_t *dac_nids;
  	hda_nid_t dig_out_nid;		/* optional */
  	hda_nid_t hp_nid;		/* optional */
+	hda_nid_t *slave_dig_outs;
  	unsigned int num_adc_nids;
  	hda_nid_t *adc_nids;
  	hda_nid_t *capsrc_nids;
@@ -810,6 +811,7 @@ static void setup_preset(struct alc_spec
  	spec->multiout.num_dacs = preset->num_dacs;
  	spec->multiout.dac_nids = preset->dac_nids;
  	spec->multiout.dig_out_nid = preset->dig_out_nid;
+	spec->multiout.slave_dig_outs = preset->slave_dig_outs;
  	spec->multiout.hp_nid = preset->hp_nid;
 
  	spec->num_mux_defs = preset->num_mux_defs;
@@ -3085,6 +3087,7 @@ static int alc_build_pcms(struct hda_cod
  	/* SPDIF for stream index #1 */
  	if (spec->multiout.dig_out_nid || spec->dig_in_nid) {
  		codec->num_pcms = 2;
+	        codec->slave_dig_outs = spec->multiout.slave_dig_outs;
  		info = spec->pcm_rec + 1;
  		info->name = spec->stream_name_digital;
  		info->pcm_type = HDA_PCM_TYPE_SPDIF;
@@ -8525,6 +8528,10 @@ static struct snd_pci_quirk alc883_cfg_t
  	{}
  };
 
+static hda_nid_t alc1200_slave_dig_outs[] = {
+	ALC883_DIGOUT_NID, 0,
+};
+
  static struct alc_config_preset alc883_presets[] = {
  	[ALC883_3ST_2ch_DIG] = {
  		.mixers = { alc883_3ST_2ch_mixer },
@@ -8865,13 +8872,13 @@ static struct alc_config_preset alc883_p
  		.dac_nids = alc883_dac_nids,
  		.dig_out_nid = ALC1200_DIGOUT_NID,
  		.dig_in_nid = ALC883_DIGIN_NID,
+		.slave_dig_outs = alc1200_slave_dig_outs,
  		.num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
  		.channel_mode = alc883_sixstack_modes,
  		.input_mux =&alc883_capture_source,
  	},
  };
 
-
  /*
   * BIOS auto configuration
   */

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#5 lore raw

PATCH 1/1 enable concurrent digital outputs for ALC1200

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

---
 sound/pci/hda/hda_local.h     |    1 +
 sound/pci/hda/patch_realtek.c |    8 ++++++++
 2 files changed, 9 insertions(+)
sound/pci/hda/hda_local.h +1 -0
@@ -229,6 +229,7 @@ struct hda_multi_out {
 	hda_nid_t hp_nid;	/* optional DAC for HP, 0 when not exists */
 	hda_nid_t extra_out_nid[3];	/* optional DACs, 0 when not exists */
 	hda_nid_t dig_out_nid;	/* digital out audio widget */
+	hda_nid_t *slave_dig_outs;
 	int max_channels;	/* currently supported analog channels */
 	int dig_out_used;	/* current usage of digital out (HDA_DIG_XXX) */
 	int no_share_stream;	/* don't share a stream with multiple pins */
sound/pci/hda/patch_realtek.c +8 -0
@@ -349,6 +349,7 @@ struct alc_config_preset {
 	hda_nid_t *dac_nids;
 	hda_nid_t dig_out_nid;		/* optional */
 	hda_nid_t hp_nid;		/* optional */
+	hda_nid_t *slave_dig_outs;
 	unsigned int num_adc_nids;
 	hda_nid_t *adc_nids;
 	hda_nid_t *capsrc_nids;
@@ -824,6 +825,7 @@ static void setup_preset(struct alc_spec
 	spec->multiout.num_dacs = preset->num_dacs;
 	spec->multiout.dac_nids = preset->dac_nids;
 	spec->multiout.dig_out_nid = preset->dig_out_nid;
+	spec->multiout.slave_dig_outs = preset->slave_dig_outs;
 	spec->multiout.hp_nid = preset->hp_nid;
 
 	spec->num_mux_defs = preset->num_mux_defs;
@@ -3107,6 +3109,7 @@ static int alc_build_pcms(struct hda_cod
 	/* SPDIF for stream index #1 */
 	if (spec->multiout.dig_out_nid || spec->dig_in_nid) {
 		codec->num_pcms = 2;
+	        codec->slave_dig_outs = spec->multiout.slave_dig_outs;
 		info = spec->pcm_rec + 1;
 		info->name = spec->stream_name_digital;
 		if (spec->dig_out_type)
@@ -8603,6 +8606,10 @@ static struct snd_pci_quirk alc883_cfg_t
 	{}
 };
 
+static hda_nid_t alc1200_slave_dig_outs[] = {
+	ALC883_DIGOUT_NID, 0,
+};
+
 static struct alc_config_preset alc883_presets[] = {
 	[ALC883_3ST_2ch_DIG] = {
 		.mixers = { alc883_3ST_2ch_mixer },
@@ -8943,6 +8950,7 @@ static struct alc_config_preset alc883_p
 		.dac_nids = alc883_dac_nids,
 		.dig_out_nid = ALC1200_DIGOUT_NID,
 		.dig_in_nid = ALC883_DIGIN_NID,
+		.slave_dig_outs = alc1200_slave_dig_outs,
 		.num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
 		.channel_mode = alc883_sixstack_modes,
 		.input_mux = &alc883_capture_source,
#6 lore raw

Re: [PATCH] enable concurrent digital outputs for ALC1200

At Fri, 6 Feb 2009 15:02:27 +0800,

Quoted 6 lines · Wu Fengguang

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

Applied now. Thanks.

(We need a bit more (clean-up) work on these issues...)

Takashi

Quoted 61 lines
---
 sound/pci/hda/hda_local.h     |    1 +
 sound/pci/hda/patch_realtek.c |    8 ++++++++
 2 files changed, 9 insertions(+)
sound/pci/hda/hda_local.h +1 -0
@@ -229,6 +229,7 @@ struct hda_multi_out {
 	hda_nid_t hp_nid;	/* optional DAC for HP, 0 when not exists */
 	hda_nid_t extra_out_nid[3];	/* optional DACs, 0 when not exists */
 	hda_nid_t dig_out_nid;	/* digital out audio widget */
+	hda_nid_t *slave_dig_outs;
 	int max_channels;	/* currently supported analog channels */
 	int dig_out_used;	/* current usage of digital out (HDA_DIG_XXX) */
 	int no_share_stream;	/* don't share a stream with multiple pins */
sound/pci/hda/patch_realtek.c +8 -0
@@ -349,6 +349,7 @@ struct alc_config_preset {
 	hda_nid_t *dac_nids;
 	hda_nid_t dig_out_nid;		/* optional */
 	hda_nid_t hp_nid;		/* optional */
+	hda_nid_t *slave_dig_outs;
 	unsigned int num_adc_nids;
 	hda_nid_t *adc_nids;
 	hda_nid_t *capsrc_nids;
@@ -824,6 +825,7 @@ static void setup_preset(struct alc_spec
 	spec->multiout.num_dacs = preset->num_dacs;
 	spec->multiout.dac_nids = preset->dac_nids;
 	spec->multiout.dig_out_nid = preset->dig_out_nid;
+	spec->multiout.slave_dig_outs = preset->slave_dig_outs;
 	spec->multiout.hp_nid = preset->hp_nid;
 
 	spec->num_mux_defs = preset->num_mux_defs;
@@ -3107,6 +3109,7 @@ static int alc_build_pcms(struct hda_cod
 	/* SPDIF for stream index #1 */
 	if (spec->multiout.dig_out_nid || spec->dig_in_nid) {
 		codec->num_pcms = 2;
+	        codec->slave_dig_outs = spec->multiout.slave_dig_outs;
 		info = spec->pcm_rec + 1;
 		info->name = spec->stream_name_digital;
 		if (spec->dig_out_type)
@@ -8603,6 +8606,10 @@ static struct snd_pci_quirk alc883_cfg_t
 	{}
 };
 
+static hda_nid_t alc1200_slave_dig_outs[] = {
+	ALC883_DIGOUT_NID, 0,
+};
+
 static struct alc_config_preset alc883_presets[] = {
 	[ALC883_3ST_2ch_DIG] = {
 		.mixers = { alc883_3ST_2ch_mixer },
@@ -8943,6 +8950,7 @@ static struct alc_config_preset alc883_p
 		.dac_nids = alc883_dac_nids,
 		.dig_out_nid = ALC1200_DIGOUT_NID,
 		.dig_in_nid = ALC883_DIGIN_NID,
+		.slave_dig_outs = alc1200_slave_dig_outs,
 		.num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
 		.channel_mode = alc883_sixstack_modes,
 		.input_mux = &alc883_capture_source,
#7 lore raw

Re: [PATCH] enable concurrent digital outputs for ALC1200

Quoted 6 lines · Takashi Iwai

At Fri, 6 Feb 2009 15:02:27 +0800,

Quoted 4 lines · Wu Fengguang

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

Quoted 6 lines
Quoted 2 lines

Applied now. Thanks.

(We need a bit more (clean-up) work on these issues...)

I have an old patch that tries to convert the dig_out_pin from a scaler into an array. I wonder if this is the way to go...

static int is_in_nid_list(hda_nid_t nid, hda_nid_t *list)

sound/pci/hda/hda_local.h +2 -1
index 7957fef..989e04b 100644
@@ -341,7 +341,8 @@ struct auto_pin_cfg {
 	int line_out_type;	/* AUTO_PIN_XXX_OUT */
 	hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS];
 	hda_nid_t input_pins[AUTO_PIN_LAST];
-	hda_nid_t dig_out_pin;
+	int dig_outs;
+	hda_nid_t dig_out_pins[AUTO_CFG_MAX_OUTS];
 	hda_nid_t dig_in_pin;
 	hda_nid_t mono_out_pin;
 };
sound/pci/hda/patch_analog.c +1 -1
index 2b00c4a..bf94481 100644
@@ -2841,7 +2841,7 @@ static int ad1988_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = AD1988_SPDIF_OUT;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = AD1988_SPDIF_IN;
sound/pci/hda/patch_realtek.c +8 -8
index c2ff85d..47f06d0 100644
@@ -3784,7 +3784,7 @@ static int alc880_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC880_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = ALC880_DIGIN_NID;
@@ -5185,7 +5185,7 @@ static int alc260_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC260_DIGOUT_NID;
 	if (spec->kctl_alloc)
 		spec->mixers[spec->num_mixers++] = spec->kctl_alloc;
@@ -10249,7 +10249,7 @@ static int alc262_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC262_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = ALC262_DIGIN_NID;
@@ -11382,7 +11382,7 @@ static int alc268_parse_auto_config(struct hda_codec *codec)
 	spec->multiout.max_channels = 2;
 
 	/* digital only support output */
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC268_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -12154,7 +12154,7 @@ static int alc269_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC269_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -13252,7 +13252,7 @@ static int alc861_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC861_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -14363,7 +14363,7 @@ static int alc861vd_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC861VD_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -16182,7 +16182,7 @@ static int alc662_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC880_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
sound/pci/hda/patch_via.c +5 -5
index 63e4871..cf0ce0b 100644
@@ -1368,7 +1368,7 @@ static int vt1708_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1708_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = VT1708_DIGIN_NID;
@@ -1841,7 +1841,7 @@ static int vt1709_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1709_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = VT1709_DIGIN_NID;
@@ -2385,7 +2385,7 @@ static int vt1708B_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1708B_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = VT1708B_DIGIN_NID;
@@ -2850,7 +2850,7 @@ static int vt1708S_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1708S_DIGOUT_NID;
 
 	spec->extra_dig_out_nid = 0x15;
@@ -3169,7 +3169,7 @@ static int vt1702_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1702_DIGOUT_NID;
 
 	spec->extra_dig_out_nid = 0x1B;
#8 lore raw

Re: [PATCH] enable concurrent digital outputs for ALC1200

At Fri, 6 Feb 2009 16:13:06 +0800,

Quoted 11 lines · Wu Fengguang
Quoted 9 lines · Takashi Iwai

At Fri, 6 Feb 2009 15:02:27 +0800,

Quoted 6 lines · Wu Fengguang

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

Quoted 6 lines
Quoted 3 lines

Applied now. Thanks.

(We need a bit more (clean-up) work on these issues...)

I have an old patch that tries to convert the dig_out_pin from a scaler into an array. I wonder if this is the way to go...

Well, my original thought was about the situation that both codec and spec->multiout have the same slave_dig_out array. It's a bit confusing.

Takashi

Quoted 155 lines

static int is_in_nid_list(hda_nid_t nid, hda_nid_t *list)

sound/pci/hda/hda_local.h +2 -1
index 7957fef..989e04b 100644
@@ -341,7 +341,8 @@ struct auto_pin_cfg {
 	int line_out_type;	/* AUTO_PIN_XXX_OUT */
 	hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS];
 	hda_nid_t input_pins[AUTO_PIN_LAST];
-	hda_nid_t dig_out_pin;
+	int dig_outs;
+	hda_nid_t dig_out_pins[AUTO_CFG_MAX_OUTS];
 	hda_nid_t dig_in_pin;
 	hda_nid_t mono_out_pin;
 };
sound/pci/hda/patch_analog.c +1 -1
index 2b00c4a..bf94481 100644
@@ -2841,7 +2841,7 @@ static int ad1988_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = AD1988_SPDIF_OUT;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = AD1988_SPDIF_IN;
sound/pci/hda/patch_realtek.c +8 -8
index c2ff85d..47f06d0 100644
@@ -3784,7 +3784,7 @@ static int alc880_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC880_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = ALC880_DIGIN_NID;
@@ -5185,7 +5185,7 @@ static int alc260_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC260_DIGOUT_NID;
 	if (spec->kctl_alloc)
 		spec->mixers[spec->num_mixers++] = spec->kctl_alloc;
@@ -10249,7 +10249,7 @@ static int alc262_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC262_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = ALC262_DIGIN_NID;
@@ -11382,7 +11382,7 @@ static int alc268_parse_auto_config(struct hda_codec *codec)
 	spec->multiout.max_channels = 2;
 
 	/* digital only support output */
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC268_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -12154,7 +12154,7 @@ static int alc269_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC269_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -13252,7 +13252,7 @@ static int alc861_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC861_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -14363,7 +14363,7 @@ static int alc861vd_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC861VD_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
@@ -16182,7 +16182,7 @@ static int alc662_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = ALC880_DIGOUT_NID;
 
 	if (spec->kctl_alloc)
sound/pci/hda/patch_via.c +5 -5
index 63e4871..cf0ce0b 100644
@@ -1368,7 +1368,7 @@ static int vt1708_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1708_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = VT1708_DIGIN_NID;
@@ -1841,7 +1841,7 @@ static int vt1709_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1709_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = VT1709_DIGIN_NID;
@@ -2385,7 +2385,7 @@ static int vt1708B_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1708B_DIGOUT_NID;
 	if (spec->autocfg.dig_in_pin)
 		spec->dig_in_nid = VT1708B_DIGIN_NID;
@@ -2850,7 +2850,7 @@ static int vt1708S_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1708S_DIGOUT_NID;
 
 	spec->extra_dig_out_nid = 0x15;
@@ -3169,7 +3169,7 @@ static int vt1702_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
-	if (spec->autocfg.dig_out_pin)
+	if (spec->autocfg.dig_outs)
 		spec->multiout.dig_out_nid = VT1702_DIGOUT_NID;
 
 	spec->extra_dig_out_nid = 0x1B;
#9 lore raw

Re: [PATCH] enable concurrent digital outputs for ALC1200

Quoted 15 lines · Takashi Iwai

At Fri, 6 Feb 2009 16:13:06 +0800,

Quoted 13 lines · Wu Fengguang
Quoted 11 lines · Takashi Iwai

At Fri, 6 Feb 2009 15:02:27 +0800,

Quoted 6 lines · Wu Fengguang

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

Applied now. Thanks.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

(We need a bit more (clean-up) work on these issues...)

I have an old patch that tries to convert the dig_out_pin from a scaler into an array. I wonder if this is the way to go...

Well, my original thought was about the situation that both codec and spec->multiout have the same slave_dig_out array. It's a bit confusing.

Ah yes, there are so many slave_dig_outs now ;-)

        alc1200_slave_dig_outs
     => preset->slave_dig_outs
     => spec->multiout.slave_dig_outs
     => codec->slave_dig_outs
#10 lore raw

Re: [PATCH] enable concurrent digital outputs for ALC1200

In reply to Wu Fengguang

At Fri, 6 Feb 2009 15:02:27 +0800,

Quoted 6 lines · Wu Fengguang

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

BTW, Thomas, could you give the output of alsa-info.sh (with --no-upload option)? The script is found at
http://www.alsa-project.org/alsa-info.sh

thanks,

Takashi

#11 lore raw

Re: [PATCH] enable concurrent digital outputs for ALC1200

Quoted 6 lines · Takashi Iwai

At Fri, 6 Feb 2009 15:02:27 +0800,

Quoted 4 lines · Wu Fengguang

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

Quoted 6 lines
Quoted 2 lines

BTW, Thomas, could you give the output of alsa-info.sh (with --no-upload option)? The script is found at
http://www.alsa-project.org/alsa-info.sh

He once uploaded one here:

        http://www.alsa-project.org/db/?f=8282910dc807e1f141896886cd5f8fd574117000

Thanks,
Fengguang

#12 lore raw

Re: [PATCH] enable concurrent digital outputs for ALC1200

At Fri, 6 Feb 2009 16:30:35 +0800,

Quoted 11 lines · Wu Fengguang
Quoted 9 lines · Takashi Iwai

At Fri, 6 Feb 2009 15:02:27 +0800,

Quoted 6 lines · Wu Fengguang

Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec.

Quoted 6 lines
Quoted 3 lines

BTW, Thomas, could you give the output of alsa-info.sh (with --no-upload option)? The script is found at
http://www.alsa-project.org/alsa-info.sh

He once uploaded one here:

        http://www.alsa-project.org/db/?f=8282910dc807e1f141896886cd5f8fd574117000

Thanks, I took it.

Takashi