| View previous topic :: View next topic |
| Author |
Message |
septem
Joined: 29 Aug 2007 Posts: 21
|
Posted: Sat Sep 01, 2007 3:26 am Post subject: Usb- change the way pc detects psp |
|
|
Hi! I was wondering if I can change way psp is "introducing" to pc. I want to make to do this so that pc is not recognizing playstation as another drive and I can install new driver for my console on windows. If it's possible I'd like to know how to achieve that. Thx in advance :)
ps: sry for my english :P |
|
| Back to top |
|
 |
septem
Joined: 29 Aug 2007 Posts: 21
|
Posted: Sat Sep 01, 2007 7:07 am Post subject: |
|
|
*sry for double post*
I found a way, this is code if someone wants to know how:
| Code: | if (oldButtons != pad.Buttons) {
if (pad.Buttons & PSP_CTRL_CROSS) {
if (state & PSP_USB_ACTIVATED)
retVal = sceUsbDeactivate(0x1c8);
else
retVal = sceUsbActivate(0x1c8);
}
} |
0x1c8 in sceUsbActivate/sceUsbDeactivate is default value for psp usb storage so change it, but I'd be careful doing this cause u can make some nice shit in win if u give wrong number... ;) |
|
| Back to top |
|
 |
mplacona
Joined: 07 Aug 2007 Posts: 28
|
Posted: Mon Sep 03, 2007 5:50 pm Post subject: |
|
|
I did't get your point. What are you talking about here?
Cheers |
|
| Back to top |
|
 |
septem
Joined: 29 Aug 2007 Posts: 21
|
Posted: Tue Sep 04, 2007 2:49 am Post subject: |
|
|
| I needed to use usb in my app to connect psp with pc and to do that i needed to install another driver. So not to lose ability to transfer files (what would happen if I install another driver for psp) I had to change the way psp is detected by pc. I guess psplink does the same (0x1c9 as product id, isn't it?). Got it? :) |
|
| Back to top |
|
 |
|