From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 22:31:49 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 9657A1065689 for ; Wed, 8 Oct 2008 22:31:49 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 2486B8FC08 for ; Wed, 8 Oct 2008 22:31:48 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KnhZL-00056r-My; Wed, 08 Oct 2008 23:31:47 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m98MVkhY013553; Wed, 8 Oct 2008 23:31:47 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 9CB65FCA4AD; Wed, 8 Oct 2008 23:31:41 +0100 (BST) Date: Wed, 8 Oct 2008 23:31:41 +0100 From: Frank Shute To: Aniruddha Message-ID: <20081008223141.GA97321@melon.esperance-linux.co.uk> Mail-Followup-To: Aniruddha , freebsd-questions@freebsd.org References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> <1223490072.3978.3.camel@debian> <20081008210853.GA97002@melon.esperance-linux.co.uk> <1223502091.4635.3.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223502091.4635.3.camel@debian> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 08 Oct 2008 23:31:47 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 22:31:49 -0000 On Wed, Oct 08, 2008 at 11:41:31PM +0200, Aniruddha wrote: > > Thanks for the help! Here are the answers: > > > > > > cat dmesg > /dev/dsp > > > > >> su: /dev/dsp: Operation not supported > > > > This is a weird error message. Don't know whether /dev/dsp exists or > > not - worth checking. > > ls /dev/d > da0 da2 dcons devstat dsp0.0 dsp1.0 > da1 da3 devctl dgdb dsp0.1 dumpdev On my machine: $ ls /dev | grep dsp dsp0.0 dsp0.1 i.e no dsp1.0 Could be that the 2 cards are confusing it, as you suggested previously (they both use the same driver). Can you disable one in the BIOS? > > > I don't know why you seem to have 2 sound cards but I'd have a look at > > getting the Intel sound card going. Put: > > > > snd_hda_load="YES" > > > > in /boot/loader.conf > Done > > > Reboot & then see what kldstat(8) and mixer(8) tell you. > > # kldstat > Id Refs Address Size Name > 1 6 0xc0400000 97c8a8 kernel > 2 1 0xc0d7d000 15524 snd_hda.ko > 3 2 0xc0d93000 4a62c sound.ko > 4 1 0xc0dde000 6a2c4 acpi.ko > 5 1 0xc68ea000 10000 ext2fs.ko Looks OK. > > > # mixer > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 75:75 What does: $ cat /dev/sndstat give you? > > > If that looks reasonable have a go at playing an mp3 or wav with > > mplayer. Mplayer might give you some debugging output if it doesn't > > work. > > The output from mplayer > [AO OSS] audio_setup: Can't open audio device /dev/dsp: Operation not > supported > I'm not surprised it freaks out - it's probably struggling to figure out which card to use. I feel pretty sure you'll have better luck disabling one. I have had 2 cards in the same machine before but they used different drivers. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html