Can't get soundcard to work
Frank Shute
frank at shute.org.uk
Wed Oct 8 21:09:05 UTC 2008
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 at 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 at 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 at pci0:5:0:0: class=0x030000 card=0xe630174b chip=0x95051002 rev=0x00 hdr=0x00
> > >> vendor = 'ATI Technologies Inc'
> > >> class = display
> > >> subclass = VGA
> > >> pcm0 at 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
More information about the freebsd-questions
mailing list