From owner-freebsd-questions@FreeBSD.ORG Sat Oct 22 10:52:11 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 88D43106566B for ; Sat, 22 Oct 2011 10:52:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE9D8FC0A for ; Sat, 22 Oct 2011 10:52:11 +0000 (UTC) Received: from r56.edvax.de (port-92-195-104-16.dynamic.qsc.de [92.195.104.16]) by mx01.qsc.de (Postfix) with ESMTP id 0D0903D481; Sat, 22 Oct 2011 12:52:10 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p9MAq9KP001931; Sat, 22 Oct 2011 12:52:09 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 22 Oct 2011 12:52:09 +0200 From: Polytropon To: "Ronald F. Guilmette" Message-Id: <20111022125209.9ba97a1f.freebsd@edvax.de> In-Reply-To: <20331.1319246965@tristatelogic.com> References: <20331.1319246965@tristatelogic.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Help needed: sound/audio only semi-working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2011 10:52:11 -0000 On Fri, 21 Oct 2011 18:29:25 -0700, Ronald F. Guilmette wrote: > The really strange thing is that after I followed all the directions here: > > http://www.freebsd.org/doc/en/books/handbook/sound-setup.html > > This command: > > cat /dev/random > /dev/dsp > > *does* produce quite a bit of white noise sound. However when I perform > the other officially recommended basic audio functionality test: > > cdcontrol -f /dev/acd0 play 1 > > with one of my favorite old audo CDs in the drive (AND with that special > little wire running from the back of the drive to my motherboard) all that > happens is that the CD/DVD drive apparently _does_ start to read some stuff... > as evidenced by the blinking access light in the front of the drive... but I > still get no sound out, and YouTube videos still aren't giving me any audio > even though the video seems to be playing perfectly. Does the Handbook mention to check your mixer settings? Make sure to try that. Use any "simple-enough" media player to play some MP3, OGG or WAV file (e. g. per xmms or whatever comes with your preferred desktop environment). Make sure you have "vol" and "pcm" up. % mixer Mixer vol is currently set to 100:100 <--- This. Mixer pcm is currently set to 84:84 <--- And this. Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 <--- This too. Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Mixer monitor is currently set to 75:75 Recording source: mic The problem regarding audio CDs seems to be quite "modern". I also cannot play them anymore (but I don't have that special wire installed at the moment). Audio is VIA HDA. > So, um, I am grasping for ideas here on how I can debug this problem furher. Check mixer and play "simple stuff". :-) > So how can it be that this works just fine: > > cat /dev/random > /dev/dsp > > even while this: > > cdcontrol -f /dev/acd0 play 1 > > causes the disk to spin up and read, but otherwise produces utter silence? CD audio subsystem has been "modernized". :-) > P.S. My motherboard (w/ onboard audio) is a Gigabyte GA-M55Plus-S3G. Here > is what a get when I cat /dev/sndstat: > > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > Installed devices: > pcm0: (play/rec) default > pcm1: (play/rec) > pcm2: (play/rec) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...