From owner-freebsd-doc@FreeBSD.ORG Mon Aug 29 15:59:47 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 7E03516A41F for ; Mon, 29 Aug 2005 15:59:47 +0000 (GMT) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (blackend.org [212.11.35.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F38043D6E for ; Mon, 29 Aug 2005 15:59:41 +0000 (GMT) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.3/8.13.3) with ESMTP id j7TFxda7025823; Mon, 29 Aug 2005 17:59:39 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost.blackend.org [127.0.0.1]) by gothic.blackend.org (8.13.3/8.13.3) with ESMTP id j7TFxdv6002171; Mon, 29 Aug 2005 17:59:39 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.13.3/8.13.3/Submit) id j7TFxdOx002170; Mon, 29 Aug 2005 17:59:39 +0200 (CEST) (envelope-from marc) Date: Mon, 29 Aug 2005 17:59:39 +0200 From: Marc Fonvieille To: fww@ieee.org Message-ID: <20050829155939.GC595@gothic.blackend.org> Mail-Followup-To: fww@ieee.org, freebsd-doc@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Useless-Header: blackend.org X-Operating-System: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: freebsd-doc@freebsd.org Subject: Re: Fix for Section 7.2.1.1 - Soundblaster 16 driver X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 15:59:47 -0000 On Mon, Aug 29, 2005 at 11:12:44AM -0400, Fred Wheeler wrote: > 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: > > > > device snd_sbc > > > > as well as the following in /boot/device.hints: > > > > hint.sbc.0.at="isa" > > hint.sbc.0.port="0x220" > > hint.sbc.0.irq="5" > > hint.sbc.0.drq="1" > > hint.sbc.0.flags="0x15" > > > > In this case, the card uses the 0x220 I/O port and the IRQ 5. > Well you quoted only one part, you have to read the whole section... especially the information before your quoted part. > I think this is slightly misleading and I have a fix. > > 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 > [...] Once again, you missed an important part when you read this section (7.2.1.1 Configuring a Custom Kernel with Sound Support): The 1st line states: "The first thing to do is adding the generic audio driver sound(4) to the kernel, for that you will need to add the following line to the kernel configuration file: device sound" [...] "Then we have to add the support for our sound card." [...] To sum up: You only added support for your card but not the required sound(4) driver, so it could not work. Marc