[Gta04-owner] Detecting headset plug: twl4030-madc IRQ issue
paulk at paulk.fr
Tue May 22 20:54:15 CEST 2012
After bringing audio output to Replicant on GTA04, I'm back to work on
headset plug detect. For now, I'm going with hw-validation kernel just
to make sure the ADCs are handled correctly.
So apparently, ADC7 is MICSENSE (no headset / short / headset) ,
exactly what I need. After trying some user-space madc code , it
seems that ADC7 reports pretty-much the same value (around raw=10)
regardless of headset plug state.
What am I missing here? Any help would be greatly appreciated!
Paul Kocialkowski, Replicant developer
Replicant is a fully free Android distribution
More information about the Gta04-owner