From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 23:36:56 2004 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 38AD016A4CE for ; Fri, 3 Dec 2004 23:36:56 +0000 (GMT) Received: from ispmxmta09-srv.alltel.net (ispmxmta09-srv.alltel.net [166.102.165.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id A129043D3F for ; Fri, 3 Dec 2004 23:36:54 +0000 (GMT) (envelope-from trey@fastmail.fm) Received: from [192.168.0.2] (really [69.40.74.131]) by ispmxmta09-srv.alltel.net with ESMTP id <20041203233653.MWJD6770.ispmxmta09-srv.alltel.net@[192.168.0.2]> for ; Fri, 3 Dec 2004 17:36:53 -0600 From: Trey Sizemore To: freebsd-questions@freebsd.org In-Reply-To: References: Content-Type: text/plain Date: Fri, 03 Dec 2004 18:38:02 -0500 Message-Id: <1102117082.687.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Sound and KDE 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: Fri, 03 Dec 2004 23:36:56 -0000 On Fri, 2004-12-03 at 17:17 -0500, Gerard Seibert wrote: > I have just recently completed a fresh install of FreeBSD 5.3. Upon > completion, I built a new 'kernel', which included a sound driver. > Everything seems to work correctly. Using 'cdcontrol', I can play an audio > disk without any problems. > > Unfortunately, I cannot get sound to work in KDE. I have the latest > versions of 'xorg' and 'kde' loaded. When 'kde' loads, it displays this > error message: > > Sound Server information message: > Error while initializing the sound driver: > Device /dev/dsp can't be opened (no such file or directory) > The sound server will continue, using the null output device > > I have no idea where to proceed from this point. When I had FreeBSD 5.2.1 > installed, 'kde' worked fine. I formatted the HD prior to installing the > new version to minimize any latent errors from being introduced into the > new version. Therefore, nothing from the old version could be the cause of > this problem. > > Does anyone have any suggestions? > > Thanks! > > Gerard Seibert > gerard-seibert@rcn.com Have you tried: # kldload snd_driver I have a SoundBlaster Live! card, so I was more specific and used # kldload snd_emu10k1 and added snd_emu10k1_load="YES" to /boot/loader.conf, restarted the machine, and now it works like a champ. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html for more info. HTH!