Date: Fri, 16 Mar 2007 16:08:06 +0100 From: Karol Kwiatkowski <karol.kwiat@gmail.com> To: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> Cc: freebsd-multimedia@freebsd.org Subject: Re: How to switch Audigy in analog mode (emu10kx from CURRENT)? Message-ID: <45FAB2D6.80008@gmail.com> In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC079B4E@ex.hhp.local> References: <78664C02FF341B4FAC63E561846E3BCC079B4E@ex.hhp.local>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6EC981C0EB4C8C0D1A136F36 Content-Type: multipart/mixed; boundary="------------080005080106080403080404" This is a multi-part message in MIME format. --------------080005080106080403080404 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yuriy Tsibizov wrote: >> One last question - is there an easy way to switch the digital output >> completely off? I don't mind patching the sources, just I don't know >> what to look for. > You can try to change line 2510 of emu10kx.c=20 > (http://fxr.watson.org/fxr/source/dev/sound/pci/emu10kx.c#L2510) > to=20 >=20 > emumix_set_mode(sc, MODE_ANALOG); >=20 > You should get silence on center/sub instead of digital 'noise'. That works as expected, excellent! Attached a patch against emu10kx.c form CURRENT: emu10kx.c,v 1.9 2007/02/23 19:41:16 ariff Exp $ for archives, in case someone else was interested in this workaround. Thank you for your support, Karol --=20 Karol Kwiatkowski <karol.kwiat at gmail dot com> OpenPGP 0x06E09309 --------------080005080106080403080404 Content-Type: text/plain; name="emu10kx.c.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="emu10kx.c.diff" --- sys/dev/sound/pci/emu10kx.c.orig Fri Feb 23 20:41:16 2007 +++ sys/dev/sound/pci/emu10kx.c Fri Mar 16 15:38:04 2007 @@ -2507,7 +2507,7 @@ device_printf(sc->dev, "Audigy card initialized in analog mode.\n"); def_mode =3D MODE_ANALOG; } - emumix_set_mode(sc, def_mode); + emumix_set_mode(sc, MODE_ANALOG); =20 if (bootverbose) { tmp =3D emu_rd(sc, HCFG, 4); --------------080005080106080403080404-- --------------enig6EC981C0EB4C8C0D1A136F36 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+rLeezeoPAwGIYsRCKUpAJ9ZFDIg5wmLACsgqFR3XwB8rqBD8ACghnb+ 5cDk9hAru4lfFRPH7f1gI8w= =vQYB -----END PGP SIGNATURE----- --------------enig6EC981C0EB4C8C0D1A136F36--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FAB2D6.80008>