From owner-cvs-all@FreeBSD.ORG Mon Nov 14 18:28:40 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07FEE16A41F; Mon, 14 Nov 2005 18:28:40 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C04443D6D; Mon, 14 Nov 2005 18:28:32 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 35DD56CC24; Tue, 15 Nov 2005 02:31:14 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52846-04; Tue, 15 Nov 2005 02:31:12 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 6DDBF6CC22; Tue, 15 Nov 2005 02:31:12 +0800 (MYT) Date: Tue, 15 Nov 2005 02:28:25 +0800 From: Ariff Abdullah To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-Id: <20051115022825.100b2231.ariff@FreeBSD.org> In-Reply-To: <200511141817.jAEIHVTd040143@repoman.freebsd.org> References: <200511141817.jAEIHVTd040143@repoman.freebsd.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__15_Nov_2005_02_28_25_+0800_KxCcJPdL9y73Dzig" X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: Jean-Yves Lefort Subject: Re: cvs commit: src/sys/dev/sound/pci es137x.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 18:28:40 -0000 --Signature=_Tue__15_Nov_2005_02_28_25_+0800_KxCcJPdL9y73Dzig Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 14 Nov 2005 18:17:31 +0000 (UTC) Ariff Abdullah wrote: > ariff 2005-11-14 18:17:31 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/dev/sound/pci es137x.c=20 > Log: > Use both (enabled by default) DAC1 and DAC2 to provide 2 > distinct hardware playback channels. DAC configuration can be > accessed through kernel hint - hint.pcm..dac=3D"val" with > following possible values: > =20 > 0 =3D Enable both DACs (default) > 1 =3D Enable single DAC (DAC1) > 2 =3D Enable single DAC (DAC2) > 3 =3D Enable both DACs, swap position (DAC2 comes first instead > of DAC1) > =20 > Special case for ES1370: > Unlike ES1371,2,3/CT5880, volume for each DAC 1 and 2 can be > controlled indepedently (synth for DAC1, pcm for DAC2). It is > possible that user will confuse by this behaviour, since both > DACs are enabled by default. Thus, provide a knob through > sysctl hw.snd.pcm.single_pcm_mixer: > 0 =3D each DACs will be controlled separately (synth/pcm). > 1 =3D combine both DACs volume mixer controller into a single > "pcm" (default) > As a side note, fixed rate operation (provided by previous > commit) is not a mandatory if the configuration space does not > involve DAC2 (perhaps disabled by user through the above kernel > hint). Unlike DAC2, DAC1 has its own register / control space, > not affected by the speed settings of ADC. > =20 > Tested by: multimedia@ > Approved by: netchild (mentor) > =20 > Revision Changes Path > 1.58 +473 -105 src/sys/dev/sound/pci/es137x.c Oops.. I forgot to mention the following: Turn on CTRL_JYSTK_EN flag to enable joystick support. PR: kern/40132 , kern/20297 Submitted/Tested by: jylefort -- Ariff Abdullah FreeBSD --Signature=_Tue__15_Nov_2005_02_28_25_+0800_KxCcJPdL9y73Dzig Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDeNdQlr+deMUwTNoRAlWHAKCisPcoowEDUPS2CMbMERUJshPIQACfeGYb 2IXwnM/hR3dxiicLu0WlhNY= =fb7p -----END PGP SIGNATURE----- --Signature=_Tue__15_Nov_2005_02_28_25_+0800_KxCcJPdL9y73Dzig--