From owner-freebsd-stable@FreeBSD.ORG Thu Feb 25 20:11:34 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AC001065670 for ; Thu, 25 Feb 2010 20:11:34 +0000 (UTC) (envelope-from rjk@wintek.com) Received: from local.wintek.com (local.wintek.com [206.230.2.234]) by mx1.freebsd.org (Postfix) with ESMTP id 04B6F8FC08 for ; Thu, 25 Feb 2010 20:11:33 +0000 (UTC) Received: from rjk.wintek.local (172.28.1.248) by local.wintek.com (172.28.1.234) with Microsoft SMTP Server id 8.1.393.1; Thu, 25 Feb 2010 15:11:33 -0500 Message-ID: <4B86D974.2070808@wintek.com> Date: Thu, 25 Feb 2010 15:11:32 -0500 From: Richard Kuhns Organization: Wintek Corporation User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100209 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4B86B108.8010009@wintek.com> <2e027be01002250938g2ce478a0p5ee6715c144ab0c8@mail.gmail.com> <4B86C495.6030309@wintek.com> In-Reply-To: <4B86C495.6030309@wintek.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD8.0 sound on Dell Optiplex 960 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rjk@wintek.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 20:11:34 -0000 On 02/25/10 13:42, Richard Kuhns wrote: > On 02/25/10 12:38, Tom Evans wrote: >> On Thu, Feb 25, 2010 at 5:19 PM, Richard Kuhns wrote: >>> Hello, >>> >>> I'm hoping someone can give me some help getting audio working on this >>> beast. I'm by no means an audiophile; I just like to listen to the >>> occasional CD and/or online station while I work. None of the jacks on the >>> back of the tower seem to do anything. >>> >>> In addition, when starting a Virtual Machine under VirtualBox, I get a popup >>> saying: >>> >>> "Some audio devices (PCM_in, PCM_mic) could not be opened". Under Details, >>> the Error ID is HostAudioNotResponding. >>> >>> $ cat /dev/sndstat >>> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) >>> Installed devices: >>> pcm0: (play) default >>> pcm1: (play/rec) >>> pcm2: (play/rec) >>> >>> Per the snd_hda manpage, I'm also attaching the hda-related output from a >>> verbose boot. >>> >>> Any help would be greatly appreciated! >>> >>> Thanks, >>> - Richart >> >> Your default device is currently the HDMI output on your graphics >> card. You probably want to play with sysctl snd.default_unit=1 (or 2) >> to set it to one of the analog outputs. One should be the front audio, >> the other one should be the back. >> >> Once you've got it sorted out, add to /etc/sysctl.conf to persist it. >> >> Cheers >> >> Tom > > OK, now I can get sound from both vlc and xmms as long as I plug the speakers > into the headphone jack on the front of the tower, which is a major improvement! > It doesn't make any difference which (non-zero) value I give to > hw.snd.default_unit. VMs no longer complain at startup, but there's still no > audio from them; there's also no sound from flash. I'm pretty sure that's what > BBC Radio uses, and I've always liked to listen to Radio 4's news at 1 (which is > 8 AM for me). > > Many thanks for your help! > While I know it's generally bad form to follow up to myself, I've made some more progress and it might be useful to someone else. The problem with flash was apparently that I had to symlink /usr/compat/linux/lib/libssl.so.5 to the currently installed version, libssl.so.0.9.8g. Strange but true... At any rate, I now have sound from everything I did before except for VMs under Virtual Box. Once again, thanks, Tom, for your help. -- Richard Kuhns My Desk: 765-269-8541 Wintek Corporation Internet Support: 765-269-8503 427 N 6th Street STE C Consulting: 765-269-8504 Lafayette, IN 47901-2211 Accounting: 765-269-8502