From owner-freebsd-drivers@FreeBSD.ORG Mon Feb 3 05:00:21 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5DC1875 for ; Mon, 3 Feb 2014 05:00:21 +0000 (UTC) Received: from gproxy3-pub.mail.unifiedlayer.com (gproxy3-pub.mail.unifiedlayer.com [69.89.30.42]) by mx1.freebsd.org (Postfix) with SMTP id AB7B01B15 for ; Mon, 3 Feb 2014 05:00:21 +0000 (UTC) Received: (qmail 22564 invoked by uid 0); 3 Feb 2014 04:53:41 -0000 Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy3.mail.unifiedlayer.com with SMTP; 3 Feb 2014 04:53:41 -0000 Received: from host180.hostmonster.com ([74.220.207.180]) by CMOut01 with id Mgtc1n0093u44n601gtfbc; Sun, 02 Feb 2014 21:53:41 -0700 X-Authority-Analysis: v=2.1 cv=F57EKMRN c=1 sm=1 tr=0 a=elpMfSYGy1g+Sy6iSrFI9g==:117 a=elpMfSYGy1g+Sy6iSrFI9g==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=1Hn6g5MNOI0A:10 a=jjoFiYHgTOAA:10 a=8nJEP1OIZ-IA:10 a=WGPMFDq8AAAA:8 a=XPnOrMr7Qc8A:10 a=09zAN61smS0A:10 a=6I5d2MoRAAAA:8 a=VwQbUJbxAAAA:8 a=yc9gciF6umbWnv9ttVwA:9 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hostedyou.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=Qatm5ooWxXjRMNi0IpvsQYq1/SkKCorDay7EphKWB8Y=; b=iGVIy64uWMGviGThNAvFWVoCeQQTrh9bldBKBCHp7rlcK35wiChNRlhRDpaHzj20SbowdnpljqV5+fWvvujPKdrPQIV+O567V/UY2Zfpxg0P7NVkolowBqyAGD9XC6vV; Received: from [72.197.231.41] (port=53052 helo=[192.168.0.2]) by host180.hostmonster.com with esmtpa (Exim 4.80) (envelope-from ) id 1WABXM-0007C6-So; Sun, 02 Feb 2014 21:53:37 -0700 Message-ID: <52EF20CD.6000102@hostedyou.com> Date: Sun, 02 Feb 2014 20:53:33 -0800 From: Maverick User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: snd_hda autodetection References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1009:host180.hostmonster.com:hostedyo:hostedyou.com} {sentby:smtp auth 72.197.231.41 authed with mmavipc@hostedyou.com} X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 05:00:22 -0000 On 2/2/2014 5:22 PM, Brian M. Waters wrote: > Cross-post from freebsd-hardware@: > > I have been messing around trying to get the snd_hda driver to work > 100% on my ThinkPad. There are a lot of HDA chips out there, and it > turns out laptop manufacturers are real "cowboy" about wiring them up > - pins x, y, z on one machine may not have the same function as pins > x, y, z on another machine. To make matters worse, these quirks are > never documented. However, Linux (and Windows) "just work" on these > platforms - while FreeBSD (at least on my X230) requires manually > experimenting with the snd_hda driver's configuration via > device.hints. I am not sure exactly how Linux/Windows handle this - > perhaps they do some kind of probing, or perhaps they ship with a long > list of known quirks. My question is: is there some technical reason > this has not been implemented in FreeBSD, or is it simply something > waiting to be implemented? Is there any way I can help out? > > BW > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" According to https://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio.txt the BIOS sets the default config for each pin, but the driver has a static configuration table with "several preset models, either to override the BIOS setup or to provide more comprehensive features"