Moto Hell - The Motorola Modding Community
November 25, 2024, 07:00:22 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [E2] how to detect plug and unplug headset by software?  (Read 6119 times)
fedegil69
Guest
« on: May 09, 2008, 09:49:00 am »


i know than the way to do for example a rsa adapter to listen music by a stereo or tv with the e2 is adding a resistor in the rsa plug..

today i make one to my stereo and i dont use the resistor (obiusly the phone do not detect the cable)
i run rockbox and go to settings - sound configuration - audio output selection and select "headset"

and sorprise! without a resistor the stereo play the phone´s music!

here is the question: is any way to do a script to choose speaker/ headset output?
 it will be great when you go a party with no music and connect you rokr to ROCK-ON!
Logged
steel00
Guest
« Reply #1 on: May 09, 2008, 07:39:17 pm »

hell yeah youre right!!!! thx a lot!!!! gr8 way to get music and listen it everywhere
Logged
error398
Guest
« Reply #2 on: May 09, 2008, 11:54:58 pm »

nice idea.. hope someone can make it soon... K+ to u
« Last Edit: May 09, 2008, 11:58:36 pm by Raunamaxtor » Logged
keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #3 on: May 12, 2008, 08:52:40 am »

Only rockbox can do that...maybe... Smiley
Logged

Best regards,
Jeffri H.

fedegil69
Guest
« Reply #4 on: May 12, 2008, 11:50:06 am »

maybe but when i close rockbox in headset mode, the phone stell thinking than he has a headset plugged in:p and you can use the stock player too..

so.. in keaglez we trust jejej!
Logged
ecmperalta
Guest
« Reply #5 on: May 17, 2008, 05:59:53 pm »

youre right....in katze 2 i do somethink similar, i conect the handset for e2 entry to handset mode and very fast disconect the handset and conect the rsa

sorry for my bad english
Logged
vhugobr
Guest
« Reply #6 on: June 08, 2008, 10:23:45 am »

Where's the Rockbox source code? Let's take a look, maybe we find the code and port it standalone.
Logged
fedegil69
Guest
« Reply #7 on: June 08, 2008, 07:03:10 pm »

HERE from rockbox page the source code
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines