Jump to content

The Headphone bug


Recommended Posts

Posted

This really does do my nut in I wondered if anyone has managed to solve it?

So here is the problem, I plug my headphones in and music starts randomly playing. So I turn it off. I put the radio on (BEEBPLAYER) and then put the phone in my pocket, and about 2 minutes later, music starts overlapping, So I take it out my pocket and the media player is off and away again, So I turn it off. And about 2 minutes later?

Is there anyway of stopping this happening? its a right pain

Posted
This really does do my nut in I wondered if anyone has managed to solve it?

So here is the problem, I plug my headphones in and music starts randomly playing. So I turn it off. I put the radio on (BEEBPLAYER) and then put the phone in my pocket, and about 2 minutes later, music starts overlapping, So I take it out my pocket and the media player is off and away again, So I turn it off. And about 2 minutes later?

Is there anyway of stopping this happening? its a right pain

I have the same problem cant watch youtube or use browser without it playing, I stop it go back to youtube and it plays again :)

Guest channi3
Posted

What I have had to do is delete all mp3 files out and then play the videos. This has helped me solve the problem.

I also had to uninstall last.fm too as it tried to automatically start to record my playlistism data.

Posted

If you do not need the music app:

delete the file /system/app/GoogleMusic.apk

Posted
If you do not need the music app:

delete the file /system/app/GoogleMusic.apk

Is that on the SD? or do I have to access the phones files? I have no idea how to access the phones files, I am asuming if I do that I can then just get a different Music app and Problem Solved?

Posted

I used ES File Explorer (but i think u need a rooted phone to delete system files).

Posted
I used ES File Explorer (but i think u need a rooted phone to delete system files).

what exactly does rooted phone mean?

how do I know if i have a rooted phone?

How do I go about rooting the phone?

Thanks :-)

Guest jonathonf
Posted

Right, there must be a solution. I'm going to have a dig through the udev rules on the phone and see if there's one for a headphone jack event.

This happens on my Pulse running 1.7 Vanilla.

Guest meinnit
Posted

I dont get this problem but I do notice that the Music app starts in the background (not actually in the foreground) AFTER I take out the headphone! Strange! I'm using MCR 1.7 Vanilla (should really put this in my profile!)

Guest jonathonf
Posted

So I spent the last hour debugging this on my phone. There are no udev rules but there is an audio event handler. The music player is listening to a MediaKey keypress event and then coming starting to play.

Before deleting the Music.apk I thought I would try clearing its data (Settings, Applications, Manage applications, Music, Clear Data). Up to the point I wrote this it seemed to have solved the problem, but as I type it's just started back up again. Grr.

Hmm. There's an error message about the wrong keymap. This might be the one. It's looking for msm-handset but falls back to surf_handset:

W/KeyCharacterMap(13300): Error loading keycharmap file '/system/usr/keychars/msm-handset.kcm.bin'. hw.keyboards.0.devname='msm-handset'

W/KeyCharacterMap(13300): Using default keymap: /system/usr/keychars/surf_keypad.kcm.bin

I/ActivityManager( 1121): Start proc com.android.music for broadcast com.android.music/.MediaButtonIntentReceiver: pid=13508 uid=10022 gids={3003}

If the keycodes are different then the keymap will be triggering a Play event rather than just an JackInserted (or whatever) event.

Next step is to check this and try and remap the keys. Fun.

Posted
So I spent the last hour debugging this on my phone. There are no udev rules but there is an audio event handler. The music player is listening to a MediaKey keypress event and then coming starting to play.

Before deleting the Music.apk I thought I would try clearing its data (Settings, Applications, Manage applications, Music, Clear Data). Up to the point I wrote this it seemed to have solved the problem, but as I type it's just started back up again. Grr.

Hmm. There's an error message about the wrong keymap. This might be the one. It's looking for msm-handset but falls back to surf_handset:

W/KeyCharacterMap(13300): Error loading keycharmap file '/system/usr/keychars/msm-handset.kcm.bin'. hw.keyboards.0.devname='msm-handset'

W/KeyCharacterMap(13300): Using default keymap: /system/usr/keychars/surf_keypad.kcm.bin

I/ActivityManager( 1121): Start proc com.android.music for broadcast com.android.music/.MediaButtonIntentReceiver: pid=13508 uid=10022 gids={3003}

If the keycodes are different then the keymap will be triggering a Play event rather than just an JackInserted (or whatever) event.

Next step is to check this and try and remap the keys. Fun.

Its a joke to be honest, such a fundamental flaw in the phone, very disappointed this wasn't flagged up in testing the phone. why would you want to listen to the radio without headphones? you can't it won't let you, and I can't even delete the file anyway why is that?

Guest HunteronX
Posted

I'm not sure if this is free, but you can use an app called Autostarts on the market to disable apps running when certain events happen - just like this.

I think you also need root for it - if you can, try it and see if it helps. :)

Posted

This was reported soon after the pulse came out, iirc it's when the included headphone adapter is used but it doesn't happen with the included headphones. If this is the case with you, might be worth getting a different adapter.

Guest jonathonf
Posted

It's fine as long as you use a three-pin jack. As soon as you use a two-pin the listener is triggered - and it doesn't matter if it's a two-pin adapter or a three-pin adapter and two-pin headphones.

Guest starkos
Posted
It's fine as long as you use a three-pin jack. As soon as you use a two-pin the listener is triggered - and it doesn't matter if it's a two-pin adapter or a three-pin adapter and two-pin headphones.

Sorry for being a bit thick, but can someone tell me what a 3 pin and 2 pin jack is in relation to headphones? And how can you tell if a 2.5/3.5 pair of headphones are 2/3 pin??

Guest Spook Tooth
Posted

He means conductor - the phone comes with headphones which have 4 conductors, 2 rings, one tip and one sleeve. Normal headphones usually have 3 conductors - tip, ring and sleeve or TRS.

Smartphones (and some other devices) have an additional conductor for microphone use, so are TRRS. This is why the bug doesn't occur when using the provided headphones with the mic built in as it uses a 4 conductor plug.

I guess we need to all be using or getting hold of earphones with 4 conductors or some kind of adaptor that stops this ruddy bug from raising its oh so annoying head.

I learned all about the subject from Wikipedia!

Guest jonathonf
Posted (edited)

I don't know where I picked up the two- and three-pin naming scheme; looking at that Wikipedia article I think I meant two- and three-channel (left+right, left+right+mic).

Reading on, though, "The selected pin assignment" and "Professional audio equipment uses XLR connectors which mate the ground signal on pin 1 first." I might have picked it up from Sound on Sound. No idea. But the point is the same. :)

--edit

http://pinouts.ru/connector/3_pin_stereo_p...connector.shtml

No, I was completely wrong. Three pin is TRS/three conductor. It's back from using mixers with two-pin inputs (mono jack per channel) compared to a three-pin jack (single stereo jack for two channels). I'm happy now.

Edited by jonathonf
Guest starkos
Posted

Ah right thanks both of you above, did search around but couldn't really find what i was looking for. Yea I did initially think it was the channel thing but couldn't see the link, guess I didnt look hard enough :)

Posted
This was reported soon after the pulse came out, iirc it's when the included headphone adapter is used but it doesn't happen with the included headphones. If this is the case with you, might be worth getting a different adapter.

Thanks for the info on this, didnt think of just trying the headphones that came with the phone, this worked for me too but what if you dont want to use the headphones that came with the phone, has anyone tried it with a different adaptor?

Guest Spook Tooth
Posted
I don't know where I picked up the two- and three-pin naming scheme; looking at that Wikipedia article I think I meant two- and three-channel (left+right, left+right+mic).

Reading on, though, "The selected pin assignment" and "Professional audio equipment uses XLR connectors which mate the ground signal on pin 1 first." I might have picked it up from Sound on Sound. No idea. But the point is the same. :)

--edit

http://pinouts.ru/connector/3_pin_stereo_p...connector.shtml

No, I was completely wrong. Three pin is TRS/three conductor. It's back from using mixers with two-pin inputs (mono jack per channel) compared to a three-pin jack (single stereo jack for two channels). I'm happy now.

Or maybe mono-balanced? Meaning the same monaural signal sent to both ears rather than a true (2 signal) stereo image?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.