Enabling speakers with headphones plugged in? (solved)
Enabling speakers with headphones plugged in? (solved)
Does anyone have any ideas on how to achieve it?
Apparently, it's possible in Talkman..
Apparently, it's possible in Talkman..
Last edited by deniska on Thu Nov 22, 2007 11:20 am, edited 1 time in total.
Yes, would be great.
Btw do you know if there's a way to know whether the headphones are plugged in or not?
Btw do you know if there's a way to know whether the headphones are plugged in or not?
Sorry for my bad english
Oldschool library for PSP - PC version released
Oldschool library for PSP - PC version released
Code: Select all
if( sceHprmIsRemoteExist() ) { // check if remote is connected
if( sceHprmIsHeadphoneExist() ) // check if remote + headphones are connected
// do your madness
}
else
if(sceHprmIsHeadphoneExist() ) { // check if headphones are connected (WITHOUT REMOTE)
// do your madness
}
else
if(sceHprmIsMicrophoneExist() ) { // check if microphone is connected (WITHOUT REMOTE)
// do your madness
}
Last edited by dot_blank on Wed Aug 29, 2007 5:02 am, edited 1 time in total.
10011011 00101010 11010111 10001001 10111010
Oh yesssssssssssssss so cool! I've gotta try this :)
This would make the psp a great audio player for silent rooms if we could pause the audio output when the headphones are accidentially plugged out ;)
Thank you veryyyy much :)
This would make the psp a great audio player for silent rooms if we could pause the audio output when the headphones are accidentially plugged out ;)
Thank you veryyyy much :)
Sorry for my bad english
Oldschool library for PSP - PC version released
Oldschool library for PSP - PC version released
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
dot_blank wrote:Code: Select all
if( sceHprmIsRemoteExist() ) { // check if remote is connected if( sceHprmIsHeadphoneExist() ) // check if remote + headphones are connected // do your madness } else if(sceHprmIsHeadphoneExist() ) { // check if headphones are connected (WITHOUT REMOTE) // do your madness }
Just "FORCING" ;) them to return 0 will do the job?
I'd like to thank dot_blank again, I can now automatically display a message when the headphones are plugged out. The game is paused, the sound muted, and you can select whether you want to disable sound or keep it playing (on the speaker). That's very cool :-)
Sorry for my bad english
Oldschool library for PSP - PC version released
Oldschool library for PSP - PC version released
-
- Posts: 5
- Joined: Sun Aug 19, 2007 7:41 am
Playing music simultanously via both the PSP speaker AND the headphone jack is IMHO *very* dangerous for the PSP hardware, as this might easily surcharge the audio power amplifier/output stage of the PSP. The result would be a PSP without ANY music.
If you want a pull relief for the audio jack, I suggest you simply glue 2 Velcro strips onto your PSP.
If you want be able to use both headphones and loudspeaker at the same time, I'm afraid this won't be possible without any soldering inside the device... Anyhow, I don't see any good reason for using both at the same time...
//EDIT: @Deniska: If I understand you right, you simply chopped off the connector for the left audio channel.
http://en.wikipedia.org/wiki/TRS_connec ... erminology
The way the speakers are disabled when you plug your headphones in is quite simple: there's some sort of "button" (AFAIK a tiny little convex round metal plate under which are 2 contacts (one outer circle and one in the middle) which are connected when the tip of the plugged jack connector presses the plate onto both contacts).
If you want a pull relief for the audio jack, I suggest you simply glue 2 Velcro strips onto your PSP.
If you want be able to use both headphones and loudspeaker at the same time, I'm afraid this won't be possible without any soldering inside the device... Anyhow, I don't see any good reason for using both at the same time...
//EDIT: @Deniska: If I understand you right, you simply chopped off the connector for the left audio channel.
http://en.wikipedia.org/wiki/TRS_connec ... erminology
The way the speakers are disabled when you plug your headphones in is quite simple: there's some sort of "button" (AFAIK a tiny little convex round metal plate under which are 2 contacts (one outer circle and one in the middle) which are connected when the tip of the plugged jack connector presses the plate onto both contacts).
hardfalcon wrote:Playing music simultanously via both the PSP speaker AND the headphone jack is IMHO *very* dangerous for the PSP hardware, as this might easily surcharge the audio power amplifier/output stage of the PSP. The result would be a PSP without ANY music.
If you want a pull relief for the audio jack, I suggest you simply glue 2 Velcro strips onto your PSP.
If you want be able to use both headphones and loudspeaker at the same time, I'm afraid this won't be possible without any soldering inside the device... Anyhow, I don't see any good reason for using both at the same time...
//EDIT: @Deniska: If I understand you right, you simply chopped off the connector for the left audio channel.
http://en.wikipedia.org/wiki/TRS_connec ... erminology
The way the speakers are disabled when you plug your headphones in is quite simple: there's some sort of "button" (AFAIK a tiny little convex round metal plate under which are 2 contacts (one outer circle and one in the middle) which are connected when the tip of the plugged jack connector presses the plate onto both contacts).
Why the pointless quote?
Surely you realize that Deniska is playing audio through just the speakers (even though his headphone connector is in place) and so that quote is irrelevant.
Not that it matters either way. I strongly doubt you can damage the PSP's audio output stage by doubling the load. It's would be no different than plugging in a set of very low-impedance headphones, and Sony has certainly thought about that.
Surely you realize that Deniska is playing audio through just the speakers (even though his headphone connector is in place) and so that quote is irrelevant.
Not that it matters either way. I strongly doubt you can damage the PSP's audio output stage by doubling the load. It's would be no different than plugging in a set of very low-impedance headphones, and Sony has certainly thought about that.
Oops.
I meant to add my own words to it and agree with you.
ie. they are big words for a tiny amplifier,
and to add my own finding (have a spare brick):
There is a metal lever at the far end of the socket as already figured,
it is normally closed. Since I know this is on the left hand side of the
socket when looking into it with your PSP screen facing up,
you can avoid opening the switch by shaving only the left side of the tip
terminal. It may also stay connected, and I don't know what the result
of this will be.
on DIY serial plugs the headphone plug can be an effective switch
by rotating it 90 degrees, and the headphenes still work otherwise.
I meant to add my own words to it and agree with you.
ie. they are big words for a tiny amplifier,
and to add my own finding (have a spare brick):
There is a metal lever at the far end of the socket as already figured,
it is normally closed. Since I know this is on the left hand side of the
socket when looking into it with your PSP screen facing up,
you can avoid opening the switch by shaving only the left side of the tip
terminal. It may also stay connected, and I don't know what the result
of this will be.
on DIY serial plugs the headphone plug can be an effective switch
by rotating it 90 degrees, and the headphenes still work otherwise.
Thanks, but do you know a similar command for the mic?dot_blank wrote:Code: Select all
if( sceHprmIsRemoteExist() ) { // check if remote is connected if( sceHprmIsHeadphoneExist() ) // check if remote + headphones are connected // do your madness } else if(sceHprmIsHeadphoneExist() ) { // check if headphones are connected (WITHOUT REMOTE) // do your madness }
I have seen the original PSP input recording app detects the mic.
Art.
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
mic in the headphone port?Art wrote:Thanks, but do you know a similar command for the mic?dot_blank wrote:Code: Select all
if( sceHprmIsRemoteExist() ) { // check if remote is connected if( sceHprmIsHeadphoneExist() ) // check if remote + headphones are connected // do your madness } else if(sceHprmIsHeadphoneExist() ) { // check if headphones are connected (WITHOUT REMOTE) // do your madness }
I have seen the original PSP input recording app detects the mic.
Art.
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
It made Absolutely NO difference!dot_blank wrote:Code: Select all
if( sceHprmIsRemoteExist() ) { // check if remote is connected if( sceHprmIsHeadphoneExist() ) // check if remote + headphones are connected // do your madness - DONE } else if(sceHprmIsHeadphoneExist() ) { // check if headphones are connected (WITHOUT REMOTE) // do your madness - DONE } else if(sceHprmIsMicrophoneExist() ) { // check if microphone is connected (WITHOUT REMOTE) // do your madness - DONE }
All three Return 0 but still no sound! :(
Guess, Adrahil is our LAST hope.
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.
That code simply checks for the remote/headphone/microphone. It was posted in response to Brunni's question on how to tell if anything is plugged in.KickinAezz wrote:It made Absolutely NO difference!dot_blank wrote:Code: Select all
if( sceHprmIsRemoteExist() ) { // check if remote is connected if( sceHprmIsHeadphoneExist() ) // check if remote + headphones are connected // do your madness - DONE } else if(sceHprmIsHeadphoneExist() ) { // check if headphones are connected (WITHOUT REMOTE) // do your madness - DONE } else if(sceHprmIsMicrophoneExist() ) { // check if microphone is connected (WITHOUT REMOTE) // do your madness - DONE }
All three Return 0 but still no sound! :(
Guess, Adrahil is our LAST hope.
So it has nothing at all to do with enabling the speakers with the headphones plugged in.Brunni wrote: Btw do you know if there's a way to know whether the headphones are plugged in or not?
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
Actually, the latest version of mapThis (0.520) enables speakers even if the phone plug is in (no cutting of the audio plug tip required).. The code can be found here: http://www.dcemu.co.uk/vbulletin/showthread.php?t=79825
The code works on ta-79 and slim psp (that I have at my displosal) as long as it's ran under m33 3.xx firware (tested with 3.52 & 3.71)
The code works on ta-79 and slim psp (that I have at my displosal) as long as it's ran under m33 3.xx firware (tested with 3.52 & 3.71)
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
siogps.h's functions do that?deniska wrote:Actually, the latest version of mapThis (0.520) enables speakers even if the phone plug is in (no cutting of the audio plug tip required).. The code can be found here: http://www.dcemu.co.uk/vbulletin/showthread.php?t=79825
The code works on ta-79 and slim psp (that I have at my displosal) as long as it's ran under m33 3.xx firware (tested with 3.52 & 3.71)
Wow. Great work!
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.