Re: Jack insertion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux