From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 14:41:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01CB837B401 for ; Thu, 14 Aug 2003 14:41:44 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EEB443FAF for ; Thu, 14 Aug 2003 14:41:43 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[66.30.200.37](untrusted sender)) by comcast.net (sccrmhc13) with ESMTP id <20030814214142016009pbpae>; Thu, 14 Aug 2003 21:41:42 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h7ELdfMe052252; Thu, 14 Aug 2003 17:39:42 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h7ELdebV052243; Thu, 14 Aug 2003 17:39:40 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: "KEW Martin" References: <200308140130.LAA16016@sprint.tenix.com> From: Lowell Gilbert Date: 14 Aug 2003 17:39:40 -0400 In-Reply-To: <200308140130.LAA16016@sprint.tenix.com> Message-ID: <44ekzn7wbn.fsf@be-well.ilk.org> Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Configuring Sound Blaster 16 for FreeBSD5.1 & KDE3.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 21:41:44 -0000 "KEW Martin" writes: > I am having problems configuring sound for a PnP ISA Sound Blaster 16 under FreeBSD5.1 with KDE3.1. I have followed the multimedia instructions in the handbook and rebuild the kernel with: > > device pcm > device sbc > > Then, using "grep pcm /var/run/dmesg.boot" it finds "pcm" on "sbc1", and I am able to play an audio CD using "cdcontrol". I have also modified my "/etc/sysctl.conf" adding: > > sysctl hw.snd.pcm0.vchans=4 > sysctl hw.snd.maxautovchans=4 > > Given that during startup KDE reports that it cannot find "/dev/dsp", I have tried to configure the settings of KDE in the control centre under its sound system IO dialog to set the custom device to "/dev/dsp0.0" then, "/dev/dsp0.1" and tried to test one of the KDE default notification sound, with no success. > > I also noted that from the kernel rebuild their are no device files for: > > /dev/audio > /dev/midi > /dev/mixer > /dev/music > /dev/sequencer > /dev/pss > /dev/dsp > /dev/dspW > > Where the console history (from which I started KDE using startx) reported that KDE could not find a number of theses drivers. Noting that the only sound related device files are (X = 0 to 3): > > /dev/dsp0.X > /dev/dspW0.X > > At this stage I am running out of ideas, any help would be greatly appreciated. This is one of the places where you suffer from running an "early adopters" release rather than one intended for production use -- the documentation for handling sound doesn't cover 5.x nearly as well as 4.x. Read the manual for devfs and whatever related bits you can find. [Sorry I can't be more explicit, but I don't run 5.x yet myself, and I have limited documentation access from the screen I'm currently working on.] The trick will definitely be how to get devfs to create the nodes, because the kernel sure seems to be recognizing the sound chip. Also note that your sound sound subsystem might be getting recognized as device 1 rather than device 0, so in looking for the device nodes, do an (e.g.) "ls /dev/dsp*". Good luck.