From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 6 06:20:42 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83682106567A for ; Sat, 6 Sep 2008 06:20:42 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0AB988FC1D for ; Sat, 6 Sep 2008 06:20:41 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 220160975; Sat, 06 Sep 2008 09:20:41 +0300 Message-ID: <48C2212B.4090708@FreeBSD.org> Date: Sat, 06 Sep 2008 09:20:27 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Jochen Keil References: <48C1AFBA.2090204@gmail.com> In-Reply-To: <48C1AFBA.2090204@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: snd_hda.7.20080905 with ad1988b X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2008 06:20:42 -0000 Jochen Keil wrote: > i've patched and built snd_hda. > Unfortunately there are no pcm oder dsp devices in /dev, thus i cannot > use sound output. Driver tells that they are there. Probably you just don't see them. > Attached you'll find dmesg.verbose and cat /dev/sndstat: > > $ cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at hdac0 cad 0 kld > snd_hda [20080905_0107] [MPSAFE] (1p:1v/1r:1v channels duplex default) This is a playback via 4 connectors (7.1 in theory) and line, mic, cd, mix, monitor recording. > pcm1: at hdac0 cad 0 kld > snd_hda [20080905_0107] [MPSAFE] (1p:1v/0r:0v channels) This is Headphones connector playback. Strange that BIOS vendor configured respective microphone as part of pcm0 but not pcm1. Also this Headphones could be configured for sound redirection from pcm0 output, but it also wasn't done. So if you wish - you have a wide range of experiments possible. > pcm2: at hdac0 cad 0 kld > snd_hda [20080905_0107] [MPSAFE] (1p:1v/0r:0v channels) This is SPDIF playback. > I'd be glad to help you with further information, just tell me what you > need/i'm supposed to do. Just try to use it. :) > I didn't get that whole nid stuff though.. Logs were wrapped. Those nid stuff may be dumped with sysctl dev.hdac.0.pindump=1 -- Alexander Motin