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: 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 > > > 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 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="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>
