2012/12/1 Dean Micheli <[email protected]>:
> Can you please post a link to alsa-devel where this question was answered?
>
> On Friday, June 11, 2010 11:57:37 PM UTC-4, harsha wrote:
>>
>> Hi all,
>>
>> I am not sure if this is the right forum for this question.
>>
>> My question is that; The ALSA's jack reporting framework reports jacks at
>> /dev/input/eventx. But the Android framework expects the jack reporting to
>> be done in /sys/.../switch/h2w.
>>
>> Any suggestions as to how  the ALSA's jack reporting framework to Android
>> framework? Are there any audio  drivers that have mapped this? Any kind of
>> input would be really helpful

As my understanding, there's headset driver in kernel to detect the
headset status and send the sys event (/sys/.../switch/h2w). It's not
the part of ALSA driver.

For example:
http://photon-android.googlecode.com/svn-history/r121/kernel/2.6.32_froyo_photon_nightly/arch/arm/mach-msm/htc_headset.c

>>
>> Thanks,
>> Harsha
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to