Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 12:07:43 +0200 (SAT)
From:      Reinier Bezuidenhout <rbezuide@oskar.dev.nanoteq.co.za>
To:        dfr@nlsystems.com (Doug Rabson)
Cc:        dmmiller@cvzoom.net, current@FreeBSD.ORG
Subject:   Re: ESS sound drivers and 4.0-current
Message-ID:  <199911011007.MAA03588@oskar.dev.nanoteq.co.za>
In-Reply-To: <Pine.BSF.4.10.9911010958050.301-100000@salmon.nlsystems.com> from Doug Rabson at "Nov 1, 99 09:58:42 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911011007.MAA03588>