Moto Hell - The Motorola Modding Community
November 22, 2024, 03:08:43 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
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
Moto Hell - The Motorola Modding Community
>
Motorola Phone Models
>
Motorola A780/A1200/E2/E6/E680/V8/Z6
>
Software (Phone)
>
[E2] how to detect plug and unplug headset by software?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: [E2] how to detect plug and unplug headset by software? (Read 6094 times)
fedegil69
Guest
[E2] how to detect plug and unplug headset by software?
«
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
Re: [E2] how to detect plug and unplug headset by software?
«
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
Re: [E2] how to detect plug and unplug headset by software?
«
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
Posts: 2562
http://jeffri.net
Re: [E2] how to detect plug and unplug headset by software?
«
Reply #3 on:
May 12, 2008, 08:52:40 am »
Only rockbox can do that...maybe...
Logged
Best regards,
Jeffri H.
fedegil69
Guest
Re: [E2] how to detect plug and unplug headset by software?
«
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
Re: [E2] how to detect plug and unplug headset by software?
«
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
Re: [E2] how to detect plug and unplug headset by software?
«
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
Re: [E2] how to detect plug and unplug headset by software?
«
Reply #7 on:
June 08, 2008, 07:03:10 pm »
HERE from rockbox page the source code
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Motorola Phone Models
-----------------------------
=> Motorola E398/E790/E798/E1
=> Motorola A780/A1200/E2/E6/E680/V8/Z6
-----------------------------
General
-----------------------------
=> General Discussion
=> Trash
-----------------------------
Graphics and Sounds
-----------------------------
=> Wallpapers
=> RingTones
=> Screen Savers
=> Videos
-----------------------------
General
-----------------------------
=> Member's Introductions
-----------------------------
Motorola Phone Models
-----------------------------
===> DRM
===> Monster Packs
===> Java
===> Langpacks
===> Software
===> Monster Packs
===> Software (PC)
===> Software (Phone)
===> Langpacks
-----------------------------
Graphics and Sounds
-----------------------------
=> Skins
-----------------------------
Motorola Phone Models
-----------------------------
=> Motorola C155/C156/C350/C350L/C450/C550
=> Motorola C650/C380/C385/C390/V180/V220
=> Motorola U6/V300/V500/V551/V600/V80/V3
=> Motorola L2/L6/L6i/V191/V195/V235
=> Motorola L7/V360/V3i/V3r
=> Motorola L7i/RIZR/K1/KRZR/W5/W510/Z3/
=> Motorola A3100/MPX/MPX200/MPX220/Q/Q9
=> A835/A840/A975/A1000/C975/E770/E1000+/K3/V975/V3x/V3xx/V6/V9/V9x
=> Motorola C139/C168/C257/C261/V177/W208/W220/W375
===> Langpacks
===> Monster Packs
===> Software (PC)
===> Software (Phone)
===> Langpacks
===> Monster Packs
===> Software (PC)
===> Software (Phone)
-----------------------------
General
-----------------------------
=> Off topic
-----------------------------
Graphics and Sounds
-----------------------------
===> 240x320
===> 176x220
===> 128x160
-----------------------------
General
-----------------------------
=> Forum Games
-----------------------------
Motorola Phone Models
-----------------------------
=> A1600/A1800/EM30/E8/MC75/V750/ZN4/ZN5/Z6w/Z9/Z10/ZN200
===> Motorola ROKR E8
=====> Firmwares
-----------------------------
Graphics and Sounds
-----------------------------
===> 320x240
-----------------------------
Motorola Phone Models
-----------------------------
===> Motorola ZN5
=====> Firmwares
===> ELF
-----------------------------
Graphics and Sounds
-----------------------------
===> Symbian
===> Linux
-----------------------------
Motorola Phone Models
-----------------------------
=> Motorola Android
===> General
===> Applications
===> CLIQ/DEXT
===> CLIQ XT/QUENCH
===> Droid/Droid X/Droid 2
===> Milestone
===> Backflip/Motus
===> Atrix 4G/non 4G
Loading...