Date: Mon, 18 Apr 2011 20:53:41 -0500 From: Antonio Olivares <olivares14031@gmail.com> To: Craig Butler <craig001@lerwick.hopto.org> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: can't determine sound card driver to use in /etc/rc.conf Message-ID: <BANLkTimx=%2BQppV17edyMwsh8RqjfosAJMg@mail.gmail.com> In-Reply-To: <1303137127.24099.10.camel@zbox> References: <BANLkTin1S%2BRcr=NUp9L_WHMZ-Nqo5S5d4w@mail.gmail.com> <1303137127.24099.10.camel@zbox>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 18, 2011 at 9:32 AM, Craig Butler <craig001@lerwick.hopto.org> wrote: > 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: =A0 =A0 class=3D0x050000 card=3D0xcb8410de chip=3D0x03= ea10de >> rev=3D0xa1 hdr=3D0x00 >> isab0@pci0:0:1:0: =A0 =A0 class=3D0x060100 card=3D0x34071565 chip=3D0x03= e010de >> rev=3D0xa2 hdr=3D0x00 >> none1@pci0:0:1:1: =A0 =A0 class=3D0x0c0500 card=3D0x34071565 chip=3D0x03= eb10de >> rev=3D0xa2 hdr=3D0x00 >> none2@pci0:0:1:2: =A0 =A0 class=3D0x050000 card=3D0x34071565 chip=3D0x03= f510de >> rev=3D0xa2 hdr=3D0x00 >> ohci0@pci0:0:2:0: =A0 =A0 class=3D0x0c0310 card=3D0x34071565 chip=3D0x03= f110de >> rev=3D0xa3 hdr=3D0x00 >> ehci0@pci0:0:2:1: =A0 =A0 class=3D0x0c0320 card=3D0x34071565 chip=3D0x03= f210de >> rev=3D0xa3 hdr=3D0x00 >> pcib1@pci0:0:4:0: =A0 =A0 class=3D0x060401 card=3D0xcb8410de chip=3D0x03= f310de >> rev=3D0xa1 hdr=3D0x01 >> hdac0@pci0:0:5:0: =A0 =A0 class=3D0x040300 card=3D0x81081565 chip=3D0x03= f010de >> rev=3D0xa2 hdr=3D0x00 >> atapci0@pci0:0:6:0: =A0 class=3D0x01018a card=3D0x34071565 chip=3D0x03ec= 10de >> rev=3D0xa2 hdr=3D0x00 >> nfe0@pci0:0:7:0: =A0 =A0 =A0class=3D0x068000 card=3D0x25051565 chip=3D0x= 03ef10de >> rev=3D0xa2 hdr=3D0x00 >> atapci1@pci0:0:8:0: =A0 class=3D0x010185 card=3D0x54051565 chip=3D0x03f6= 10de >> rev=3D0xa2 hdr=3D0x00 >> pcib2@pci0:0:9:0: =A0 =A0 class=3D0x060400 card=3D0x000010de chip=3D0x03= e810de >> rev=3D0xa2 hdr=3D0x01 >> pcib3@pci0:0:11:0: =A0 =A0class=3D0x060400 card=3D0x000010de chip=3D0x03= e910de >> rev=3D0xa2 hdr=3D0x01 >> pcib4@pci0:0:12:0: =A0 =A0class=3D0x060400 card=3D0x000010de chip=3D0x03= e910de >> rev=3D0xa2 hdr=3D0x01 >> vgapci0@pci0:0:13:0: =A0class=3D0x030000 card=3D0x14051565 chip=3D0x03d0= 10de >> rev=3D0xa2 hdr=3D0x00 >> hostb0@pci0:0:24:0: =A0 class=3D0x060000 card=3D0x00000000 chip=3D0x1200= 1022 >> rev=3D0x00 hdr=3D0x00 >> hostb1@pci0:0:24:1: =A0 class=3D0x060000 card=3D0x00000000 chip=3D0x1201= 1022 >> rev=3D0x00 hdr=3D0x00 >> hostb2@pci0:0:24:2: =A0 class=3D0x060000 card=3D0x00000000 chip=3D0x1202= 1022 >> rev=3D0x00 hdr=3D0x00 >> hostb3@pci0:0:24:3: =A0 class=3D0x060000 card=3D0x00000000 chip=3D0x1203= 1022 >> rev=3D0x00 hdr=3D0x00 >> hostb4@pci0:0:24:4: =A0 class=3D0x060000 card=3D0x00000000 chip=3D0x1204= 1022 >> rev=3D0x00 hdr=3D0x00 >> ral0@pci0:1:6:0: =A0 =A0 =A0class=3D0x028000 card=3D0x25611814 chip=3D0x= 03011814 >> rev=3D0x00 hdr=3D0x00 >> >> >> mixer gives me the following: >> >> grulla# mixer >> Mixer vol =A0 =A0 =A0is currently set to =A075:75 >> Mixer pcm =A0 =A0 =A0is currently set to =A075:75 >> Mixer line =A0 =A0 is currently set to =A075:75 >> Mixer mic =A0 =A0 =A0is currently set to =A0 0:0 >> Mixer rec =A0 =A0 =A0is currently set to =A075:75 >> Mixer igain =A0 =A0is currently set to =A0 0:0 >> Mixer ogain =A0 =A0is currently set to =A050:50 >> Mixer monitor =A0is currently set to =A075:75 >> Recording source: mic >> >> >> Thanks for your help/advice. >> >> Regards, >> >> Antonio > > > Hi Antonio > > Think you'll find it's a hda device... > > add snd_hda_load=3D"YES" to /boot/loader.conf and it should be loaded nex= t > 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 Thanks Craig, Apparently it works, but I put in some small speakers, but could not get music to play. Installed mplayer from within ports, # cd /usr/ports/multimedia/mplayer # make install clean and tried to play some mp3's and got a codec error :(, since machine is 64 bit installing codecs from mplayer site does not work :(, and linux compatibility is not installed. Sorry for drifting out of original sound problem, but I also tried to play a dvd and it failed to load since atapi cam was not in /boot/loader.conf because cd/dvd drive is old style(not SATA) 18.6.9 Using the ATAPI/CAM Driver Contributed by Marc Fonvieille. This driver allows ATAPI devices (CD-ROM, CD-RW, DVD drives etc...) to be accessed through the SCSI subsystem, and so allows the use of applications like sysutils/cdrdao or cdrecord(1). To use this driver, you will need to add the following line to the /boot/loader.conf file: NEEDED to add atapicam_load=3D"YES" to /boot/loader.conf http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html have added this to machine and will check tomorrow to see if sound is output by machine. Thanks for helping/advising. Regards, Antonio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimx=%2BQppV17edyMwsh8RqjfosAJMg>