From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 09:17:42 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32B211065670; Wed, 17 Sep 2008 09:17:42 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0958FC08; Wed, 17 Sep 2008 09:17:41 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from [195.93.241.11] (port=12520 helo=lissyara.moskb.local) by hosting.lissyara.su with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KftAK-0001Nh-BN; Wed, 17 Sep 2008 13:17:40 +0400 Message-ID: <48D0CB33.9060303@lissyara.su> Date: Wed, 17 Sep 2008 13:17:39 +0400 From: Alex Keda User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.16) Gecko/20080903 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Alexander Motin References: <48CBF399.9080801@FreeBSD.org> In-Reply-To: <48CBF399.9080801@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Cc: freebsd-multimedia@FreeBSD.org, freebsd-current@freebsd.org Subject: Re: New snd_hda driver came in. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 09:17:42 -0000 Alexander Motin пишет: > Hi. > > I have just committed my massive snd_hda driver update to the 8-CURRENT. > > Because of using more clear and same time more functional codec parser > new driver is able to handle more codecs, use them better then before > and without most of previous quirks. All of tested codecs itself > manage playback, record, input mixing and monitoring quite fine. In > all of investigated trouble cases problem was found or in nonstandard > codec usage or in incorrect codec configuration made by BIOS. Most of > that cases could be fixed using device hints, some of which are > already included to the driver. > > New driver supports multiple codecs per HDA bus, multiple audio > function groups per codec and multiple logical sound devices per audio > function group. So don't worry when you get several PCM devices > instead of one, it is normal. It is usual situation with powerful > codecs to provide, for example, 3 PCM devices: one for 7.1 playback > and main recording, one for headset and one for digital SPDIF I/O. > > New driver implements Universal Audio Architecture (UAA) much better > then previous one. Most information about recommended codec usage now > taken from the codec configuration registers initialized by BIOS. User > may alter that configuration using device hints to reconfigure logical > audio devices to his needs in a very broad range up to the limits of > the codec functionality. > > New driver supports digital PCM playback and AC3 pass-through. I am > not sure about completeness of this implementation, but I have several > success stories including my own. Vchans subsystem does not support > AC3 pass-through so it had to be disabled for that devices at this > moment. > > New driver is ready for multichannel playback, but until our OSS is > unable to use this it will just duplicate same stereo stream into all > channel pairs. > > New driver supports suspend/resume. I am unable to really test this > part myself, but I have got several success stories. > > Driver has very informative verbose boot messages. So if you have any > questions or problems - enable and read them first. > > Driver was actively discussed and tested on freebsd-multimedia@ mail > list. > after today update source, not work internal speaker... phones - works... lissyara$ dmesg | grep hda hdac0: mem 0xd8900000-0xd8903fff irq 16 at device 20.2 on pci0 hdac0: hdac0: [ITHREAD] hdac0: pcm0: on hdac0 lissyara$ uname -a FreeBSD lissyara.moskb.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Sep 17 10:41:27 MSD 2008 lissyara@lissyara.moskb.local:/tmp/obj/usr/src/sys/GENERIC amd64 lissyara$ before update work and phones and speaker (but, when plug phones speaker not dead =() how say driver use internal speaker?