QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[RELEASE] usbxmb plugin

This is a discussion on [RELEASE] usbxmb plugin within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi, This plugin will allow usb bus and mass storage driver to always be enabled in xmb. When you plug ...

Reply
 
LinkBack Thread Tools
Old 05-31-2008, 08:51 AM   #1
 
Join Date: May 2008
Posts: 23
Trader Feedback: 0
Default [RELEASE] usbxmb plugin

Hi,

This plugin will allow usb bus and mass storage driver to always be enabled in xmb. When you plug in a usb cable it will activate usb on the psp (will also enable charging on psp slim). When you unplug the cable usb will deactivate automatically.

I wrote this to basically save myself the hassle of going to the usb icon eveytime i wanted to xfer files or charge my psp. I know this has been done elsewhere but i wanted to have a go at writing my first plugin

I've test this on my psp slim 3.71 m33-3 and everything works fine. When I go into a game usb is deactivated, but once I leave that game usb is reactivated (assuming the usb cable is connected the entire time of course).

If anyone wants the source just let me know and I'll fix the download to include it. Don't have it handy atm.

http://pages.suddenlink.net/sptrk75/usbxmb.rar

Edit: Clean up the source a little and added some error checking for failure of usb bus and mass storage drivers loading. The source is now included in the original download.

Last edited by caliarbor; 05-31-2008 at 03:50 PM..
caliarbor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 09:30 AM   #2
Local Tech
 
joseph10444's Avatar
 
Join Date: Oct 2007
Real First Name: Joe
Location: home
Just Played: rockband
Posts: 1,822
Trader Feedback: 0
Default

so does this usb plugin always work in game?
cool plugin
joseph10444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 09:36 AM   #3
 
virx216's Avatar
 
Join Date: Dec 2005
Real First Name: Eric
Location: Oregon
Posts: 564
Trader Feedback: 0
Default

Quote:
Originally Posted by joseph10444
so does this usb plugin always work in game?
he already said that it doesn't
Quote:
Originally Posted by caliarbor
When I go into a game usb is deactivated, but once I leave that game usb is reactivated
quite handy, works on 3.90m33-3 classic, thanks!
__________________
~Eric~
virx216 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 09:43 AM   #4
 
xpack's Avatar
 
Join Date: Aug 2006
Location: Under Your Bed
Posts: 3,084
Trader Feedback: 0
Default

This is actually pretty useful, thanks
xpack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 10:23 AM   #5
Enter Custom Title
 
dan369's Avatar
 
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: Overlord 2
Posts: 1,308
Blog Entries: 1
Trader Feedback: 0
Default

Diffently Downloading this, saves time!!! instead off going to the usb connection!!!:TUP:
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 10:27 AM   #6
Local Tech
 
joseph10444's Avatar
 
Join Date: Oct 2007
Real First Name: Joe
Location: home
Just Played: rockband
Posts: 1,822
Trader Feedback: 0
Default

good job caliabor
joseph10444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 12:19 PM   #7

Developer
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,357
Trader Feedback: 0
Default

i've been thinking of writing something similar for a long time, thanks very much...also does it do auto detection that the other end of the usb device is connected as-well, or simple detects when it has been connected to the psp?
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 12:23 PM   #8

Enter Custom Title
 
sakya's Avatar
 
Join Date: Jan 2006
Posts: 279
Trader Feedback: 0
Default

Hi!

Useful, many thanks.
Yes: can you share the source, please.

Ciaooo
Sakya
__________________
"And they're giving me a wonderful potion,
'Cos I cannot contain my emotion.
And even though, I'm feeling good,
Something tells me, I'd better activate my prayer capsule."
Supper's Ready (Genesis)
sakya is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 01:39 PM   #9
 
Join Date: May 2008
Posts: 23
Trader Feedback: 0
Default

Quote:
Originally Posted by slicer4ever
i've been thinking of writing something similar for a long time, thanks very much...also does it do auto detection that the other end of the usb device is connected as-well, or simple detects when it has been connected to the psp?
It will only activate USB if the cable is connected on the other end. I think the cable is only detected if voltage is present. I'm doing the check via:

int state = sceUsbGetState();
state &= PSP_USB_CABLE_CONNECTED;

Whereas state will only be a non-zero value if a cable is present and connected on both ends.
caliarbor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 01:51 PM   #10
PSP Developer On Break
 

 
My Mood: Bashful
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
Default

nice release
i love this pluging and really useful for me
5/5 rated by me and right on time
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1)
thecobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 03:21 PM   #11
 
Odd_Sam's Avatar
 
Join Date: Jul 2007
Location: Blood Gulch
Posts: 293
Trader Feedback: 0
Default

Awesome release. I had been using Custom Firmware Extender with mass usb enabled. But this seems much better to use. Definitely downloading.
Odd_Sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 05:37 PM   #12
PSP Developer On Break
 

 
My Mood: Bashful
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
Default

Warning:those who use this plugin please don't try to turn on the usb from sony in the xmb because then you will get a error and the xmb will seem mess up

if this happen turn off your psp completely and then turn it back on and it will work
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1)
thecobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 05:39 PM   #13
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

Quote:
Originally Posted by thecobra
Warning:those who use this plugin please don't try to turn on the usb from sony in the xmb because then you will get a error and the xmb will seem mess up

if this happen turn off your psp completely and then turn it back on and it will work

Well that sounds good....
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 05:44 PM   #14
PSP Developer On Break
 

 
My Mood: Bashful
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
Default

Quote:
Originally Posted by mraellis
Well that sounds good....
?
what sounds good
please explaine
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1)
thecobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 05:49 PM   #15
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

That the xmb mess's up by using usb sounds good (aka bad). Sorry my sarcasm wasn't clearer
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 06:55 PM   #16
PSP Developer On Break
 

 
My Mood: Bashful
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
Cool

lol ok cool
-= Double Post =-
lol i just saw a good side effect of the plugin
my psp is able to charge in the sony web browser when i am online cool can anyone coferm this or am i the only lucky one
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1)

Last edited by thecobra; 06-01-2008 at 05:26 AM.. Reason: Automerged Doublepost
thecobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 09:40 PM   #17
 
Join Date: Apr 2007
Posts: 105
Trader Feedback: 0
Default

just wanted to say I installed the plugin and it works flawless, thanks!!!
halokilla77 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 09:50 PM   #18

 
Mr_Shizzy's Avatar
 
Join Date: Aug 2007
Posts: 567
Trader Feedback: 0
Default

Any chance of a V2 that allows a app to be booted with no buttons held down ??

Great plugin - Thanks
__________________
PSP MODEL: PSP SLIM 2000 TA-085v2
Custom Firmware: 5.50 GEN-D2
Mr_Shizzy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2008, 07:55 AM   #19
 
Join Date: May 2008
Posts: 23
Trader Feedback: 0
Default

Quote:
Originally Posted by Mr_Shizzy
Any chance of a V2 that allows a app to be booted with no buttons held down ??

Great plugin - Thanks
Hi,

I think you might be confusing this with an auto boot plugin?
-= Double Post =-
Quote:
Originally Posted by halokilla77
just wanted to say I installed the plugin and it works flawless, thanks!!!
Thanks, glad to hear you find it useful

Last edited by caliarbor; 06-04-2008 at 07:56 AM.. Reason: Automerged Doublepost
caliarbor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2008, 08:33 AM   #20
 
NeilR's Avatar
 
Join Date: Jul 2005
Posts: 7,010
Trader Feedback: 0
Default

Quote:
Originally Posted by Mr_Shizzy
Any chance of a V2 that allows a app to be booted with no buttons held down ??
I assume you intended to post in the AutoStart plugin release thread. The dev just released V2 here btw.
NeilR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
plugin , release , usbxmb

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 08:05 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us