From owner-freebsd-multimedia@FreeBSD.ORG Fri Aug 15 13:59:57 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADC321065673 for ; Fri, 15 Aug 2008 13:59:57 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB568FC15 for ; Fri, 15 Aug 2008 13:59:56 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [62.49.66.13] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 196131256; Fri, 15 Aug 2008 16:59:56 +0300 Message-ID: <48A58BD1.3060806@FreeBSD.org> Date: Fri, 15 Aug 2008 16:59:45 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Oleg Sharoiko References: <48A20E02.6070609@FreeBSD.org> <1218778763.1338.10.camel@brain.cc.rsu.ru> In-Reply-To: <1218778763.1338.10.camel@brain.cc.rsu.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: RFC: massive snd_hda driver update to better conform UAA specification X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 13:59:57 -0000 Oleg Sharoiko wrote: > Here is my feedback: My box is Fujitsu-Siemens M460. With plain old > driver jack sensing didn't work for me. I used to add quirks to make it > working. > > This quirk made jack sensing work for rear-side line-out jack: > > #define FS_M460_SUBVENDOR HDA_MODEL_CONSTRUCT(FS, 0x10ff) > { FS_M460_SUBVENDOR, HDA_CODEC_ALC262, HDAC_HP_SWITCH_CTL, > 0, 0, -1, 20, { 22, -1 }, -1 }, > > And this one for front panel headphones jack: > { FS_M460_SUBVENDOR, HDA_CODEC_ALC262, HDAC_HP_SWITCH_CTL, > 0, 0, -1, 27, { 22, -1 }, -1 }, > > With new driver it seems that internal speaker is always disabled. I > couldn't get it to play anything through it. Plugging headphones into > front-panel doesn't disable speakers connected to the line-out. I guess > this has something to do with > > hdac0: No jack detection support at pin 27 173e 1 221451f 1 According to 1 in lower bit of misc in pins configuration: hdac0: nid 27 0x0221451f as 1 seq 15 Headphones Jack jack 1 loc 2 color Green misc 5 your hardware vendor tells that pin 27 (and most of others) does not support jack sensing. If you said it is working, then he is incorrect and you can fix this with device hints like hint.hdac.0.cad0.nid27.config="misc 0" I am not sure what happens now if redirection is requested and there is no sensing support. May happened then one or another output will be muted as in your case. I need to check that. -- Alexander Motin