From owner-freebsd-questions Tue Jul 20 10:59:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.surnet.ru (mobil.surnet.ru [195.54.2.7]) by hub.freebsd.org (Postfix) with ESMTP id 68B901535D for ; Tue, 20 Jul 1999 10:59:24 -0700 (PDT) (envelope-from ilia@cgilh.chel.su) Received: (from uucgilh@localhost) by mobil.surnet.ru (8.9.1a/8.9.1) with UUCP id XAA04908; Tue, 20 Jul 1999 23:54:28 +0600 (UDT) Received: (from uucp@localhost) by cgilh.chel.su (8.8.7/8.8.7) with UUCP id XAA00987; Tue, 20 Jul 1999 23:30:52 +0600 Received: from localhost (ilia@localhost) by localhost.cgu.chel.su (8.9.2/8.9.2) with ESMTP id XAA00579; Tue, 20 Jul 1999 23:00:40 +0600 (ESS) (envelope-from ilia@cgilh.chel.su) X-Authentication-Warning: localhost.cgu.chel.su: ilia owned process doing -bs Date: Tue, 20 Jul 1999 23:00:40 +0600 (ESS) From: Ilia Chipitsine X-Sender: ilia@localhost.cgu.chel.su To: "T. William Wells" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: SB16 config for 3.2 In-Reply-To: <7n1ba7$26au$1@twwells.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you can try to check whether it does or not full-duplex by using speak-freely, it's in ports collection. for 'C it claims to be full-duplex, but speak-freely complains a lot :-(( Regards, (Наилучшие пожелания) Ilia Chipitsine (Илья Шипицин) On Tue, 20 Jul 1999, T. William Wells wrote: > In my last message, I had said "ViBRA16C". That was a mistake. The > 'C is the *old* SB16 card, for which things should work without > anything special. The 'X, which is what I *actually* have, is > different. There are two basic differences between the cards. The > old card uses two DMA channels, one 8 bit and one 16 bit. The new > card also can use two DMA channels, but both are 8 bit. On the old > card, the microphone is evidently turned "up" by default; the new > card, you have to turn it up yourself. The pcm driver docs also > say that the new card won't do full duplex but I haven't tested > this. > > There are plenty of other descriptions of configuring the old SB16 > card, so I won't be describing that here. However, here is what I > did for the new one: > > In my kernel configuration: > > device pcm0 at isa? port? tty irq 5 drq 1 flags 0xB > > Note the flags at the end. They're saying that I'm using DMA > channel 3 as the secondary DMA channel. > > In /boot/kernel.conf > > pnp 1 0 os enable port0 0x220 port1 0x300 port2 0x388 irq0 5 drq0 1 drq1 3 > > I'm using port 0x300 instead of the default 0x330. That's because > I also have an Adaptec 1540 SCSI controller in my machine. If > 0x330 is free, you might as well use it. > > You also need to set up the devices in /dev. As root, cd to /dev > and enter "./MAKEDEV snd1". Yes, 1. The pcm driver starts > numbering from 1, for reasons unclear to me. > > Finally, after your system is booted, run the command > "/usr/sbin/mixer mic 100". That turns up the microphone. To run it > automatically at boot, put the command into a file in > /usr/local/etc/rc.d, say, "upmic.sh" (and be sure to make it > executable). > > I have had my system hang with this configuration. This occured > when I was reading from /dev/audio for a long time. My guess is > that it screwed up the DMA for my SCSI controller. I'll be looking > into this when I have some spare minutes.... > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message