Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 1999 10:02:08 +0100 (CET)
From:      Nick Hibma <n_hibma@webweaving.org>
To:        Eric Lakin <elakin@ricochet.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: mic cannot be deactivated
Message-ID:  <Pine.BSF.4.20.9912211001440.822-100000@localhost>
In-Reply-To: <19991220140629.B32805@ptah.infohell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I've got a ESS1879 as well. Try the following patch, Cameron sent me.

Index: sb.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/sound/isa/sb.c,v
retrieving revision 1.41
diff -u -r1.41 sb.c
--- sb.c        1999/12/19 22:25:26     1.41
+++ sb.c        1999/12/21 09:03:02
@@ -978,7 +978,9 @@
                mix_setdevs(m, SBPRO_MIXER_DEVICES);
                mix_setrecdevs(m, SBPRO_RECORDING_DEVICES);
                sb_setmixer(sb, 0, 1); /* reset mixer */
+#if 0
                sb_setmixer(sb, MIC_VOL, 0x6); /* mic volume max */
+#endif
                sb_setmixer(sb, RECORD_SRC, 0x0); /* mic source */
                sb_setmixer(sb, FM_VOL, 0x0); /* no midi */
                break;


On Mon, 20 Dec 1999, Eric Lakin wrote:

> It appears that the microphone controls for newpcm are not functioning, at
> least for my sound device. I've got a Vaio 505TX laptop. On probing the sound 
> device, the speaker and mic together cause terrible feedback. mixer shows 0:0
> for the mic, and adjusting this or using 'mixer -rec mic' has no effect.
> Otherwise, sound seems to work OK (tested w/ mpg123)
> 
> With source from last night, I've got the following in my kernel config:
> 
> options        PNPBIOS
> device         pcm0
> device         sbc0
> 
> which gives the following output on boot:
> 
> unknown0: <PNP0c02> at port 0x4d0-0x4d1,0x80,0x72-0x73,0x370-0x371,0xb2-0xb3,0x8000-0x804f,0x2180-0x218f,0x230-0x233 iomem 0xfffe0000-0xffffffff on isa0
> unknown1: <PNP0c01> at iomem 0-0x9ffff,0xe8000-0xfffff,0x100000-0x7ffffff on isa0
> unknown2: <PNP0200> at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0
> unknown: <PNP0000> can't assign resources
> unknown3: <PNP0100> at port 0x40-0x43 irq 0 on isa0
> unknown4: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
> unknown: <PNP0303> can't assign resources
> unknown5: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
> unknown: <PNP0800> can't assign resources
> unknown6: <PNP0a03> at port 0xcf8-0xcff on isa0
> sbc0: <ESS ES1879> at port 0x220-0x22f,0x388-0x38b,0x320-0x321 irq 5 drq 1,5 on isa0
> pcm0: <SB DSP 3.01 (ESS mode)> on sbc0
> unknown7: <PNP0e03> at port 0x3e0-0x3e1 on isa0
> unknown: <PNP0700> can't assign resources
> unknown: <PNP0401> can't assign resources
> unknown: <PNP0501> can't assign resources
> unknown: <PNP0510> can't assign resources
> unknown: <ROK0010> can't assign resources
> unknown: <PNP0f13> can't assign resources
> unknown8: <ESS0009> at port 0x800-0x807 on isa0
> 
> I've also tried removing the PNPBIOS option, and using
> 
> device          pcm0
> device          sbc0    at isa? port 0x220 irq 5 drq 1 flags 0x15
> 
> This produces different boot mesages, but the same behavior re. the mic.
> 
> sbc0: <ESS 688> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
> pcm0: <SB DSP 3.01 (ESS mode)> on sbc0
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

--
n_hibma@webweaving.org
n_hibma@freebsd.org                                          USB project
http://www.etla.net/~n_hibma/



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?Pine.BSF.4.20.9912211001440.822-100000>