From: Takashi Iwai Subject: Re: Jack event API - decision needed Date: Thu, 23 Jun 2011 09:24:43 +0200 Message-ID: References: <20110620170739.GD32056@opensource.wolfsonmicro.com> <4DFF973A.1080404@canonical.com> <20110620234053.GA1905@opensource.wolfsonmicro.com> <4E008A63.5080403@canonical.com> <20110621123908.GA25980@opensource.wolfsonmicro.com> <4E01C847.7060505@canonical.com> <20110622114826.GD18726@opensource.wolfsonmicro.com> <20110622132518.GB21802@opensource.wolfsonmicro.com> <20110622210131.GA6861@tango.0pointer.de> <20110623011045.GB20949@opensource.wolfsonmicro.com> <4E02E4CD.7060709@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 1A705103AA7 for ; Thu, 23 Jun 2011 09:24:47 +0200 (CEST) In-Reply-To: <4E02E4CD.7060709@ladisch.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: ALSA Development Mailing List , Mark Brown , Kay Sievers , Lennart Poettering , David Henningsson List-Id: alsa-devel@alsa-project.org At Thu, 23 Jun 2011 09:01:33 +0200, Clemens Ladisch wrote: > > Mark Brown wrote: > > We need some way for userspace to figure out that a jack exists and > > that it contains multiple functionalities from multiple subsystems. > > If we have a proposal for how we do that which seems viable then > > great, but we don't have that yet. > > Last November I posted a patch to add ALSA entity types to the media > API; it stalled due to lack of time. What's still missing is > a mechanism to associate entities with ALSA controls. The association of ALSA stuff is the biggest obstacle, IMHO. The implementation of the notification mechanism itself is trivial, no matter what way is used. But, it's pretty new that you create the association between jacks and various components (PCM, control elements, whatever). Such information is completely missing in the current driver, thus this must be added newly from scratch. Basically this was the reason I didn't go further for the jack notification implementation with ALSA control API (besides the lack of time). Which information should be coupled and how should be -- this has to be discussed in details beforehand. thanks, Takashi