* S/PDIF-Out on Asus M3A-H/HDMI with ALC1200
@ 2008-12-23 11:22 Thomas Schneider
2008-12-25 4:31 ` Wu Fengguang
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Schneider @ 2008-12-23 11:22 UTC (permalink / raw)
To: alsa-devel
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
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: S/PDIF-Out on Asus M3A-H/HDMI with ALC1200
2008-12-23 11:22 S/PDIF-Out on Asus M3A-H/HDMI with ALC1200 Thomas Schneider
@ 2008-12-25 4:31 ` Wu Fengguang
[not found] ` <49538716.4040401@gmx.net>
0 siblings, 1 reply; 4+ messages in thread
From: Wu Fengguang @ 2008-12-25 4:31 UTC (permalink / raw)
To: Thomas Schneider; +Cc: alsa-devel
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
On Tue, Dec 23, 2008 at 12:22:29PM +0100, Thomas Schneider wrote:
> 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
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] hda - fix name for ALC1200
[not found] ` <49538716.4040401@gmx.net>
@ 2008-12-26 4:20 ` Wu Fengguang
2009-01-01 9:37 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Wu Fengguang @ 2008-12-26 4:20 UTC (permalink / raw)
To: Thomas Schneider; +Cc: Takashi Iwai, alsa-devel
On Thu, Dec 25, 2008 at 03:13:58PM +0200, Thomas Schneider wrote:
> 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 },
>
> .....
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.
Reported-by: Thomas Schneider <nailstudio@gmx.net>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
---
sound/pci/hda/patch_realtek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- sound-2.6.orig/sound/pci/hda/patch_realtek.c
+++ sound-2.6/sound/pci/hda/patch_realtek.c
@@ -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 */
};
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] hda - fix name for ALC1200
2008-12-26 4:20 ` [PATCH] hda - fix name for ALC1200 Wu Fengguang
@ 2009-01-01 9:37 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2009-01-01 9:37 UTC (permalink / raw)
To: Wu Fengguang; +Cc: alsa-devel, Thomas Schneider
At Fri, 26 Dec 2008 12:20:43 +0800,
Wu Fengguang wrote:
>
> On Thu, Dec 25, 2008 at 03:13:58PM +0200, Thomas Schneider wrote:
> > 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 },
> >
> > .....
>
> 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.
>
> Reported-by: Thomas Schneider <nailstudio@gmx.net>
> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Applied. Thanks!
Takashi
> ---
> sound/pci/hda/patch_realtek.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- sound-2.6.orig/sound/pci/hda/patch_realtek.c
> +++ sound-2.6/sound/pci/hda/patch_realtek.c
> @@ -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
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-01 9:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-23 11:22 S/PDIF-Out on Asus M3A-H/HDMI with ALC1200 Thomas Schneider
2008-12-25 4:31 ` Wu Fengguang
[not found] ` <49538716.4040401@gmx.net>
2008-12-26 4:20 ` [PATCH] hda - fix name for ALC1200 Wu Fengguang
2009-01-01 9:37 ` Takashi Iwai
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.