Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2008 22:08:53 +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:  <20081008210853.GA97002@melon.esperance-linux.co.uk>
In-Reply-To: <1223490072.3978.3.camel@debian>
References:  <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> <1223490072.3978.3.camel@debian>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mailing_list@orange.nl> 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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081008210853.GA97002>