[Galaxy S I9000 Q&A, Help & Troubleshooting] kmoamen:
I've been using DarkyROM 10.1 for over 4 months now with no problems whatsoever.

Till a week back my headphone started not to work on the left earphone. It was time to change it. I went today to replace the headphone and when I was testing the headphone button it didn't work.

Further more I tried to test the mic on calls and it is not working. The built in mic is the only thing working.

It looks like the phone is stuck in the button pressed mode which I think mutes the mic.

I got the dmesg log and the jack info there was as the following,

/ # dmesg | grep jack

dmesg | grep jack

<6>[ 186.249633] sec_jack_set_type : jack_type = 2

<6>[ 230.395379] sec_jack_set_type : jack_type = 0

<6>[ 851.884970] sec_jack_set_type : jack_type = 2

<6>[ 908.898467] sec_jack_set_type : jack_type = 0

<6>[ 913.641106] sec_jack_set_type : jack_type = 2

<6>[ 914.764902] sec_jack_set_type : jack_type = 0

<6>[ 917.147299] active wake lock sec_jack_det, time left 1322

<6>[ 921.237020] sec_jack_set_type : jack_type = 2

<6>[ 930.587688] sec_jack_set_type : jack_type = 0

<6>[ 3053.033646] sec_jack_set_type : jack_type = 2

<6>[ 3127.994797] sec_jack_set_type : jack_type = 0

<6>[ 3139.175387] sec_jack_set_type : jack_type = 2

<6>[ 3331.251091] sec_jack_set_type : jack_type = 0

<6>[ 3334.832856] active wake lock sec_jack_det, time left 723

<6>[ 3748.558797] sec_jack_set_type : jack_type = 2

<6>[ 4256.425996] sec_jack_set_type : jack_type = 0

<6>[ 4263.752653] sec_jack_set_type : jack_type = 2

<6>[ 4273.007345] sec_jack_set_type : jack_type = 0

<6>[ 4288.558637] sec_jack_set_type : jack_type = 2

<6>[ 4294.126007] sec_jack_set_type : jack_type = 0

<6>[ 4307.354710] sec_jack_set_type : jack_type = 2

<6>[ 4307.827809] sec_jack_set_type : jack_type = 0

<6>[ 4327.778638] sec_jack_set_type : jack_type = 2

<6>[ 4329.332950] sec_jack_set_type : jack_type = 0

<6>[ 5523.733072] sec_jack_set_type : jack_type = 2

<6>[ 5568.944868] sec_jack_set_type : jack_type = 0

<6>[ 5611.345671] wakeup wake lock: sec_jack_det

<6>[ 5614.900765] sec_jack_set_type : jack_type = 2

<6>[ 5615.948397] sec_jack_set_type : jack_type = 0

<6>[ 5622.514618] wake lock sec_jack_det, expired

<6>[ 5622.719607] wakeup wake lock: sec_jack_det

<6>[ 5626.224616] sec_jack_set_type : jack_type = 2

<6>[ 5655.934294] sec_jack_set_type : jack_type = 0

<6>[ 5663.190634] sec_jack_set_type : jack_type = 2

<6>[ 5678.021070] sec_jack_set_type : jack_type = 0

Each time I plug the headphone I get nothing I remove it I get the two lines

<6>[ 5663.190634] sec_jack_set_type : jack_type = 2

<6>[ 5678.021070] sec_jack_set_type : jack_type = 0

Is it the problem that it is stuck in button pushed mode?

I tried to clear dalvik cache but it was of no use.

Would a fresh flashing do the trick? or is it a hardware damage?

P.S. When I discovered that the headphone is faulty the button was still working. it's only today that I have discovered it is not working when I tried to buy a new one.

Later on I went and installed DarkyROM 10.2.2 EE and did a date Wipe and it's the same issue, I even went further and formatted everything and went with a stock 2.3.5 and it's the same thing.

What I can think of now is a hardware failure, but I need to be 100% sure of that before sending it to the service center.

Can you guys help me with debugging this even more?

Thanks and sorry for the long thread.