Skip to contentSkip to conversation

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

PATCH Applied Thomas Schneider 3 participants 4 messages Dec 23, 2008 – Jan 1, 2009 1 message not in the archive Sound

lore
Share & tools
lore
#0 lore raw

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 ?

Regards

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

#1 lore raw

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 7 lines

Regards

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

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

#3 lore raw

PATCH 1/1 hda - fix name for ALC1200

In reply to a message not in the archive
Quoted 10 lines · Thomas Schneider

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".

Quoted 8 lines

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 },

.....

Good catch!

Reversing the order should fix the name.

Thanks,
Fengguang
---
hda - fix name for ALC1200

Move the more specific preset for ALC1200 above the general one for ALC888, so that it will have the chance to get matched and selected.

---
 sound/pci/hda/patch_realtek.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/hda/patch_realtek.c +1 -1
@@ -16638,9 +16638,9 @@ static struct hda_codec_preset snd_hda_p
 	  .patch = patch_alc882 }, /* should be patch_alc883() in future */
 	{ .id = 0x10ec0885, .name = "ALC885", .patch = patch_alc882 },
 	{ .id = 0x10ec0887, .name = "ALC887", .patch = patch_alc883 },
-	{ .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc883 },
 	{ .id = 0x10ec0888, .rev = 0x100101, .name = "ALC1200",
 	  .patch = patch_alc883 },
+	{ .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc883 },
 	{ .id = 0x10ec0889, .name = "ALC889", .patch = patch_alc883 },
 	{} /* terminator */
 };
Applied
#4 lore raw

Re: [PATCH] hda - fix name for ALC1200

At Fri, 26 Dec 2008 12:20:43 +0800,

Quoted 30 lines · Wu Fengguang
Quoted 10 lines · Thomas Schneider

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".

Quoted 8 lines

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 },

.....

Good catch!

Reversing the order should fix the name.

Thanks,
Fengguang
---
hda - fix name for ALC1200

Quoted 5 lines

Move the more specific preset for ALC1200 above the general one for ALC888, so that it will have the chance to get matched and selected.

Applied. Thanks!

Takashi

Quoted 22 lines
---
 sound/pci/hda/patch_realtek.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/hda/patch_realtek.c +1 -1
@@ -16638,9 +16638,9 @@ static struct hda_codec_preset snd_hda_p
 	  .patch = patch_alc882 }, /* should be patch_alc883() in future */
 	{ .id = 0x10ec0885, .name = "ALC885", .patch = patch_alc882 },
 	{ .id = 0x10ec0887, .name = "ALC887", .patch = patch_alc883 },
-	{ .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc883 },
 	{ .id = 0x10ec0888, .rev = 0x100101, .name = "ALC1200",
 	  .patch = patch_alc883 },
+	{ .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc883 },
 	{ .id = 0x10ec0889, .name = "ALC889", .patch = patch_alc883 },
 	{} /* terminator */
 };

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