[alsa-devel] help with idt 92hd206 codec for intel hda?
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears to use the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear to have full support under ALSA. It gets detected as another Sigmatel chip. Analog stereo output appears to work, but the mixer doesn't find any of the normal inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email. I'm not much of an driver hacker, but if someone could give me an idea of what needs to go into the patch_sigmatel.c file to make this thing work, I'd be willing to try. I'm also more than willing to test out patches on my setup.
Thanks in advance for your help. -Greg
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears to use the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear to have full support under ALSA. It gets detected as another Sigmatel chip. Analog stereo output appears to work, but the mixer doesn't find any of the normal inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email. I'm not much of an driver hacker, but if someone could give me an idea of what needs to go into the patch_sigmatel.c file to make this thing work, I'd be willing to try. I'm also more than willing to test out patches on my setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest ALSA HG version?
thanks,
Takashi
--- diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200 +++ b/pci/hda/patch_sigmatel.c Tue Apr 29 19:47:26 2008 +0200 @@ -364,6 +364,20 @@ 0x21, 0x22, };
+#define stac92hd206_pin_nids stac925x_pin_nids + +static hda_nid_t stac92hd206_dac_nids[4] = { + 0x02, 0x03, 0x04, 0x05, +}; + +static hda_nid_t stac92hd206_adc_nids[2] = { + 0x07, 0x08 +}; + +static hda_nid_t stac92hd206_mux_nids[2] = { + 0x15, 0x16 +}; + static int stac92xx_dmux_enum_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) { @@ -688,6 +702,12 @@ {} };
+static struct hda_verb stac92hd206_core_init[] = { + /* set master volume and direct control */ + { 0x24, AC_VERB_SET_VOLUME_KNOB_CONTROL, 0xff}, + {} +}; + #define STAC_MONO_MUX \ { \ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ @@ -889,6 +909,17 @@ HDA_CODEC_VOLUME_IDX("Capture Volume", 0x2, 0x1A, 0x0, HDA_INPUT), HDA_CODEC_MUTE_IDX("Capture Switch", 0x2, 0x1d, 0x0, HDA_OUTPUT), HDA_CODEC_VOLUME_IDX("Mux Capture Volume", 0x2, 0x17, 0x0, HDA_OUTPUT), + { } /* end */ +}; + +static struct snd_kcontrol_new stac92hd206_mixer[] = { + STAC_INPUT_SOURCE(2), + HDA_CODEC_VOLUME_IDX("Capture Volume", 0, 0x15, 0, HDA_OUTPUT), + HDA_CODEC_MUTE_IDX("Capture Switch", 0, 0x1b, 0, HDA_OUTPUT), + HDA_CODEC_VOLUME_IDX("Capture Mux Volume", 0, 0x18, 0, HDA_INPUT), + HDA_CODEC_VOLUME_IDX("Capture Volume", 1, 0x16, 0, HDA_OUTPUT), + HDA_CODEC_MUTE_IDX("Capture Switch", 1, 0x1c, 0, HDA_OUTPUT), + HDA_CODEC_VOLUME_IDX("Capture Mux Volume", 1, 0x19, 0, HDA_INPUT), { } /* end */ };
@@ -3463,6 +3494,53 @@ return 0; }
+static int patch_stac92hd206(struct hda_codec *codec) +{ + struct sigmatel_spec *spec; + int err; + + spec = kzalloc(sizeof(*spec), GFP_KERNEL); + if (!spec) + return -ENOMEM; + + codec->spec = spec; + spec->num_pins = ARRAY_SIZE(stac92hd206_pin_nids); + spec->pin_nids = stac92hd206_pin_nids; + + /* no preset model yet */ + err = stac92xx_save_bios_config_regs(codec); + if (err < 0) { + stac92xx_free(codec); + return err; + } + spec->pin_configs = spec->bios_pin_configs; + + spec->multiout.max_channels = 2; + spec->multiout.num_dacs = 1; + spec->multiout.dac_nids = stac92hd206_dac_nids; + spec->adc_nids = stac92hd206_adc_nids; + spec->num_adcs = ARRAY_SIZE(stac92hd206_adc_nids); + spec->mux_nids = stac92hd206_mux_nids; + spec->num_muxes = ARRAY_SIZE(stac92hd206_mux_nids); + spec->num_pwrs = 0; + spec->num_dmics = 0; + + spec->init = stac92hd206_core_init; + spec->mixer = stac92hd206_mixer; + + err = stac92xx_parse_auto_config(codec, 0x1e, 0x20); + if (!err) + err = -EINVAL; + if (err < 0) { + stac92xx_free(codec); + return err; + } + + codec->patch_ops = stac92xx_patch_ops; + + return 0; +} + static struct hda_input_mux stac92hd73xx_dmux = { .num_items = 4, .items = { @@ -4289,6 +4367,8 @@ { .id = 0x83847635, .name = "STAC9250D", .patch = patch_stac925x }, { .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x }, { .id = 0x83847637, .name = "STAC9250D", .patch = patch_stac925x }, + { .id = 0x83847645, .name = "92HD206X", .patch = patch_stac92hd206 }, + { .id = 0x83847646, .name = "92HD206D", .patch = patch_stac92hd206 }, /* The following does not take into account .id=0x83847661 when subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ Notebooks are * currently not fully supported.
At Tue, 29 Apr 2008 17:48:53 +0200, I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears to use the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear to have full support under ALSA. It gets detected as another Sigmatel chip. Analog stereo output appears to work, but the mixer doesn't find any of the normal inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email. I'm not much of an driver hacker, but if someone could give me an idea of what needs to go into the patch_sigmatel.c file to make this thing work, I'd be willing to try. I'm also more than willing to test out patches on my setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest ALSA HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
---
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200 +++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@ { .id = 0x83847635, .name = "STAC9250D", .patch = patch_stac925x }, { .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x }, { .id = 0x83847637, .name = "STAC9250D", .patch = patch_stac925x }, + { .id = 0x83847645, .name = "92HD206X", .patch = patch_stac927x }, + { .id = 0x83847646, .name = "92HD206D", .patch = patch_stac927x }, /* The following does not take into account .id=0x83847661 when subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ Notebooks are * currently not fully supported.
I recently purchased an ECS A740GM-M Motherboard which has also an IDT 92HD202 integrated audio chipset.
ALSA is recognizing it as a SigmaTel 9221 A2.
I'm willing to test these patches as well as give any information you guys might need.
-Nate
(sorry for any duplicate messages, I'm still trying to get hold of how this listing thing works...)
On Tue, Apr 29, 2008 at 11:47 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 29 Apr 2008 17:48:53 +0200, I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears to
use
the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear to
have
full support under ALSA. It gets detected as another Sigmatel chip.
Analog
stereo output appears to work, but the mixer doesn't find any of the
normal
inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email. I'm
not
much of an driver hacker, but if someone could give me an idea of what
needs
to go into the patch_sigmatel.c file to make this thing work, I'd be
willing
to try. I'm also more than willing to test out patches on my setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest ALSA HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200 +++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@ { .id = 0x83847635, .name = "STAC9250D", .patch = patch_stac925x }, { .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x }, { .id = 0x83847637, .name = "STAC9250D", .patch = patch_stac925x },
{ .id = 0x83847645, .name = "92HD206X", .patch = patch_stac927x },
{ .id = 0x83847646, .name = "92HD206D", .patch = patch_stac927x }, /* The following does not take into account .id=0x83847661 when
subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ Notebooks are * currently not fully supported. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Are you having issues with that board? The 92HD202 has the same ID as the STAC9221.
IDT PC Audio Marketing Engineer/Linux Manager
W: (512) 330-3127
From: Nathan Schulte [mailto:reklipz@gmail.com] Sent: Tuesday, April 29, 2008 12:02 PM To: Takashi Iwai Cc: Greg Zornetzer; alsa-devel@alsa-project.org; Tellman, Steven; Matthew Ranostay Subject: Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
I recently purchased an ECS A740GM-M Motherboard which has also an IDT 92HD202 integrated audio chipset.
ALSA is recognizing it as a SigmaTel 9221 A2.
I'm willing to test these patches as well as give any information you guys might need.
-Nate
(sorry for any duplicate messages, I'm still trying to get hold of how this listing thing works...)
On Tue, Apr 29, 2008 at 11:47 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 29 Apr 2008 17:48:53 +0200,
I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears
to use
the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear to
have
full support under ALSA. It gets detected as another Sigmatel chip.
Analog
stereo output appears to work, but the mixer doesn't find any of the
normal
inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email. I'm
not
much of an driver hacker, but if someone could give me an idea of
what needs
to go into the patch_sigmatel.c file to make this thing work, I'd be
willing
to try. I'm also more than willing to test out patches on my setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest ALSA HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
---
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200
+++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@
{ .id = 0x83847635, .name = "STAC9250D", .patch = patch_stac925x }, { .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x }, { .id = 0x83847637, .name = "STAC9250D", .patch = patch_stac925x },
+ { .id = 0x83847645, .name = "92HD206X", .patch = patch_stac927x }, + { .id = 0x83847646, .name = "92HD206D", .patch = patch_stac927x },
/* The following does not take into account .id=0x83847661 when subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ Notebooks are * currently not fully supported. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Well, when I first installed my distro, I managed to get the spdif to output 2 channels. I could only get two channels, unless i sent a raw DTS or AC3 stream for decoding on the receiver end.
Now, on after I reinstalled (changed from raid0 to raid5), I cannot get any audio whatsoever (even via analog outs).
So there are really two separate issues now.
1) Getting audio to work. 2) Getting 6+ Channel audio via spdif.
Should I try applying these patches or should I try compiling ALSA by hand instead of using the distro supplied package?
Also, after looking at the sigmatel patch for hda-intel, the 92xx chips are limited to two channels via spdif... On my first install, I changed the limit, and recompiled by hand. ALSA would then tell me that 6 channels was ok, as opposed to throwing an error, yet I still only got two channels.
Ideas?
-Nate
On Tue, Apr 29, 2008 at 1:19 PM, Tellman, Steven Steven.Tellman@idt.com wrote:
Are you having issues with that board? The 92HD202 has the same ID as the STAC9221.
IDT *PC Audio* Marketing Engineer/Linux Manager
W: (512) 330-3127
*From:* Nathan Schulte [mailto:reklipz@gmail.com] *Sent:* Tuesday, April 29, 2008 12:02 PM *To:* Takashi Iwai *Cc:* Greg Zornetzer; alsa-devel@alsa-project.org; Tellman, Steven; Matthew Ranostay *Subject:* Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
I recently purchased an ECS A740GM-M Motherboard which has also an IDT 92HD202 integrated audio chipset.
ALSA is recognizing it as a SigmaTel 9221 A2.
I'm willing to test these patches as well as give any information you guys might need.
-Nate
(sorry for any duplicate messages, I'm still trying to get hold of how this listing thing works...)
On Tue, Apr 29, 2008 at 11:47 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 29 Apr 2008 17:48:53 +0200,
I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears to
use
the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear to
have
full support under ALSA. It gets detected as another Sigmatel chip.
Analog
stereo output appears to work, but the mixer doesn't find any of the
normal
inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email. I'm
not
much of an driver hacker, but if someone could give me an idea of what
needs
to go into the patch_sigmatel.c file to make this thing work, I'd be
willing
to try. I'm also more than willing to test out patches on my setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest ALSA HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200
+++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@
{ .id = 0x83847635, .name = "STAC9250D", .patch = patch_stac925x }, { .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x }, { .id = 0x83847637, .name = "STAC9250D", .patch = patch_stac925x },
{ .id = 0x83847645, .name = "92HD206X", .patch = patch_stac927x },
{ .id = 0x83847646, .name = "92HD206D", .patch = patch_stac927x }, /* The following does not take into account .id=0x83847661 when
subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ Notebooks are * currently not fully supported. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
SPDIF is limited to 2 channels when using PCM. DTS/AC3 is the only way to get multi-channel out of SPDIF.
Unless you run ADAT, which is 8 channels uncompressed 24bit/48kHz, but I'm not sure that's supported in Linux.
IDT PC Audio Marketing Engineer/Linux Manager W: (512) 330-3127
-----Original Message----- From: alsa-devel-bounces@alsa-project.org [mailto:alsa-devel-bounces@alsa-project.org] On Behalf Of Nathan Schulte Sent: Tuesday, April 29, 2008 2:01 PM To: Tellman, Steven Cc: Takashi Iwai; Greg Zornetzer; alsa-devel@alsa-project.org; Matthew Ranostay Subject: Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
Well, when I first installed my distro, I managed to get the spdif to output 2 channels. I could only get two channels, unless i sent a raw DTS or AC3 stream for decoding on the receiver end.
Now, on after I reinstalled (changed from raid0 to raid5), I cannot get any audio whatsoever (even via analog outs).
So there are really two separate issues now.
1) Getting audio to work. 2) Getting 6+ Channel audio via spdif.
Should I try applying these patches or should I try compiling ALSA by hand instead of using the distro supplied package?
Also, after looking at the sigmatel patch for hda-intel, the 92xx chips are limited to two channels via spdif... On my first install, I changed the limit, and recompiled by hand. ALSA would then tell me that 6 channels was ok, as opposed to throwing an error, yet I still only got two channels.
Ideas?
-Nate
On Tue, Apr 29, 2008 at 1:19 PM, Tellman, Steven Steven.Tellman@idt.com wrote:
Are you having issues with that board? The 92HD202 has the same ID as
the
STAC9221.
IDT *PC Audio* Marketing Engineer/Linux Manager
W: (512) 330-3127
*From:* Nathan Schulte [mailto:reklipz@gmail.com] *Sent:* Tuesday, April 29, 2008 12:02 PM *To:* Takashi Iwai *Cc:* Greg Zornetzer; alsa-devel@alsa-project.org; Tellman, Steven; Matthew Ranostay *Subject:* Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
I recently purchased an ECS A740GM-M Motherboard which has also an IDT 92HD202 integrated audio chipset.
ALSA is recognizing it as a SigmaTel 9221 A2.
I'm willing to test these patches as well as give any information you
guys
might need.
-Nate
(sorry for any duplicate messages, I'm still trying to get hold of how this listing thing works...)
On Tue, Apr 29, 2008 at 11:47 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 29 Apr 2008 17:48:53 +0200,
I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears
to
use
the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear
to
have
full support under ALSA. It gets detected as another Sigmatel
chip.
Analog
stereo output appears to work, but the mixer doesn't find any of
the
normal
inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email.
I'm
not
much of an driver hacker, but if someone could give me an idea of
what
needs
to go into the patch_sigmatel.c file to make this thing work, I'd
be
willing
to try. I'm also more than willing to test out patches on my
setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest
ALSA
HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200
+++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@
{ .id = 0x83847635, .name = "STAC9250D", .patch =
patch_stac925x },
{ .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x
},
{ .id = 0x83847637, .name = "STAC9250D", .patch =
patch_stac925x },
{ .id = 0x83847645, .name = "92HD206X", .patch =
patch_stac927x },
{ .id = 0x83847646, .name = "92HD206D", .patch =
patch_stac927x },
/* The following does not take into account .id=0x83847661 when
subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ
Notebooks
are * currently not fully supported. _______________________________________________ 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
Ok, that's good to know.
So, it looks like I'll either need to encode everything to a DTS/AC3 stream in ALSA before sending via SPDIF, that should work, right?
Also, this is a chip limitation, not an SPDIF limitation, right?
Thanks for the support!
-Nate On Tue, Apr 29, 2008 at 2:21 PM, Tellman, Steven Steven.Tellman@idt.com wrote:
SPDIF is limited to 2 channels when using PCM. DTS/AC3 is the only way to get multi-channel out of SPDIF.
Unless you run ADAT, which is 8 channels uncompressed 24bit/48kHz, but I'm not sure that's supported in Linux.
IDT PC Audio Marketing Engineer/Linux Manager W: (512) 330-3127
-----Original Message----- From: alsa-devel-bounces@alsa-project.org [mailto:alsa-devel-bounces@alsa-project.org] On Behalf Of Nathan Schulte Sent: Tuesday, April 29, 2008 2:01 PM To: Tellman, Steven Cc: Takashi Iwai; Greg Zornetzer; alsa-devel@alsa-project.org; Matthew Ranostay Subject: Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
Well, when I first installed my distro, I managed to get the spdif to output 2 channels. I could only get two channels, unless i sent a raw DTS or AC3 stream for decoding on the receiver end.
Now, on after I reinstalled (changed from raid0 to raid5), I cannot get any audio whatsoever (even via analog outs).
So there are really two separate issues now.
- Getting audio to work.
- Getting 6+ Channel audio via spdif.
Should I try applying these patches or should I try compiling ALSA by hand instead of using the distro supplied package?
Also, after looking at the sigmatel patch for hda-intel, the 92xx chips are limited to two channels via spdif... On my first install, I changed the limit, and recompiled by hand. ALSA would then tell me that 6 channels was ok, as opposed to throwing an error, yet I still only got two channels.
Ideas?
-Nate
On Tue, Apr 29, 2008 at 1:19 PM, Tellman, Steven Steven.Tellman@idt.com wrote:
Are you having issues with that board? The 92HD202 has the same ID as
the
STAC9221.
IDT *PC Audio* Marketing Engineer/Linux Manager
W: (512) 330-3127
*From:* Nathan Schulte [mailto:reklipz@gmail.com] *Sent:* Tuesday, April 29, 2008 12:02 PM *To:* Takashi Iwai *Cc:* Greg Zornetzer; alsa-devel@alsa-project.org; Tellman, Steven; Matthew Ranostay *Subject:* Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
I recently purchased an ECS A740GM-M Motherboard which has also an IDT 92HD202 integrated audio chipset.
ALSA is recognizing it as a SigmaTel 9221 A2.
I'm willing to test these patches as well as give any information you
guys
might need.
-Nate
(sorry for any duplicate messages, I'm still trying to get hold of how this listing thing works...)
On Tue, Apr 29, 2008 at 11:47 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 29 Apr 2008 17:48:53 +0200,
I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears
to
use
the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear
to
have
full support under ALSA. It gets detected as another Sigmatel
chip.
Analog
stereo output appears to work, but the mixer doesn't find any of
the
normal
inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email.
I'm
not
much of an driver hacker, but if someone could give me an idea of
what
needs
to go into the patch_sigmatel.c file to make this thing work, I'd
be
willing
to try. I'm also more than willing to test out patches on my
setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest
ALSA
HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200
+++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@
{ .id = 0x83847635, .name = "STAC9250D", .patch =
patch_stac925x },
{ .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x
},
{ .id = 0x83847637, .name = "STAC9250D", .patch =
patch_stac925x },
{ .id = 0x83847645, .name = "92HD206X", .patch =
patch_stac927x },
{ .id = 0x83847646, .name = "92HD206D", .patch =
patch_stac927x },
/* The following does not take into account .id=0x83847661 when
subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ
Notebooks
are * currently not fully supported. _______________________________________________ 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 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Chip has nothing to do with it, it's a SPDIF spec limitation. More info here:
http://en.wikipedia.org/wiki/Iec958
Yes, you can encode everything into AC3 and output to your receiver.
IDT PC Audio Marketing Engineer/Linux Manager W: (512) 330-3127
-----Original Message----- From: alsa-devel-bounces@alsa-project.org [mailto:alsa-devel-bounces@alsa-project.org] On Behalf Of Nathan Schulte Sent: Tuesday, April 29, 2008 2:37 PM To: Tellman, Steven Cc: Takashi Iwai; Greg Zornetzer; alsa-devel@alsa-project.org; Matthew Ranostay Subject: Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
Ok, that's good to know.
So, it looks like I'll either need to encode everything to a DTS/AC3 stream in ALSA before sending via SPDIF, that should work, right?
Also, this is a chip limitation, not an SPDIF limitation, right?
Thanks for the support!
-Nate On Tue, Apr 29, 2008 at 2:21 PM, Tellman, Steven Steven.Tellman@idt.com wrote:
SPDIF is limited to 2 channels when using PCM. DTS/AC3 is the only way to get multi-channel out of SPDIF.
Unless you run ADAT, which is 8 channels uncompressed 24bit/48kHz, but I'm not sure that's supported in Linux.
IDT PC Audio Marketing Engineer/Linux Manager W: (512) 330-3127
-----Original Message----- From: alsa-devel-bounces@alsa-project.org [mailto:alsa-devel-bounces@alsa-project.org] On Behalf Of Nathan
Schulte
Sent: Tuesday, April 29, 2008 2:01 PM To: Tellman, Steven Cc: Takashi Iwai; Greg Zornetzer; alsa-devel@alsa-project.org; Matthew Ranostay Subject: Re: [alsa-devel] help with idt 92hd206 codec for intel hda?
Well, when I first installed my distro, I managed to get the spdif to output 2 channels. I could only get two channels, unless i sent a raw DTS or AC3 stream for decoding on the receiver end.
Now, on after I reinstalled (changed from raid0 to raid5), I cannot
get
any audio whatsoever (even via analog outs).
So there are really two separate issues now.
- Getting audio to work.
- Getting 6+ Channel audio via spdif.
Should I try applying these patches or should I try compiling ALSA by hand instead of using the distro supplied package?
Also, after looking at the sigmatel patch for hda-intel, the 92xx
chips
are limited to two channels via spdif... On my first install, I changed
the
limit, and recompiled by hand. ALSA would then tell me that 6 channels was ok, as opposed to throwing an error, yet I still only got two
channels.
Ideas?
-Nate
On Tue, Apr 29, 2008 at 1:19 PM, Tellman, Steven Steven.Tellman@idt.com wrote:
Are you having issues with that board? The 92HD202 has the same ID
as
the
STAC9221.
IDT *PC Audio* Marketing Engineer/Linux Manager
W: (512) 330-3127
*From:* Nathan Schulte [mailto:reklipz@gmail.com] *Sent:* Tuesday, April 29, 2008 12:02 PM *To:* Takashi Iwai *Cc:* Greg Zornetzer; alsa-devel@alsa-project.org; Tellman, Steven; Matthew Ranostay *Subject:* Re: [alsa-devel] help with idt 92hd206 codec for intel
hda?
I recently purchased an ECS A740GM-M Motherboard which has also an
IDT
92HD202 integrated audio chipset.
ALSA is recognizing it as a SigmaTel 9221 A2.
I'm willing to test these patches as well as give any information
you
guys
might need.
-Nate
(sorry for any duplicate messages, I'm still trying to get hold of
how
this listing thing works...)
On Tue, Apr 29, 2008 at 11:47 AM, Takashi Iwai tiwai@suse.de
wrote:
At Tue, 29 Apr 2008 17:48:53 +0200,
I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which
appears
to
use
the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear
to
have
full support under ALSA. It gets detected as another Sigmatel
chip.
Analog
stereo output appears to work, but the mixer doesn't find any of
the
normal
inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email.
I'm
not
much of an driver hacker, but if someone could give me an idea
of
what
needs
to go into the patch_sigmatel.c file to make this thing work,
I'd
be
willing
to try. I'm also more than willing to test out patches on my
setup.
The below is an entirely untested patch quickly made from the
codec
information you posted. Could you give it a try with the latest
ALSA
HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200
+++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@
{ .id = 0x83847635, .name = "STAC9250D", .patch =
patch_stac925x },
{ .id = 0x83847636, .name = "STAC9251", .patch =
patch_stac925x
},
{ .id = 0x83847637, .name = "STAC9250D", .patch =
patch_stac925x },
{ .id = 0x83847645, .name = "92HD206X", .patch =
patch_stac927x },
{ .id = 0x83847646, .name = "92HD206D", .patch =
patch_stac927x },
/* The following does not take into account .id=0x83847661
when
subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ
Notebooks
are * currently not fully supported. _______________________________________________ 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 _______________________________________________ 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
At Tue, 29 Apr 2008 14:01:29 -0500, Nathan Schulte wrote:
Well, when I first installed my distro, I managed to get the spdif to output 2 channels. I could only get two channels, unless i sent a raw DTS or AC3 stream for decoding on the receiver end.
SPDIF supports only compressed 5.1 channels. It's no bug.
Now, on after I reinstalled (changed from raid0 to raid5), I cannot get any audio whatsoever (even via analog outs).
Did you check the mixer setup properly? I guess it's rather a setup issue.
So there are really two separate issues now.
- Getting audio to work.
- Getting 6+ Channel audio via spdif.
Should I try applying these patches or should I try compiling ALSA by hand instead of using the distro supplied package?
If the same package and the same version worked, no reason to patch.
HTH,
Takashi
Hi Takashi, Steven, et al, My apologies for not getting back to you earlier. I applied the short patch to the hg-20080502 snapshot. That seems to have done the trick. All of the different analog output channels are now available, as well as a bunch of input channels. I only tested output, but that seemed to work. I will hopefully be able to test the inputs this weekend. Given the discussion that I saw, it looks like I won't bother with the digital output. Thanks very much for your help on this. -Greg
On Tue, Apr 29, 2008 at 9:47 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 29 Apr 2008 17:48:53 +0200, I wrote:
At Sun, 27 Apr 2008 01:38:19 -0500, Greg Zornetzer wrote:
Hi all, I recently acquired an ECS GF7100PVT-M3 motherboard, which appears to
use
the IDT 92HD206 codec for HDA. Unfortunately, it doesn't appear to
have
full support under ALSA. It gets detected as another Sigmatel chip.
Analog
stereo output appears to work, but the mixer doesn't find any of the
normal
inputs.
I found the tech specs for the chip at http://www.idt.com/products/getDoc.cfm?docID=13461840 I've attached an lspci output and the codec file to this email. I'm
not
much of an driver hacker, but if someone could give me an idea of what
needs
to go into the patch_sigmatel.c file to make this thing work, I'd be
willing
to try. I'm also more than willing to test out patches on my setup.
The below is an entirely untested patch quickly made from the codec information you posted. Could you give it a try with the latest ALSA HG version?
Steven informed that this codec is compatible with STAC927x. So the revised patch below is dramatically shorter. Try this one instead of the previous one.
thanks,
Takashi
diff -r 19b486f73bd8 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Fri Apr 25 14:25:04 2008 +0200 +++ b/pci/hda/patch_sigmatel.c Tue Apr 29 20:43:43 2008 +0200 @@ -4289,6 +4289,8 @@ { .id = 0x83847635, .name = "STAC9250D", .patch = patch_stac925x }, { .id = 0x83847636, .name = "STAC9251", .patch = patch_stac925x }, { .id = 0x83847637, .name = "STAC9250D", .patch = patch_stac925x },
{ .id = 0x83847645, .name = "92HD206X", .patch = patch_stac927x },
{ .id = 0x83847646, .name = "92HD206D", .patch = patch_stac927x }, /* The following does not take into account .id=0x83847661 when
subsys = * 104D0C00 which is STAC9225s. Because of this, some SZ Notebooks are * currently not fully supported.
At Fri, 2 May 2008 00:24:16 -0700, Greg Zornetzer wrote:
Hi Takashi, Steven, et al, My apologies for not getting back to you earlier. I applied the short patch to the hg-20080502 snapshot. That seems to have done the trick. All of the different analog output channels are now available, as well as a bunch of input channels. I only tested output, but that seemed to work. I will hopefully be able to test the inputs this weekend. Given the discussion that I saw, it looks like I won't bother with the digital output. Thanks very much for your help on this. -Greg
Thanks for checking. I applied the patch to ALSA tree now.
Takashi
participants (4)
-
Greg Zornetzer
-
Nathan Schulte
-
Takashi Iwai
-
Tellman, Steven