Date: Wed, 8 Oct 2008 23:31:41 +0100 From: Frank Shute <frank@shute.org.uk> To: Aniruddha <mailing_list@orange.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Can't get soundcard to work Message-ID: <20081008223141.GA97321@melon.esperance-linux.co.uk> In-Reply-To: <1223502091.4635.3.camel@debian> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081008223141.GA97321>