From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 16:25:02 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 9F3A616A4CE for ; Fri, 2 Jan 2004 16:25:02 -0800 (PST) Received: from mta20.srv.hcvlny.cv.net (mta20.srv.hcvlny.cv.net [167.206.5.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A23A43D45 for ; Fri, 2 Jan 2004 16:25:00 -0800 (PST) (envelope-from kellers@njit.edu) Received: from 10.0.1.9 (ool-4353d5dd.dyn.optonline.net [67.83.213.221]) by mta20.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HQW002UB12FXJ@mta20.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Fri, 02 Jan 2004 19:23:04 -0500 (EST) Date: Fri, 02 Jan 2004 19:23:11 -0500 From: T Kellers In-reply-to: <3FF60391.1090803@fastmail.fm> To: Trey Sizemore , freebsd-questions Message-id: <200401021923.12913.kellers@njit.edu> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.5.4 References: <3FF5CB40.5020603@fastmail.fm> <3FF60391.1090803@fastmail.fm> cc: Eric F Crist Subject: Re: Confused about sound servers 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: Sat, 03 Jan 2004 00:25:02 -0000 On Friday 02 January 2004 06:49 pm, Trey Sizemore wrote: > Eric F Crist wrote: > >On Friday 02 January 2004 02:06 pm, T Kellers wrote: > >>Don't use both device pcm and the .ko modules. The sound won't work at > >> all or, if it does, not properly. You may not even have any keyboard > >> beeps (^G's) if both are loaded. > > > >I find I only add the device pcm line to my kernel and everything works > > fine. Gnome, KDE, console beeps. Everything works and I don't usually > > worry about the sound servers. When you install one of the window > > managers, as long as you install the multimedia package, the correct > > sound server gets installed too. This has been working for me for about > > 5 years now. > > > >HTH > > Update here...I have removed the entries in /boot/loader.conf and now > only have the kernel compiled with my 'device PCM' entry. > > 'dmesg | grep pcm' shows my soundcard entry and cat /dev/sndstat shows > it as well. > > I have rebooted after taking the entries out of loader.conf. > > When I try something like > > % play KDE_Beep_Ahem.wav > > I get: > > play: /dev/dsp: Operation not supported by device > > What might be causing this that I could look into? > %play /usr/local/share/sounds/KDE_Beep_Ahem.wav play: /dev/dsp: Operation not supported by device I get that same message after I've shut down the arts server However artsplay /usr/local/share/sounds/KDE_Beep_Ahem.wav works fine as long as artsd is running %ps -ax | grep arts 14333 p0 S 0:01.69 artsd 14343 p0 R+ 0:00.00 grep arts If you have KDE installed, try: %artsd & %artsplay /usr/local/share/sounds/KDE_Beep_Ahem.wav You should hear Mr Ahem clear his throat right from the command line. Tim