From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John Utz" Subject: patch: ac97_patch.c - enable 'Smart 5.1' on VIA vt1617a ac97 codec Date: Fri, 23 Feb 2007 16:44:33 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C757AC.F3BA79F2" Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C757AC.F3BA79F2 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C757AC.F3BA79F2" Content-Transfer-Encoding: 7bit ------_=_NextPart_002_01C757AC.F3BA79F2 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable This patch allows via vt1617a end users to configure what via calls = Smart 5.1 - a mechanism for controlling the 3 bi-directional analog = connectors that some OEM's use instead of a larger collection of = dedicated analog input and output connectors. As outlined in previous discussion on this list, the outcome matrix for = togging these bits is somewhat arcane and seemingly lacking in cohesion, = but with only 3 bits, it's reasonable to expect that a motivated end = user will be able to eventually configure their own personal setup to = their needs. Note that in some instances (such as an epia C7) it is also required to = disable 'alternate surround out' to get surround to work properly. Note that this is my first ever alsa patch and after review by wiser = craniums it may need fixin'. ;-) plz dont hesitate to ask for such corrections! tnx! johnu ------_=_NextPart_002_01C757AC.F3BA79F2 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable patch: ac97_patch.c - enable 'Smart 5.1' on VIA vt1617a ac97 = codec

This patch allows via vt1617a end users to configure = what via calls Smart 5.1 - a mechanism for controlling the 3 = bi-directional analog connectors that some OEM's use instead of a larger = collection of dedicated analog input and output connectors.

As outlined in previous discussion on this list, the outcome matrix for = togging these bits is somewhat arcane and seemingly lacking in cohesion, = but with only 3 bits, it's reasonable to expect that a motivated end = user will be able to eventually configure their own personal setup to = their needs.

Note that in some instances (such as an epia C7) it is also required to = disable 'alternate surround out' to get surround to work properly.

Note that this is my first ever alsa patch and after review by wiser = craniums it may need fixin'. ;-)

plz dont hesitate to ask for such corrections!

tnx!

johnu

------_=_NextPart_002_01C757AC.F3BA79F2-- ------_=_NextPart_001_01C757AC.F3BA79F2 Content-Type: application/octet-stream; name=ac97_patch_c-1617aSmart51.patch Content-Transfer-Encoding: base64 Content-Description: ac97_patch_c-1617aSmart51.patch Content-Disposition: attachment; filename=ac97_patch_c-1617aSmart51.patch ZGlmZiAtciAyOWIwYjQyNDVkMDYgcGNpL2FjOTcvYWM5N19wYXRjaC5jCi0tLSBhL3BjaS9hYzk3 L2FjOTdfcGF0Y2guYwlUaHUgRmViIDIyIDE2OjA3OjIxIDIwMDcgKzAxMDAKKysrIGIvcGNpL2Fj OTcvYWM5N19wYXRjaC5jCUZyaSBGZWIgMjMgMTY6MjM6MzYgMjAwNyAtMDgwMApAQCAtMzI3Myw4 ICszMjczLDI4IEBAIHN0YXRpYyBpbnQgcGF0Y2hfdnQxNjE2KHN0cnVjdCBzbmRfYWM5NyAKIC8q CiAgKiBWVDE2MTdBIGNvZGVjCiAgKi8KKworc3RhdGljIGNvbnN0IHN0cnVjdCBzbmRfa2NvbnRy b2xfbmV3IHNuZF9hYzk3X2NvbnRyb2xzX3Z0MTYxN2FbXSA9IHsKKyAgQUM5N19TSU5HTEUoIkNl bnRlci9MRkUgRXhjaGFuZ2UiLCAgIDB4NWEsICA4LCAxLCAwKSwKKyAgLyoKKyAgICogVGhlc2Ug YXJlIHVzZWQgdG8gZW5hYmxlL2Rpc2FibGUgc3Vycm91bmQgc291bmQgb24gbW90aGVyYm9hcmRz CisgICAqIHRoYXQgaGF2ZSAzIGJpZGlyZWN0aW9uYWwgYW5hbG9nIGphY2tzCisgICAqLworICBB Qzk3X1NJTkdMRSgiU21hcnQgNS4xIENvbnRyb2wgQSIsIDB4MjAsICA4LCAxLCA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dXJu IDA7CisJcmV0dXJuIGVycjsKIH0KIAogLyoK ------_=_NextPart_001_01C757AC.F3BA79F2 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------_=_NextPart_001_01C757AC.F3BA79F2 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel ------_=_NextPart_001_01C757AC.F3BA79F2-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: patch: ac97_patch.c - enable 'Smart 5.1' on VIA vt1617a ac97 codec Date: Mon, 26 Feb 2007 15:49:30 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: John Utz Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 23 Feb 2007 16:44:33 -0800, John Utz wrote: > > This patch allows via vt1617a end users to configure what via calls Smart 5.1 - a > mechanism for controlling the 3 bi-directional analog connectors that some OEM's use > instead of a larger collection of dedicated analog input and output connectors. > > As outlined in previous discussion on this list, the outcome matrix for togging these > bits is somewhat arcane and seemingly lacking in cohesion, but with only 3 bits, it's > reasonable to expect that a motivated end user will be able to eventually configure > their own personal setup to their needs. > > Note that in some instances (such as an epia C7) it is also required to disable > 'alternate surround out' to get surround to work properly. > > Note that this is my first ever alsa patch and after review by wiser craniums it may > need fixin'. ;-) > > plz dont hesitate to ask for such corrections! Well, I still think that these Smart 5.1 controls are too cryptic. ...and with this patch, you'll have even three such switches! IMO, it'd be (a little bit) better to have a single control to set up these things. For example, you can give an enum control that has 8 entries for SM51A,B,C setups. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John Utz" Subject: Re: patch: ac97_patch.c - enable 'Smart 5.1' on VIA vt1617a ac97 codec Date: Mon, 26 Feb 2007 10:25:34 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1526152488==" Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org This is a multi-part message in MIME format. --===============1526152488== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C759D3.814FB877" This is a multi-part message in MIME format. ------_=_NextPart_001_01C759D3.814FB877 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable -----Original Message----- From: Takashi Iwai [mailto:tiwai@suse.de] Sent: Mon 2/26/2007 6:49 AM To: John Utz Cc: alsa-devel@lists.sourceforge.net Subject: Re: [Alsa-devel] patch: ac97_patch.c - enable 'Smart 5.1' on = VIA vt1617a ac97 codec =20 At Fri, 23 Feb 2007 16:44:33 -0800, John Utz wrote: >=20 > This patch allows via vt1617a end users to configure what via calls = Smart 5.1 - a > mechanism for controlling the 3 bi-directional analog connectors that = some OEM's use > instead of a larger collection of dedicated analog input and output = connectors. >=20 > As outlined in previous discussion on this list, the outcome matrix = for togging these > bits is somewhat arcane and seemingly lacking in cohesion, but with = only 3 bits, it's > reasonable to expect that a motivated end user will be able to = eventually configure > their own personal setup to their needs. >=20 > Note that in some instances (such as an epia C7) it is also required = to disable > 'alternate surround out' to get surround to work properly. >=20 > Note that this is my first ever alsa patch and after review by wiser = craniums it may > need fixin'. ;-) >=20 > plz dont hesitate to ask for such corrections! * * Well, I still think that these Smart 5.1 controls are too cryptic. * ...and with this patch, you'll have even three such switches! Honestly, it's actually 4, because if the alt output thingy isnt turned = off, then surround routes off to nowhere... * IMO, it'd be (a little bit) better to have a single control to set up * these things. For example, you can give an enum control that has 8 * entries for SM51A,B,C setups. Happy to oblige, I'll study up on AC97_ENUM_* and try to make this = possible. * Takashi ------_=_NextPart_001_01C759D3.814FB877 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable RE: [Alsa-devel] patch: ac97_patch.c - enable 'Smart 5.1' on VIA = vt1617a ac97 codec


-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de]
Sent: Mon 2/26/2007 6:49 AM
To: John Utz
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [Alsa-devel] patch: ac97_patch.c - enable 'Smart 5.1' on = VIA vt1617a ac97 codec

At Fri, 23 Feb 2007 16:44:33 -0800,
John Utz wrote:
>
> This patch allows via vt1617a end users to configure what via calls = Smart 5.1 - a
> mechanism for controlling the 3 bi-directional analog connectors = that some OEM's use
> instead of a larger collection of dedicated analog input and output = connectors.
>
> As outlined in previous discussion on this list, the outcome matrix = for togging these
> bits is somewhat arcane and seemingly lacking in cohesion, but with = only 3 bits, it's
> reasonable to expect that a motivated end user will be able to = eventually configure
> their own personal setup to their needs.
>
> Note that in some instances (such as an epia C7) it is also = required to disable
> 'alternate surround out' to get surround to work properly.
>
> Note that this is my first ever alsa patch and after review by = wiser craniums it may
> need fixin'. ;-)
>
> plz dont hesitate to ask for such corrections!
*
* Well, I still think that these Smart 5.1 controls are too cryptic.
* ...and with this patch, you'll have even three such switches!

Honestly, it's actually 4, because if the alt output thingy isnt turned = off, then surround routes off to nowhere...

* IMO, it'd be (a little bit) better to have a single control to set = up
* these things.  For example, you can give an enum control that has = 8
* entries for SM51A,B,C setups.

Happy to oblige, I'll study up on AC97_ENUM_* and try to make this = possible.

* Takashi


------_=_NextPart_001_01C759D3.814FB877-- --===============1526152488== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============1526152488== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel --===============1526152488==--