From owner-freebsd-current Tue Dec 21 1:45:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from webweaving.org (dialfwn01.fwn.rug.nl [129.125.32.151]) by hub.freebsd.org (Postfix) with ESMTP id 45DA314E32 for ; Tue, 21 Dec 1999 01:45:36 -0800 (PST) (envelope-from n_hibma@webweaving.org) Received: from localhost (localhost [127.0.0.1]) by webweaving.org (8.9.3/8.9.3) with ESMTP id KAA00886; Tue, 21 Dec 1999 10:02:08 +0100 (CET) (envelope-from n_hibma@webweaving.org) Date: Tue, 21 Dec 1999 10:02:08 +0100 (CET) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Eric Lakin Cc: freebsd-current@FreeBSD.ORG Subject: Re: mic cannot be deactivated In-Reply-To: <19991220140629.B32805@ptah.infohell.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: at port 0x4d0-0x4d1,0x80,0x72-0x73,0x370-0x371,0xb2-0xb3,0x8000-0x804f,0x2180-0x218f,0x230-0x233 iomem 0xfffe0000-0xffffffff on isa0 > unknown1: at iomem 0-0x9ffff,0xe8000-0xfffff,0x100000-0x7ffffff on isa0 > unknown2: at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 > unknown: can't assign resources > unknown3: at port 0x40-0x43 irq 0 on isa0 > unknown4: at port 0x70-0x71 irq 8 on isa0 > unknown: can't assign resources > unknown5: at port 0xf0-0xff irq 13 on isa0 > unknown: can't assign resources > unknown6: at port 0xcf8-0xcff on isa0 > sbc0: at port 0x220-0x22f,0x388-0x38b,0x320-0x321 irq 5 drq 1,5 on isa0 > pcm0: on sbc0 > unknown7: at port 0x3e0-0x3e1 on isa0 > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown8: 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: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 > pcm0: 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