From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 21:09:05 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 5C48A106568B for ; Wed, 8 Oct 2008 21:09:05 +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 DF08C8FC0A for ; Wed, 8 Oct 2008 21:09:04 +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 1KngHD-0000rY-BC; Wed, 08 Oct 2008 22:08:59 +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 m98L8wOB025562; Wed, 8 Oct 2008 22:08:58 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 4D68EFCA4AD; Wed, 8 Oct 2008 22:08:53 +0100 (BST) Date: Wed, 8 Oct 2008 22:08:53 +0100 From: Frank Shute To: Aniruddha Message-ID: <20081008210853.GA97002@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223490072.3978.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 22:08:59 +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 21:09:05 -0000 On Wed, Oct 08, 2008 at 08:21:12PM +0200, Aniruddha wrote: > > On Tue, 2008-10-07 at 17:39 -0400, Lowell Gilbert wrote: > > Aniruddha writes: > > > 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. > > > > > > from pciconf: > > >> pcm1@pci0:0:27:0: class=0x040300 card=0x81d81043 chip=0x27d88086 rev=0x01 hdr=0x00 > > >> vendor = 'Intel Corporation' > > >> device = '82801G (ICH7 Family) High Definition Audio' > > >> class = multimedia > > > > > >> vgapci0@pci0:5:0:0: class=0x030000 card=0xe630174b chip=0x95051002 rev=0x00 hdr=0x00 > > >> vendor = 'ATI Technologies Inc' > > >> class = display > > >> subclass = VGA > > >> pcm0@pci0:5:0:1: class=0x040300 card=0xaa18174b chip=0xaa181002 rev=0x00 hdr=0x00 > > >> vendor = 'ATI Technologies Inc' > > >> class = multimedia > > > > I think you will need a somewhat recent FreeBSD to support that > > controller. What version are you running? > > > > What drivers have you loaded? snd_driver? > > > > Maybe it's related to my HDMI capable ATI card. Could this interfere? I > also tried adding snd_driver_load="YES" to /boot/loader.conf but this > didn't help either :( > 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 Reboot & then see what kldstat(8) and mixer(8) tell you. e.g: on my machine: $ kldstat Id Refs Address Size Name 1 4 0xffffffff80100000 6f8750 kernel 2 1 0xffffffff807f9000 1a6e8 snd_hda.ko 3 2 0xffffffff80814000 66408 sound.ko 4 1 0xffffffff8087b000 1b70 coretemp.ko $ mixer Mixer vol is currently set to 30:30 Mixer pcm is currently set to 60:60 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic I lowered the volume with: $ mixer vol 30:30 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. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html