From owner-freebsd-hackers Thu Jul 29 4:41:34 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from fep8.mail.ozemail.net (fep8.mail.ozemail.net [203.2.192.102]) by hub.freebsd.org (Postfix) with ESMTP id 8E93614D5F for ; Thu, 29 Jul 1999 04:41:21 -0700 (PDT) (envelope-from c9710216@atlas.newcastle.edu.au) Received: from atlas.newcastle.edu.au (slnew53p32.ozemail.com.au [203.108.150.172]) by fep8.mail.ozemail.net (8.9.0/8.6.12) with ESMTP id VAA13420; Thu, 29 Jul 1999 21:39:49 +1000 (EST) Message-ID: <37A03D05.49A89869@atlas.newcastle.edu.au> Date: Thu, 29 Jul 1999 21:37:41 +1000 From: "Jacob A. Hart" X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: John Reynolds~ Cc: freebsd-hackers@freebsd.org Subject: Re: SURVEY: Sound cards that work under FreeBSD References: <14231.33937.454645.22076@hip186.ch.intel.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Reynolds~ wrote: > Survey: > ------- > > 1) The sound card make and model/chipset. Please be as specific as you can with > board rev numbers if possible. Please include wether the card is ISA or PCI. The card is an ISA Creative Labs AWE64. > 2) FreeBSD version(s) it was tested with. List *all* versions of FreeBSD for > which you can verify that the sound card does/doesn't work (don't include > -BETA or -SNAP releases but dates on -STABLE and -CURRENT branches are > welcome). This card works with 3.1-RELEASE through 3.2-STABLE, and works fine under 4.0-CURRENT too. > 3) Appropriate lines from your kernel config file / PNP setup. i.e. what did > you have to do to get this card working? Did you need patches not committed > to a particular branch (if so URLs would be welcome)? Do you use OSS drivers > instead? I've only ever used the VOXWARE drivers. Kernel options: controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device awe0 at isa? port 0x620 device opl0 at isa? port 0x388 From /boot/kernel.conf: pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388 pnp 1 1 os disable pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 pnp 1 3 os disable quit > 4) Sample dmesg output for properly configured device. Show the world what > boot messages relate to the device after properly configured. config> pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388 config> pnp 1 1 os disable config> pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 config> pnp 1 3 os disable config> quit sb0 at port 0x220 irq 5 drq 1 on isa0 snd0: sb0: interrupting at irq 5 sbxvi0 at drq 5 on isa0 snd0: sbmidi0 at port 0x330 on isa0 snd0: awe0 at port 0x620 on isa0 awe0: opl0 at port 0x388 on isa0 snd0: > 5) Miscellaneous notes. State anything "not obvious" to the casual FreeBSD > user. Good examples might be, "volume is 0 by default, use mixer(1) to > adjust at boot time," or "sh MAKEDEV snd1 for the 1st device, not snd0." The default volume/gain settings are *waaay* too high by default. It peaks the input signal on my amplifier and sounds awful. To fix it, I apply the following diff in /usr/src/sys/i386/isa/sound (4.0-CURRENT): *** sb_mixer.h Fri Jan 1 19:18:08 1999 --- sb_mixer.h.new Wed May 5 00:40:34 1999 *************** *** 192,211 **** static unsigned short levels[SOUND_MIXER_NRDEVICES] = { ! 0x5a5a, /* Master Volume */ ! 0x4b4b, /* Bass */ ! 0x4b4b, /* Treble */ ! 0x4b4b, /* FM */ ! 0x4b4b, /* PCM */ ! 0x4b4b, /* PC Speaker */ ! 0x4b4b, /* Ext Line */ 0x1010, /* Mic */ ! 0x4b4b, /* CD */ ! 0x4b4b, /* Recording monitor */ ! 0x4b4b, /* SB PCM */ ! 0x4b4b, /* Recording level */ ! 0x4b4b, /* Input gain */ ! 0x4b4b, /* Input gain */ ! 0x4b4b}; /* Output gain */ #endif /* SM_GAMES */ static unsigned char sb16_recmasks_L[SOUND_MIXER_NRDEVICES] = --- 192,211 ---- static unsigned short levels[SOUND_MIXER_NRDEVICES] = { ! 0x4b4b, /* Master Volume */ ! 0x3232, /* Bass */ ! 0x3232, /* Treble */ ! 0x3232, /* FM */ ! 0x3232, /* PCM */ ! 0x3232, /* PC Speaker */ ! 0x3232, /* Ext Line */ 0x1010, /* Mic */ ! 0x3232, /* CD */ ! 0x0000, /* Recording monitor */ ! 0x3232, /* SB PCM */ ! 0x3232, /* Recording level */ ! 0x3232, /* Input gain */ ! 0x3232}; /* Output gain */ #endif /* SM_GAMES */ static unsigned char sb16_recmasks_L[SOUND_MIXER_NRDEVICES] = > 6) Is it OK to publish your e-mail address / name as the contributor of this > information? You may type in an anti-spam version of your e-mail address > below if you would like that option instead. Yep, that's fine by me. Please note, though, that the PNP configuration in section (3) was information gained through the lists. I can't remember the poster's name, unfortunately. > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > | John Reynolds CEG, CCE, Next Generation Flows, HLA | > | Intel Corporation MS: CH6-210 Phone: 480-554-9092 pgr: 868-6512 | > | jreynold@sedona.ch.intel.com http://www-aec.ch.intel.com/~jreynold/ | > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -jake (obituary) Powered by FreeBSD c9710216@atlas.newcastle.edu.au http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message