From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 31 18:00:34 2009 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 AA85D10656C2 for ; Sat, 31 Jan 2009 18:00:34 +0000 (UTC) (envelope-from mav@mavhome.dp.ua) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2D6EF8FC2F for ; Sat, 31 Jan 2009 18:00:33 +0000 (UTC) (envelope-from mav@mavhome.dp.ua) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 233064137; Sat, 31 Jan 2009 20:00:33 +0200 Message-ID: <498491C8.6030302@mavhome.dp.ua> Date: Sat, 31 Jan 2009 20:00:40 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.19 (X11/20090118) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Patrick_Lamaizi=E8re?= References: <1233372205.00068713.1233358803@10.7.7.3> <49840E58.9050303@mavhome.dp.ua> <20090131151117.0820a27f@baby-jane.lamaiziere.net> <498467A2.6080005@mavhome.dp.ua> <20090131180006.458b8e10@baby-jane.lamaiziere.net> In-Reply-To: <20090131180006.458b8e10@baby-jane.lamaiziere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: [snd_hda] Sound problem on Macbook pro model 3.1 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: Sat, 31 Jan 2009 18:00:35 -0000 Patrick Lamaizière wrote: > Le Sat, 31 Jan 2009 17:00:50 +0200, > Alexander Motin : > >>> That's not a real problem, but the driver does not use coherent >>> numbers for the associations. >>> By instance for the quirk hint.hdac.0.cad0.nid21.config="as=4 >>> seq=15", it displays >>> hdac0: Enabling headphone/speaker audio routing switching: >>> hdac0: as=3 sense nid=21 [UNSOL] >>> >>> Why "as=3" instead "as=4"? >> There is two different numberings, internal (driver) and external >> (UAA). Internal numbers are unique to identify association, while >> external are not. UAA specifies that there can be several as=15 pins >> which are not associated (each is them a part of his own association). > > Ok, Thanks Alexander. > > Update: The internal microphone works too. > > Do you think we should add a quirk to the driver for this hardware? > I'm asking because the problem of shared pci id between several Mac. The answer depends on how much difference between those Macs. If that patch applicable to all of them (all devices sharing same ID allow setting gpio0 and ovref), then it is possible. -- Alexander Motin