From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 20:36:18 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 32F3416A4CE for ; Fri, 2 Jan 2004 20:36:18 -0800 (PST) Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.5.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id D13E543D4C for ; Fri, 2 Jan 2004 20:36:16 -0800 (PST) (envelope-from kellers@njit.edu) Received: from 10.0.1.9 (ool-4353d5dd.dyn.optonline.net [67.83.213.221]) by mta4.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HQW00HZZCSEL2@mta4.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Fri, 02 Jan 2004 23:36:14 -0500 (EST) Date: Fri, 02 Jan 2004 23:36:14 -0500 From: T Kellers In-reply-to: <3FF61B97.5030600@fastmail.fm> To: Trey Sizemore Message-id: <200401022336.14808.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> <200401021923.12913.kellers@njit.edu> <3FF61B97.5030600@fastmail.fm> cc: freebsd-questions 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 04:36:18 -0000 On Friday 02 January 2004 08:32 pm, Trey Sizemore wrote: > T Kellers wrote: > >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 > > Tried that and I get the following: > > Can't connect to sound server Please try: ps -ax | grep arts and see if artsd is running If you start it manually you need to run artsd & before you type the test file entry. Tim Kellers CPE/NJIT