From owner-freebsd-hardware@FreeBSD.ORG Sun Feb 2 19:57:39 2014 Return-Path: Delivered-To: freebsd-hardware@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 E1FB3183 for ; Sun, 2 Feb 2014 19:57:39 +0000 (UTC) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAB5E18CD for ; Sun, 2 Feb 2014 19:57:39 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id un15so6283520pbc.4 for ; Sun, 02 Feb 2014 11:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ILN9rBGyJYPkKO78siuOGNvc/woKgfp5xa5j/2QKulc=; b=UfzeoX4zNu6tAqAtHuvGRzqqNyYYigTMzN0SG2MsItYIH7R99Nfed4SY/HXQ9Ra1if Uy8iSXl8l4ZmG5PtKbJyp1gTxIB/ro/5hDq+q8t6/CZQ8uRYK+MbPF2HCLvMlSFbwLCv 7IBsC7sh8meJEgngrcC4b+l6DA6xqd0wSVrbbuK2QiTuoLhOnGyR+Moe8R2jyvetrvPr YstzQAoASlKkk70vXWOWGs7DHY9uGpLBzRmhmXjkEhclrzIshg8NKhn4UgitasZ6sc0b lIXUEG/+WfZc5nYhqImcbiycLDGQl1DpOJOrdNyjusJSUB3iu2a55cDgR4Pn6loTFLVb xb7w== MIME-Version: 1.0 X-Received: by 10.66.142.233 with SMTP id rz9mr33366810pab.71.1391371059380; Sun, 02 Feb 2014 11:57:39 -0800 (PST) Received: by 10.68.235.68 with HTTP; Sun, 2 Feb 2014 11:57:39 -0800 (PST) Date: Sun, 2 Feb 2014 14:57:39 -0500 Message-ID: Subject: snd_hda autodetection From: "Brian M. Waters" To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 19:57:39 -0000 I brought this up on the #bsddev channel on EFnet, but nobody picked it up so I'm re-posting it here. 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