View Single Post
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#4
In XTerm type
Code:
lshal -m
Output should look something like this, anything else and the phone jack is broken

Plugin headphones:
platform_headphone property button.state.value = true
platform_headphone condition ButtonPressed = connection
platform_soc_audio_logicaldev_input property input.jack.type = {'headphone'}
platform_soc_audio_logicaldev_input property button.state.value = true
platform_soc_audio_logicaldev_input condition ButtonPressed = jack_insert


Unplug headphones:
platform_soc_audio_logicaldev_input property input.jack.type = {}
platform_soc_audio_logicaldev_input property button.state.value = false
platform_soc_audio_logicaldev_input condition ButtonPressed = jack_insert
platform_headphone property button.state.value = false
platform_headphone condition ButtonPressed = connection