From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Lai Subject: Signaling user-space through kcontrol Date: Tue, 27 Sep 2011 23:14:36 -0700 Message-ID: <4E82BB4C.1030801@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from wolverine01.qualcomm.com (wolverine01.qualcomm.com [199.106.114.254]) by alsa0.perex.cz (Postfix) with ESMTP id 2538E10389C for ; Wed, 28 Sep 2011 08:14:39 +0200 (CEST) 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: Mark Brown Cc: alsa-devel , Liam Girdwood List-Id: alsa-devel@alsa-project.org Hi Mark, The codec I am working on, beside headset detection, also have other type of events to be propagated to user space. Per our discussion at IPC, there is way to signal user-space through kcontrol. Is it through calling snd_ctl_notify()? What is the ALSA library API to intercept the event? Is there an sample user-space code which gets kcontrol event? Thanks Patrick -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.