From owner-freebsd-multimedia@FreeBSD.ORG Sat Dec 8 19:55:51 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 9295168A; Sat, 8 Dec 2012 19:55:51 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.205]) by mx1.freebsd.org (Postfix) with ESMTP id 3FDF48FC14; Sat, 8 Dec 2012 19:55:50 +0000 (UTC) Date: Sat, 08 Dec 2012 20:33:52 +0100 From: vermaden Subject: Re: kern/148741: [sound] Headphones are deaf (do not work) on Lenovo ThinkPad X300 To: Alexander Motin X-Mailer: interia.pl/pf09 In-Reply-To: <50B7C674.5050305@FreeBSD.org> References: <201211261511.qAQFBYM6080933@freefall.freebsd.org> <50B45C7F.9080502@rawbw.com> <20121127073752.GF94814@jd.benders.se> <50B4EE7C.6050900@FreeBSD.org> <50B7C674.5050305@FreeBSD.org> X-Originating-IP: 46.169.85.235 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1354995232; bh=YVMsEJSVGFpcSYBF+nCDSrYimAjFuF5MzF30A5ERRGY=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: X-Originating-IP:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding; b=Z8JOY8E9lF1hZUFL0iqQ3nS2kLCsvRw6xDzsMT+7SdyBVpykH4knf2Xbh+y116moe W1gwCTUxTdpmzg2rJ/kw5JzymKy9oPVuLPVZNnxIWQHZD5IAWDAC1E4FbiNcFU6fZ/ BZujeekHafI6lLEXrRzuoBCgONoVJddV6iwVtm+U= Cc: freebsd-multimedia@freebsd.org 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: Sat, 08 Dec 2012 19:55:51 -0000 "Alexander Motin" pisze: > On 27.11.2012 18:46, Alexander Motin wrote: > > 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. > > Vermaden, could you please test this patch and send me the new verbose > dmesg: http://people.freebsd.org/~mav/X300.patch > > It was made for 10-CURRENT, but should apply to 8/9-STABLE. > > -- > Alexander Motin Sorry for the late response, but it works beautifully ;) Regards, vermaden