Re: [alsa-devel] 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux