From owner-freebsd-current Mon Nov 1 2: 9: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from oskar.dev.nanoteq.co.za (oskar.dev.nanoteq.co.za [196.7.114.5]) by hub.freebsd.org (Postfix) with ESMTP id ED6E514D06 for ; Mon, 1 Nov 1999 02:08:38 -0800 (PST) (envelope-from rbezuide@oskar.dev.nanoteq.co.za) Received: (from rbezuide@localhost) by oskar.dev.nanoteq.co.za (8.9.3/8.9.0) id MAA03588; Mon, 1 Nov 1999 12:07:43 +0200 (SAT) From: Reinier Bezuidenhout Message-Id: <199911011007.MAA03588@oskar.dev.nanoteq.co.za> Subject: Re: ESS sound drivers and 4.0-current In-Reply-To: from Doug Rabson at "Nov 1, 99 09:58:42 am" To: dfr@nlsystems.com (Doug Rabson) Date: Mon, 1 Nov 1999 12:07:43 +0200 (SAT) Cc: dmmiller@cvzoom.net, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sun, 31 Oct 1999, Donn Miller wrote: > > > I believe the ESS drivers weren't committed to 4.0-current yet. When I > > grep ' ESS ' in /sys/i386/isa/sound, the only thing I can come up with is > > the ESS support that was in the old voxware sound code. Sanpei, who is > > developing the ESS sound drivers, says they were committed to the newpcm > > drivers. I believe they were not added yet. > > > > >From http://home.jp.freebsd.org/~sanpei/: > > > > tarball for 4-current --> our ESS(ISA) code was commited to newpcm driver > > in 4.0-current(1999/09/04) > > The sound drivers for -current are in sys/dev/pcm. I have made a change to the ESS code in the pcm/isa/sb.c to allow my ESS1869 card to change the volume in both channels ... I'm running current of a few days ago. Previously the right hand channel stayed at one volume no matter what the mixer tells it. I have previously sent and email with the changes, but I'm happy to do it again :) ... It works for my card, but I don't know if it breaks anything else. Reinier -------- snip ------ snip ------- snip ------ jarrow# cvs diff -c sb.c Index: sb.c =================================================================== RCS file: /home/ncvs/src/sys/dev/pcm/isa/sb.c,v retrieving revision 1.29 diff -c -r1.29 sb.c *** sb.c 1999/10/16 15:57:33 1.29 --- sb.c 1999/11/01 10:05:41 *************** *** 1191,1197 **** val = sb_getmixer(sb, regoffs); change_bits(iomap, &val, dev, LEFT_CHN, left); sb_setmixer(sb, regoffs, val); ! if ((*iomap)[dev][RIGHT_CHN].regno != regoffs) { /* Change register */ regoffs = (*iomap)[dev][RIGHT_CHN].regno; if (regoffs != 0) { val = sb_getmixer(sb, regoffs); /* Read the new one */ --- 1191,1197 ---- val = sb_getmixer(sb, regoffs); change_bits(iomap, &val, dev, LEFT_CHN, left); sb_setmixer(sb, regoffs, val); ! if (((*iomap)[dev][RIGHT_CHN].regno != regoffs) || (sb->bd_flags & BD_F_ESS)) { /* Change register */ regoffs = (*iomap)[dev][RIGHT_CHN].regno; if (regoffs != 0) { val = sb_getmixer(sb, regoffs); /* Read the new one */ > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 442 9037 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message