From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 23:48:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE0AD106567A for ; Sun, 17 Aug 2008 23:48:48 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1408FC0A for ; Sun, 17 Aug 2008 23:48:48 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KUrzL-00013K-Hp for freebsd-questions@freebsd.org; Sun, 17 Aug 2008 16:48:47 -0700 Message-ID: <19024428.post@talk.nabble.com> Date: Sun, 17 Aug 2008 16:48:47 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org In-Reply-To: <48A89E6E.2010805@barafranca.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jakub_lach@mailplus.pl References: <19021118.post@talk.nabble.com> <48A89E6E.2010805@barafranca.com> Subject: Re: Linux Wolfenstein Enemy Territory - no sound X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2008 23:48:48 -0000 Many thanks, works splendid :) Ironically, I'm leaving at dawn for two weeks AFK. Hugo Silva wrote: > > Jakub Lach wrote: >> Hello. >> >> I recently installed from ports (games/linux-enemyterritory). >> At first it complained about missing X11 lib, and I concluded >> that installing linux-xorg-libs should sort it out. I wass correct >> (perhaps it should be added as dependency?). >> >> Running et it gives: >> >> ------- sound initialization ------- >> /dev/dsp: Invalid argument >> Could not mmap /dev/dsp >> ------------------------------------ >> >> Apparently, it's common problem on Linux too. Simplest >> solution reported to be working is: >> >> echo "et.x86 0 0 direct">/proc/asound/card0/pcm1p/oss >> >> So I think something like >> >> sysctl -w something.something="et.x86 0 0 direct" >> >> should work for me. >> >> Searching for device, I have found: >> >> sysctl -a | grep 'pcm' >> dev.emu10kx.0._pcm_front_l: 100 >> dev.emu10kx.0._pcm_front_r: 100 >> dev.pcm.0.%desc: EMU10Kx DSP front PCM interface >> dev.pcm.0.%driver: pcm >> dev.pcm.0.%parent: emu10kx0 >> dev.pcm.0.eapd: 1 >> dev.pcm.0.play.vchans: 1 >> dev.pcm.0.play.vchanrate: 48000 >> dev.pcm.0.play.vchanformat: s16le >> dev.pcm.0.rec.vchans: 1 >> dev.pcm.0.rec.vchanrate: 48000 >> dev.pcm.0.rec.vchanformat: s16le >> dev.pcm.0.buffersize: 65536 >> dev.pcm.1.%desc: EMU10Kx DSP rear PCM interface >> dev.pcm.1.%driver: pcm >> dev.pcm.1.%parent: emu10kx0 >> dev.pcm.1.play.vchans: 1 >> dev.pcm.1.play.vchanrate: 48000 >> dev.pcm.1.play.vchanformat: s16le >> dev.pcm.1.buffersize: 65536 >> >> and >> >> sysctl -a | grep 'oss' >> compat.linux.oss_version: 198144 >> >> However, I don't have idea what to do next. >> >> Symlinking /dev/dsp/ to /dev/dsp0.0 or /dev/dsp1.0 >> doesn't cut it. >> >> regards >> >> > > > You need hw.snd.compat_linux_mmap=1 > > Happy frags :) > > Regards, > > Hugo > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Linux-Wolfenstein-Enemy-Territory---no-sound-tp19021118p19024428.html Sent from the freebsd-questions mailing list archive at Nabble.com.