From owner-freebsd-questions@FreeBSD.ORG Tue Apr 19 01:53:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82E7A1065670 for ; Tue, 19 Apr 2011 01:53:43 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1306C8FC12 for ; Tue, 19 Apr 2011 01:53:42 +0000 (UTC) Received: by fxm11 with SMTP id 11so4164970fxm.13 for ; Mon, 18 Apr 2011 18:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uxfLNtFEhEzyZaszhKFNmGHSBqV9pIN/mI4hbiD8Klc=; b=Ln8aauZLZTiwRXEerONJVz6ITQ1T/fKXnnlX6igs+TvGmmshLh2ltN/760/xBP/v8C FM/92NTaBpt75VWWIHfpR5/fDF4iZui9Tb93DXJzCxfYav2XcWYm50TPEItUDJOeedmd yoHST+nhwwM0n8YWtz++ALZKNbALYzJsjjIMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IfqetEw+ZbTHqZSbTfZFFiHzxZMSbsHEkCXSZlRdFPQTsm6uQD+368hOK1e8JCPJp5 emqRH327yJRoTp1WyUTkH9yIoXBY+AOupyfsyXcJGUI6d2m0XlWIczCkDcelKefrbeGY sNu+pE4FEo+DfKoq7VkAdMUl/Q7f42ipoonxs= MIME-Version: 1.0 Received: by 10.204.151.204 with SMTP id d12mr4470971bkw.127.1303178021858; Mon, 18 Apr 2011 18:53:41 -0700 (PDT) Received: by 10.204.65.198 with HTTP; Mon, 18 Apr 2011 18:53:41 -0700 (PDT) In-Reply-To: <1303137127.24099.10.camel@zbox> References: <1303137127.24099.10.camel@zbox> Date: Mon, 18 Apr 2011 20:53:41 -0500 Message-ID: From: Antonio Olivares To: Craig Butler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: can't determine sound card driver to use in /etc/rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2011 01:53:43 -0000 On Mon, Apr 18, 2011 at 9:32 AM, Craig Butler 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: (play/rec) default >> pcm1: (play) >> pcm2: (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