[XPERIA X8 Q&A, Help & Troubleshooting] MonsterMkd:
Here is the alogcat code when i plug headphone

--------- beginning of /dev/log/main
I/hal_seport( 1700): Plug has been removed. Resetting system..
I/SystemConnector( 1700): Received connection event from device driver: rid: 50, cco_type: 50, plug_status: 0
E/hal_seport( 1700): hal_seport_enable_vad_detect - Failed to enable VAD button detection
E/hal_seport( 1700): hal_seport_enable_vad_thread - Failed to disable VAD detection
E/hal_seport( 1700): hal_seport_enable_button_thread - Failed to disable AIN detection
E/hal_seport( 1700): hal_seport_enable_vad_detect - Failed to enable VAD button detection
I/hal_seport( 1700): Plug has been detected. Starting thread to do RID polling.
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 171
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 173
I/hal_seport( 1700): Read RID val = 255
I/hal_seport( 1700): Read CCO val = 172
I/SystemConnector( 1700): Received connection event from device driver: rid: 50, cco_type: 50, plug_status: 1
W/SystemConnector( 1700): Unknown accessory attached. Rid: 50, cco_type: 50. Audio not routed to accessory and buttons do not work