• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

Headphones

11 posts in this topic

Posted (edited) · Report post

G'day!

I haven't seen it being discussed before, but does the button on the stock headphones work for anyone? Jays Headphone Control didn't recognize the click for me, even in debug mode, however the microphone works wonders.

So does anyone else have such problem or has any other headphones with button(s) that do or don't work?

Note: tried them with my Xperia X8 as well with no luck.

Edit: according to the general pinout guide, the resistance between pins 2 and 3 (audio right and gnd accordingly) changes from 35 kOhm to 34 Ohm when the button is being pressed. Skate and X8 should be using the same layout, so it should work on either one.

Edit 2: after some measuring, I've figured that GND and MIC are reversed from the universal layout.

minijack4pin.gif

4 MIC&Control / 3 GND / 2 RIGHT / 1 LEFT

x5VY1.jpg

dGirq.jpg

Edited by HeikoH
0

Share this post


Link to post
Share on other sites

Posted · Report post

The button works fine for me, simple pause/play function. The only time I've had headphone issues is with iphone headphones, I only get sound through one ear unless I hold down the volume buttons, then I get full sound.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Thanks for the reply! What ROM are you on?

Another weird thing is that Keytest app by Chris Boyle recognizes the headset button click just fine!

Edit.

And here it is... Getting a hint from a similar topic and using my previous knowledge with swapping keys, all you have to do is add a line into your keylayout file. Following the given thread, you have to modify the files in /system/usr/keylayout/ (at least one of them, but I'm currently unaware of the specific one because of laziness) by adding key 226 MEDIA_NEXT at the end of each file. Then you can download Headset Button Controls from Play Store to modify the actions.

I'll update this thread with specific instructions once I'm awake again.

Edit: I've been a little late, but pretty much all you have to do to get everything working is to run the following from terminal or adb's shell.


mount -o rw,remount /system

echo "key 226 MEDIA_NEXT" >> /system/usr/keylayout/qwerty.kl

Edited by HeikoH
0

Share this post


Link to post
Share on other sites

Posted · Report post

I'm currently on Paranoid ICS, so if I modify the system files, will that work for the iPhone headphones or is that just for the stock headphones? I haven't tried the headphones with the stock music player though, I'm using the ported walkman app.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

It caught my attention somewhere that the iPhone headphones use a different layout, hence it would have to be physically modified - but I'm not entirely sure yet as I can't research at the moment.

I'm on Cyanogenmod 7.2 myself.

Edited by HeikoH
0

Share this post


Link to post
Share on other sites

Posted · Report post

Heh yeah my current modification consists of electrical tape holding the volume keys down. I just think the sound quality of the iPhone headphones are better than the stock ones and they stay in my deranged ears better.

0

Share this post


Link to post
Share on other sites

Posted · Report post

I'm quite sure that the iPhone's headphones can't be opened without damage, but it was a long time ago since I last had them.

The quality of the stock headphones is indeed bad. I opened mine up and swapped the earphones with a 3.5 mm female socket last night that I'm now using with a pair of Koss The Plug. Saved a few bucks this way. I'll post pictures later today.

0

Share this post


Link to post
Share on other sites

Posted · Report post

To be fair, the iPhone headphones are pretty horrible too. They're just less horrible than the Skate's.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yeah the iPhone headphones aren't the best, but they're the only ones i've found so far, that stay in my ears and i'm not a fan of big headphones. I may invest in a pair of wrap around headphones, but we'll have to see.

0

Share this post


Link to post
Share on other sites

Posted · Report post

So, this is a revelation to me. is there a way to make the phone work with headphones with a headphone button through a patch or something?

I tend to run through headphones quickly and having to tear each new one apart is inconvenient.

0

Share this post


Link to post
Share on other sites

Posted · Report post

As far as I know, no. It should be physically different routing of PCB tracks inside the phone.

I currently own a pair of Koss The Plugs (Amazon) and they are just over a year old. Call me cheap or whatever, but I don't want to let these go and would rather repair them than buy new ones.

All I've done to mine so far has been replacing the buds with ones from hardware store (as have done many others) and the 3.5 mm cable with a cheap eBay one - so far so good.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.