From owner-freebsd-questions@FreeBSD.ORG Tue Oct 9 11:55:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEAB9BD8 for ; Tue, 9 Oct 2012 11:55:02 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5E68FC0A for ; Tue, 9 Oct 2012 11:55:01 +0000 (UTC) Received: from kw.news4all.se (c80-217-70-175.bredband.comhem.se [80.217.70.175]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id q99BswgW086521; Tue, 9 Oct 2012 13:54:58 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <50740FE0.5000508@bananmonarki.se> Date: Tue, 09 Oct 2012 13:52:00 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120901 Thunderbird/15.0 MIME-Version: 1.0 To: "Ronald F. Guilmette" Subject: Re: Audio out via HDMI... how? References: <28733.1349783186@tristatelogic.com> In-Reply-To: <28733.1349783186@tristatelogic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2012 11:55:02 -0000 2012-10-09 13:46, Ronald F. Guilmette skrev: > > > I have a laptop which has an HDMI output port. > > I can get video out of that (with xbmc) just fine. Audio, not so much. > Like not at all, as far as I can tell. > > So anyway, here is what I get when I do "cat /dev/sndstat": > > pcm0: (play/rec) default > pcm1: (rec) > pcm2: (play) As root sysctl hw.snd.default_unit=2 > I have the HDMI output wired into my everything-capable Sony 5.1 channel > receiver, which then in turn is wired into my 4 (count 'em four) speakers. > > OK, so now, could somebody please just tell me how I can do a test > that will determine why I ain't gettin' no audio? > > The receiver is capable of decoding 5.1 DTS-HD, Dolby TrueHD, and eveything > else too. It is working just fine.. not a thing wrong with it. It works > great with my Blu-Ray player and does the digital->analog decoding for > anything and everything I throw at it. > > Again, I just want to know how to _test_ doing some output to that from > my laptop, via HDMI. I tried these things, but not a sound was heard: > > cat /dev/random > /dev/dsp > > cat /dev/random > /dev/dsp2 > > The FreeBSD handbook page that deal with setiing up audio cards doesn't > provide a whole lot of guidance for how to test and/or fix digital audio > output, whether it is coming out via HDMI (as in my case) or via any other > kind of physical transport (e.g. coax or S/PDIF). > > Somwebody please pass me a clue. I'd really like to get this working. > Thanks. > > P.S. If I have to downmix to 2ch in xbmc before the audio even hits the > HDMI cable, I could even live with that. Bu right now, as far as I can > tell, I can't get _any_ audio flowing down that cable, period. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >