From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 12:51:53 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 A178B16A4B3 for ; Sat, 4 Oct 2003 12:51:53 -0700 (PDT) Received: from mig.mig-29.net (dsl-200-78-45-52.prodigy.net.mx [200.78.45.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A26543F75 for ; Sat, 4 Oct 2003 12:51:52 -0700 (PDT) (envelope-from mig@mig-29.net) Received: from mig.mig-29.net (localhost.mig-29.net [127.0.0.1]) by mig.mig-29.net (8.12.8p1/8.12.8) with ESMTP id h94Jng0o011767; Sat, 4 Oct 2003 14:49:42 -0500 (CDT) (envelope-from mig@mig.mig-29.net) Received: (from mig@localhost) by mig.mig-29.net (8.12.8p1/8.12.8/Submit) id h94Jnff1011766; Sat, 4 Oct 2003 14:49:41 -0500 (CDT) (envelope-from mig) Date: Sat, 4 Oct 2003 14:49:41 -0500 From: "Manuel Rabade (MiG)" To: Bingrui Foo Message-ID: <20031004194941.GC358@mig-29.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i URL: http://www.mig-29.net/ cc: questions@freebsd.org Subject: Re: Sound not working. 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, 04 Oct 2003 19:51:53 -0000 On Fri, Oct 03, 2003 at 09:26:44PM -0500, Bingrui Foo wrote: > Hi all, > > I read the FreeBSD handbook and installed new kernel with 'device pcm'. > Also used 'cd /dev; sh MAKEDEV snd0'. > > dmesg | grep pcm returns: > pcm0: port 0xa400-0xa4ff irq 10 at device 5.0 on pci0 > pcm1: at device 9.0 on pci0 > pcm1: unable to map register space > device_probe_and_attach: pcm1 attach returned 6 > You have two sound cards a CMEDIA that is pcm0 and a Creative that is pcm1, by default all the programs send the audio to /dev/dsp who is a symbolic link to /dev/dsp0, the 'Digitized voice device' of pcm0. > I used xmms to play a .wav and mplayer to play a .avi. No sound was > produced by sound card, but mplayer has video output. > Chech xmms configuration and mplayer command line options to tell them to send the sound to /dev/dsp1 or the device that you wana use, maybe pcm1 isn't working because of that error, but i don't know about that. Also by default the devices for pcm1 are not in /dev, go to /dev and do a 'sh MAKEDEV snd1' and check where the symbolic link /dev/dsp is pointing. > Wondering what the problem could be. Thanks. > > Foo > > _______________________________________________ > 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"