Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2011 15:32:07 +0100
From:      Craig Butler <craig001@lerwick.hopto.org>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: can't determine sound card driver to use in /etc/rc.conf
Message-ID:  <1303137127.24099.10.camel@zbox>
In-Reply-To: <BANLkTin1S%2BRcr=NUp9L_WHMZ-Nqo5S5d4w@mail.gmail.com>
References:  <BANLkTin1S%2BRcr=NUp9L_WHMZ-Nqo5S5d4w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2011-04-18 at 08:40 -0500, Antonio Olivares wrote:
> Dear folks,
> 
> On a new machine running AMD-64 XFCE custom by Manolis, I can't
> determine which sound driver to use for the sound card:
> 
> grulla# kldload snd_driver
> grulla# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> pcm0: <HDA VIA VT1708B_1 PCM #0 Analog> (play/rec) default
> pcm1: <HDA VIA VT1708B_1 PCM #1 Analog> (play)
> pcm2: <HDA VIA VT1708B_1 PCM #2 Digital> (play)
> grulla# pciconf -l
> none0@pci0:0:0:0:	class=0x050000 card=0xcb8410de chip=0x03ea10de
> rev=0xa1 hdr=0x00
> isab0@pci0:0:1:0:	class=0x060100 card=0x34071565 chip=0x03e010de
> rev=0xa2 hdr=0x00
> none1@pci0:0:1:1:	class=0x0c0500 card=0x34071565 chip=0x03eb10de
> rev=0xa2 hdr=0x00
> none2@pci0:0:1:2:	class=0x050000 card=0x34071565 chip=0x03f510de
> rev=0xa2 hdr=0x00
> ohci0@pci0:0:2:0:	class=0x0c0310 card=0x34071565 chip=0x03f110de
> rev=0xa3 hdr=0x00
> ehci0@pci0:0:2:1:	class=0x0c0320 card=0x34071565 chip=0x03f210de
> rev=0xa3 hdr=0x00
> pcib1@pci0:0:4:0:	class=0x060401 card=0xcb8410de chip=0x03f310de
> rev=0xa1 hdr=0x01
> hdac0@pci0:0:5:0:	class=0x040300 card=0x81081565 chip=0x03f010de
> rev=0xa2 hdr=0x00
> atapci0@pci0:0:6:0:	class=0x01018a card=0x34071565 chip=0x03ec10de
> rev=0xa2 hdr=0x00
> nfe0@pci0:0:7:0:	class=0x068000 card=0x25051565 chip=0x03ef10de
> rev=0xa2 hdr=0x00
> atapci1@pci0:0:8:0:	class=0x010185 card=0x54051565 chip=0x03f610de
> rev=0xa2 hdr=0x00
> pcib2@pci0:0:9:0:	class=0x060400 card=0x000010de chip=0x03e810de
> rev=0xa2 hdr=0x01
> pcib3@pci0:0:11:0:	class=0x060400 card=0x000010de chip=0x03e910de
> rev=0xa2 hdr=0x01
> pcib4@pci0:0:12:0:	class=0x060400 card=0x000010de chip=0x03e910de
> rev=0xa2 hdr=0x01
> vgapci0@pci0:0:13:0:	class=0x030000 card=0x14051565 chip=0x03d010de
> rev=0xa2 hdr=0x00
> hostb0@pci0:0:24:0:	class=0x060000 card=0x00000000 chip=0x12001022
> rev=0x00 hdr=0x00
> hostb1@pci0:0:24:1:	class=0x060000 card=0x00000000 chip=0x12011022
> rev=0x00 hdr=0x00
> hostb2@pci0:0:24:2:	class=0x060000 card=0x00000000 chip=0x12021022
> rev=0x00 hdr=0x00
> hostb3@pci0:0:24:3:	class=0x060000 card=0x00000000 chip=0x12031022
> rev=0x00 hdr=0x00
> hostb4@pci0:0:24:4:	class=0x060000 card=0x00000000 chip=0x12041022
> rev=0x00 hdr=0x00
> ral0@pci0:1:6:0:	class=0x028000 card=0x25611814 chip=0x03011814
> rev=0x00 hdr=0x00
> 
> 
> mixer gives me the following:
> 
> grulla# mixer
> Mixer vol      is currently set to  75:75
> Mixer pcm      is currently set to  75:75
> Mixer line     is currently set to  75:75
> Mixer mic      is currently set to   0:0
> Mixer rec      is currently set to  75:75
> Mixer igain    is currently set to   0:0
> Mixer ogain    is currently set to  50:50
> Mixer monitor  is currently set to  75:75
> Recording source: mic
> 
> 
> Thanks for your help/advice.
> 
> Regards,
> 
> Antonio
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


Hi Antonio

Think you'll find it's a hda device...

add snd_hda_load="YES" to /boot/loader.conf and it should be loaded next
time you boot the machine.

If your not getting any sound, you might have to change the
hw.snd.default_auto sysctl to match your other inputs.

Regards

Craig B






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