Date: Tue, 20 Jul 1999 23:00:40 +0600 (ESS) From: Ilia Chipitsine <ilia@cgilh.chel.su> To: "T. William Wells" <bill@twwells.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: SB16 config for 3.2 Message-ID: <Pine.BSF.4.05.9907202259250.361-100000@localhost.cgu.chel.su> In-Reply-To: <7n1ba7$26au$1@twwells.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907202259250.361-100000>