From owner-freebsd-doc@FreeBSD.ORG Mon Aug 29 15:12:51 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C0CD16A41F for ; Mon, 29 Aug 2005 15:12:51 +0000 (GMT) (envelope-from fred.wheeler@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F07843D49 for ; Mon, 29 Aug 2005 15:12:45 +0000 (GMT) (envelope-from fred.wheeler@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so594904wxd for ; Mon, 29 Aug 2005 08:12:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ConDmTVKIJW6UNjodaROzV4HEJuURn8plbbUcEV9lWvCELf68oEInezU3EvDJrxYdEn7SjfTcpDWHXnnrs0tv9+uZLiW4fs+PD4LWxbv1XcMitkPa4l/OQze6Zf+cS/JHF49+FrBh5sNpG+fLJESAQcz3nwYWkxEc91tfJOEjxg= Received: by 10.70.38.1 with SMTP id l1mr45824wxl; Mon, 29 Aug 2005 08:12:44 -0700 (PDT) Received: by 10.70.45.12 with HTTP; Mon, 29 Aug 2005 08:12:44 -0700 (PDT) Message-ID: Date: Mon, 29 Aug 2005 11:12:44 -0400 From: Fred Wheeler To: freebsd-doc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Fix for Section 7.2.1.1 - Soundblaster 16 driver X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fww@ieee.org List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 15:12:51 -0000 Section "7.2.1.1 Configuring a Custom Kernel with Sound Support" of the online handbook contains this text: > Non-PnP ISA cards may require you to provide the kernel with > information on the sound card settings (IRQ, I/O port, etc). This is > done via the /boot/device.hints file. At system boot, the loader(8) > will read this file and pass the settings to the kernel. For example, > an old Creative SoundBlaster 16 ISA non-PnP card will use the > snd_sbc(4) driver, with the following line added to the kernel > configuration file: >=20 > device snd_sbc >=20 > as well as the following in /boot/device.hints: >=20 > hint.sbc.0.at=3D"isa" > hint.sbc.0.port=3D"0x220" > hint.sbc.0.irq=3D"5" > hint.sbc.0.drq=3D"1" > hint.sbc.0.flags=3D"0x15" >=20 > In this case, the card uses the 0x220 I/O port and the IRQ 5. I think this is slightly misleading and I have a fix. =20 I just used the handbook to help get FreeBSD recognizing an old Creative SoundBlaster 16 ISA non-PnP card. I have found that drivers other than "snd_sbc" are needed. I found that I needed to put device snd_driver in the /boot/kernel.conf file to include all the sound drivers and also keep the above section in /boot/device.hints. So, some driver other than snd_sbc is needed for this card, though I'm not sure exactly which. Maybe more than one is needed. Even though this part of the handbook just uses the SB16 as an example for general sound configuration, I was mislead by it. I think it would be helpful to add the following after the "In this case, the card uses the 0x220 ..." line. With the SoundBlaster 16 it may be the case that other drivers, in addition to snd_sbc are needed. If the above does not work, try putting "device snd_driver" in /boot/kernel.conf along with the above lines in the /boot/device.hints file. Regards, Fred Wheeler