FORUMS

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code … more

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more
Post Reply Subscribe to Thread Email Thread

Post [Q] [XU] Headphone configuration

22nd March 2014, 09:14 PM |#1  
MIDO_MASH's Avatar
OP Member
Flag Cairo
Thanks Meter: 6
 
More
Hey Guys, So...
My Sony headphone which came with the phone accidentally was cut.
So write now I have my old Galaxy Pocket's headphone cus I can't afford to buy a decent headphone right now,

The problem is when I press the button on the headphone it just controls the volume, Nothing more.
Is there anything I can do to change what that button does, like just the original Sony's.
pls guys help me,
and thanks in advance.
 
 
22nd March 2014, 11:41 PM |#3  
yousefs's Avatar
Member
Thanks Meter: 10
 
More
Quote:
Originally Posted by Ryccardo

This is probably your problem: http://cdn.androidpolice.com/wp-cont...MTP_Pinout.png

So? I mean if the headphone button connects the first pin with the second then both headphones should do the same thing, I guess each headphone button connect different pins, it's not about swapping first and second pin

Sent from my ST25i using Tapatalk
23rd March 2014, 02:40 PM |#4  
MIDO_MASH's Avatar
OP Member
Flag Cairo
Thanks Meter: 6
 
More
Quote:
Originally Posted by Ryccardo

This is probably your problem: http://cdn.androidpolice.com/wp-cont...MTP_Pinout.png

So what should I do.
I'm not Into these things too much but I can learn
23rd March 2014, 03:40 PM |#5  
Senior Member
Flag Imola
Thanks Meter: 150
 
Donate to Me
More
Quote:
Originally Posted by yousefs

So? I mean if the headphone button connects the first pin with the second then both headphones should do the same thing, I guess each headphone button connect different pins, it's not about swapping first and second pin

According to one source the volume buttons are referred to the ground pin and the play/pause button to the microphone... mind you, this contradicts what I've always known (that buttons apply different resistances in parallel to the mic)

Quote:
Originally Posted by MIDO_MASH

So what should I do.
I'm not Into these things too much but I can learn

IF that's the problem you could try a CTIA to OMAP adapter... as said, I'm not sure that's the actual problem.
23rd March 2014, 03:51 PM |#6  
MIDO_MASH's Avatar
OP Member
Flag Cairo
Thanks Meter: 6
 
More
Quote:
Originally Posted by Ryccardo

IF that's the problem you could try a CTIA to OMAP adapter... as said, I'm not sure that's the actual problem.

I'm sorry but what does that even mean, I just want when I press the headset button it pauses/plays the Walkman.
I think Someone on the Galaxy SII forums mentioned Something about that : /system/usr/keylayout/Generic.kl.
Maybe if I change a thing or two on this file something would happen ????
23rd March 2014, 04:08 PM |#7  
Senior Member
Flag Imola
Thanks Meter: 150
 
Donate to Me
More
Quote:
Originally Posted by MIDO_MASH

I'm sorry but what does that even mean, I just want when I press the headset button it pauses/plays the Walkman.
I think Someone on the Galaxy SII forums mentioned Something about that : /system/usr/keylayout/Generic.kl.
Maybe if I change a thing or two on this file something would happen ????

Oh, that file (and others in the same folder) have the hardware button mappings... if the phone tells apart the buttons and just does the wrong actions you can remap them there!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes