From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 27 16:46:57 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 5941E276 for ; Tue, 27 Nov 2012 16:46:57 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD5168FC13 for ; Tue, 27 Nov 2012 16:46:56 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo13so17089249vcb.13 for ; Tue, 27 Nov 2012 08:46:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0lDCi//2iPJevRRHin71yqcIGMEJ4vFlC8n5FDf6hNY=; b=Pc4vOITolZzHdGlJyu3vq3/vRhoqTZJedH+FNoDgqy+wq6I/4ECf8GzG9abVbzmrAM 2r2FSvORywTExc9zsNuuP93wOdSpjGFO4EvYy3tgZNUsg0TLevKEj+ddBHASeTIufzTR j7AKkg1IU0/ZPyV9Ib8lF7cYNqjaFBWuPwrCAdABDbWvjlUyjToCiRifSgXenPoncFbe 1iEqFsIpGp0DtNC9+M3Ppe3VjNlCc2a+QqGolbLOnItOlDLMmr/V2fRzji5hyOgB9Emy jE69rZMo+Z6XL/v/sSFzyAx0fZ+LRNX6Mx7bPU12BOq0TFlORy8e8uWdK/3wO3ww0GzJ 0qTA== Received: by 10.52.17.17 with SMTP id k17mr21371045vdd.106.1354034815748; Tue, 27 Nov 2012 08:46:55 -0800 (PST) Received: from mavbook.mavhome.dp.ua (cpe-67-244-107-195.nyc.res.rr.com. [67.244.107.195]) by mx.google.com with ESMTPS id in19sm9322364vec.1.2012.11.27.08.46.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Nov 2012 08:46:54 -0800 (PST) Sender: Alexander Motin Message-ID: <50B4EE7C.6050900@FreeBSD.org> Date: Tue, 27 Nov 2012 18:46:52 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120628 Thunderbird/13.0.1 MIME-Version: 1.0 To: Joel Dahl Subject: Re: kern/148741: [sound] Headphones are deaf (do not work) on Lenovo ThinkPad X300 References: <201211261511.qAQFBYM6080933@freefall.freebsd.org> <50B45C7F.9080502@rawbw.com> <20121127073752.GF94814@jd.benders.se> In-Reply-To: <20121127073752.GF94814@jd.benders.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@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 16:46:57 -0000 On 27.11.2012 09:37, Joel Dahl wrote: > 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... I haven't removed support for model-specific hacks, even moved them into separate file to make easier to handle them. If there is so much interest to this specific model, I don't mind to add it. But first we have to clean up the problem. Provided hints look more like inconsistent combination of hints from different systems. So at first we should find out which of these lines are really useful and why. Vermaden, could you do some binary search and upload somewhere verbose dmesg output for better understanding of the situation. -- Alexander Motin