From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 25 16:27:57 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 C018F106566C for ; Mon, 25 Aug 2008 16:27:57 +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 3DF9F8FC19 for ; Mon, 25 Aug 2008 16:27:57 +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 207359841 for freebsd-multimedia@FreeBSD.org; Mon, 25 Aug 2008 19:27:56 +0300 Message-ID: <48B2DD7E.6030700@FreeBSD.org> Date: Mon, 25 Aug 2008 19:27:42 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: snd_hda UAA patch second preview 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: Mon, 25 Aug 2008 16:27:57 -0000 Hi. Here is second preview of my HDA sound driver update. As with the first one I would be grateful for any feedback positive or negative. Patch for 8-CURRENT: http://people.freebsd.org/~mav/hda.20080825.patch Patch for 7-STABLE (mostly the same): http://people.freebsd.org/~mav/hda.7.20080825.patch Full driver directory archive: http://people.freebsd.org/~mav/hda.20080825.tgz Main changes since first version: - Record source selector completely rewritten. Now mixed recording and multilevel mixed/multiplexed recording found on some codecs should work fine. I have no possibility to test all of these on my hardware, so feedbacks are wanted. - Rewritten device hints parser. Now it is possible to specify names instead of numeric codes for device type, connectivity and color. For example: hint.hdac.0.cad0.nid28.config="device=CD conn=Fixed color=Red" - Sysctl that dumps current pin configuration (dev.hdac.0.pindump) fixed. Setting it to nonzero value dumps current pin configuration and jack detection/sensing status. It should be useful for debugging and hints writing purposes. - SPDIF output (may be input too, but I can't test it) implemented. I'm not sure that it is done perfectly, completely or even correctly, but I am able to playback both PCM and AC3 streams from mplayer on my AD1988 codec and external audio receiver. If you will try AC3, make sure you have disabled vchans for that dspX device with 'sysctl dev.pcm.X.play.vchans=0'. - Kernel verbose output improved to be more informative. - Module unloading fixed. - Asus MB quirk updated to work properly. Actually this quirk is not really required as it only reconfigures codec from 5.1 output scheme to 2.0 output + 2 input. - Numerous other fixes... If you will have any questions/problems boot your system with verbose logging. Driver prints a lot of usable information there. While sending me reports please attach your kernel verbose boot output, pin dump produced by `sysctl dev.hdac.0.pindump=1` and `cat /dev/sndstat` output to your message. Thanks. -- Alexander Motin