[alsa-devel] Jack insertion
Mark Brown
broonie at sirena.org.uk
Tue Nov 18 12:03:43 CET 2008
On Tue, Nov 18, 2008 at 12:16:18PM +0530, naveen krishna ch wrote:
> Now my issue is is there any work regarding the Headset JACK
> insertion/detection.
> Earlier there was a proposal for a jack insertion layer.
> Can anyone suggest me in this regard.
The generic ALSA part of the API has been merged already - see
include/sound/jack.h.
For ASoC drivers you need to implement the actual detection in your
machine driver. Normally this would just hook into a GPIO. You can
then update the DAPM widget for the jack to mark it as in use or not in
use (some existing drivers do this) and also hook into the generic
userspace API (that's not been implemented by anyone yet). Plan is to
get something more generic into 2.6.30.
More information about the Alsa-devel
mailing list