From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 27 07:38:05 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19BA8F1E; Tue, 27 Nov 2012 07:38:05 +0000 (UTC) (envelope-from joel@vnode.se) Received: from mail.vnode.se (mail.vnode.se [62.119.52.80]) by mx1.freebsd.org (Postfix) with ESMTP id BE7848FC08; Tue, 27 Nov 2012 07:38:04 +0000 (UTC) Received: from mail.vnode.se (localhost [127.0.0.1]) by mail.vnode.se (Postfix) with ESMTP id 38582E3F07A; Tue, 27 Nov 2012 08:37:57 +0100 (CET) X-Virus-Scanned: amavisd-new at vnode.se Received: from mail.vnode.se ([127.0.0.1]) by mail.vnode.se (mail.vnode.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hrNsYL34-SKB; Tue, 27 Nov 2012 08:37:54 +0100 (CET) Received: from jd.benders.se (jd.benders.se [212.247.52.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.vnode.se (Postfix) with ESMTPSA id 707D5E3F079; Tue, 27 Nov 2012 08:37:54 +0100 (CET) Date: Tue, 27 Nov 2012 08:37:52 +0100 From: Joel Dahl To: Yuri Subject: Re: kern/148741: [sound] Headphones are deaf (do not work) on Lenovo ThinkPad X300 Message-ID: <20121127073752.GF94814@jd.benders.se> References: <201211261511.qAQFBYM6080933@freefall.freebsd.org> <50B45C7F.9080502@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50B45C7F.9080502@rawbw.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@freebsd.org, mav@freebsd.org, vermaden X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 07:38:05 -0000 On 26-11-2012 22:23, Yuri wrote: > On 11/26/2012 21:59, vermaden wrote:mav@FreeBSD.org: > >> Synopsis: [sound] Headphones are deaf (do not work) on Lenovo ThinkPad X300 > >> > >> State-Changed-From-To: open->closed > >> State-Changed-By: mav > >> State-Changed-When: Mon Nov 26 15:09:31 UTC 2012 > >> State-Changed-Why: > >> Proposed hints looks like overkill, but as far as it works, that is OK. > >> > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=148741 > > Closing this PR is OK under one of these conditions: > > > > - LINK to that X300 specifical configuration/hack PR should be within FreeBSD Handbook. > > - Information for X300 specific configuration should be directly in the FreeBSD Handbook. > > Or there should be the quirks-like mechanism in hda driver incorporating > these hints on the device by device level. We had this in the hda driver before mav rewrote it. The rewrite was a definite improvement in most cases and it almost always works without user intervention now, but I still think we need some kind of quirks functionality. I don't buy the "hardware is obsolete in 6 months" argument. I have several 3+ years old laptops at home. All working great. Asking users to play around with device.hints just to get sound working (it's 2012 after all, not 1992...) isn't all that user-friendly. If someone manages to figure out the correct configuration for a specific laptop, we should make sure we pick it up and include it in the driver. This will save the next user with the same hardware at least a few gray hairs... -- Joel