forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with PSPLink Windows 7

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Draan



Joined: 17 Oct 2009
Posts: 55

PostPosted: Tue Jan 05, 2010 7:07 am    Post subject: Problem with PSPLink Windows 7 Reply with quote

I've got MinPSPW on Windows 7 Ultimate 32 bit. PSP Slim 5.50 gen-d3
I've used drivers and psplink from MinPSPW, but it's not working.
If i run usbhostfs, i can see "connected to device", but when i start pspsh, i should see "host0:>", but theres nothing at all.

What the problem can be?


Last edited by Draan on Sat Jan 09, 2010 3:47 am; edited 3 times in total
Back to top
View user's profile Send private message
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Tue Jan 05, 2010 7:32 am    Post subject: Reply with quote

Do you have a firewall which is blocking usbhostfs_pc of pspsh?

You can see "connected to device" so that part is working.
_________________
Code:
int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Back to top
View user's profile Send private message
Draan



Joined: 17 Oct 2009
Posts: 55

PostPosted: Tue Jan 05, 2010 7:55 am    Post subject: Reply with quote

I have a firewall, but i clicked allow when it shows popup. Then i've disabled it. No effect.

When launching PSPSH i can see in usbhostfs "Accepting async connection (0, in next message 2, and 3) from 127.0.0.1", so PSPSH is connecting to usbhosts.

But nothing shows in pspsh, also no commands are working.

after a command "drives" in usbhosts, every host 0-7 displays "/cygdrive/c/pspsdk/bin"

host0 should show ms0:/, shouldn't it?

I also checked usbhosts as "run as admin" and compability with win xp, nothing.
Back to top
View user's profile Send private message
bbtgp32465



Joined: 18 Sep 2009
Posts: 24

PostPosted: Tue Jan 05, 2010 10:28 am    Post subject: Reply with quote

try starting it with another port

Code:
@echo off
PATH = c:\pspsdk\bin;%cd%;
start usbhostfs_pc.exe -b 1542
start pspsh.exe -p 1542
Back to top
View user's profile Send private message
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Tue Jan 05, 2010 11:11 am    Post subject: Reply with quote

Are you sure the libusb drivers are installed?
_________________
Programming with:
Geany + Latest PSPSDK from svn
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Tue Jan 05, 2010 8:08 pm    Post subject: Reply with quote

In order to get it the usb driver installed you need to install the driver in xp compat mode with admin rights. psplink uses the old libusb which i doesn't work properly with windows 7. There is an ongoing effort from the libusb team to port the new version to win7 but it is not known when it will be done.

Also to make it worse psplink even with minpspw is build with cygwin support, and i'm not 100% sure here, i think only since version 1.7 it supports win7 properly...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bbtgp32465



Joined: 18 Sep 2009
Posts: 24

PostPosted: Tue Jan 05, 2010 8:39 pm    Post subject: Reply with quote

im using libusb with windows 7 64 bit now. You can get it with Minimalist PSPSDK for Windows and driver signing must be disabled to use it. If you dont know how to install it, Start->RightClick Computer->Manage->Device Manager->Highlight your pc name->Action Menu->Add legacy hardware. inf: C:\pspsdk\bin\driver_x64\psp.inf. x86 is probably the same minus the driver signing.

hope that helps. But since you said "connected to device" i believe its just a port issue.
Back to top
View user's profile Send private message
Draan



Joined: 17 Oct 2009
Posts: 55

PostPosted: Wed Jan 06, 2010 3:11 am    Post subject: Reply with quote

i've used this bat script, reinstalled drivers with bttgp's "tuto", but nothing :(

Strange thing.
When buttons are not pressed by some amount of time, the display turns off. When it's off, and i run pspsh, the screen lights up.

So:
- drivers & usbhosts are working (I see Connected to Device)
- pspsh "is working" (pspsh wake up PSP & I see in usbhosts "Accepting async connection")


But pspsh is not working with me...
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Wed Jan 06, 2010 3:51 am    Post subject: Reply with quote

Urm, have you previously used the same version of psplink on that version of the psp firmware? There was a firmware where the shell breaks, but it is still there you just do not see any output. You need to update to the latest psplink from subversion if that is the case, of course maybe it doesn't work on your psp at all :)
Back to top
View user's profile Send private message
Draan



Joined: 17 Oct 2009
Posts: 55

PostPosted: Wed Jan 06, 2010 4:23 am    Post subject: Reply with quote

I was previously using RemoteJoy on this PSP, but it was on old computer, with WinXP. And everything was working :)
I'll try psplink from SVN.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Wed Jan 06, 2010 6:37 am    Post subject: Reply with quote

Well remotejoy would work fine as it is simply a bug in the shell (it is actually a bug in the firmware which was "intentionally" put there from what I can tell :P)
Back to top
View user's profile Send private message
Draan



Joined: 17 Oct 2009
Posts: 55

PostPosted: Fri Jan 08, 2010 11:55 pm    Post subject: Reply with quote

http://www.image-share.com/image.php?img=129/64.jpg

Solved! :) Thanks TyRaNiD!

Edit: uh, not at all...

i see host0: in pspSH now, and it's talking with me, but still all hosts are mapped to cygrive/c/pspsdk/bin...
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sat Jan 09, 2010 4:45 am    Post subject: Reply with quote

Sigh :)

Usbhostfs_pc uses the current directory as its default location for mappings. Either push usbhostfs_pc.exe somewhere in your path and run it from the directory you want to access or in usbhostfs_pc's window type something like mount 0 /path/to/my/files you can also map the other 7 host drives to different places by chaning the number.
Back to top
View user's profile Send private message
Draan



Joined: 17 Oct 2009
Posts: 55

PostPosted: Sat Jan 09, 2010 4:53 am    Post subject: Reply with quote

i thought host0 should be mapped to ms0, and rest to PC.


I've succesfully remapped hosts to C instead of pspsdk/bin, but how to map to ms0?

(just tested running prx from PC, working)
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sat Jan 09, 2010 8:16 am    Post subject: Reply with quote

Err ms0: is already mapped. You can either do cd ms0: to map the current dir to ms0: or you can just run an app from ms0: if you want. You perhaps should read the manual :)

hostX: is for PC stuff only. Any other drive is available, like you normally can access disc0: which is the UMD, or flash0: or flash1: of you want. psplink doesn't care.
Back to top
View user's profile Send private message
Draan



Joined: 17 Oct 2009
Posts: 55

PostPosted: Sun Jan 10, 2010 2:00 am    Post subject: Reply with quote

Thanks for reply and help.


The last problem: typing "reset vsh" crashes the PSP, doesn't go to VSH. "Reset" works fine.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sun Jan 10, 2010 9:50 am    Post subject: Reply with quote

Well there might not be anything you can do about the last problem. Sometimes Sony change shit and psplink can break because of it. It might be running out of memory for example.
Back to top
View user's profile Send private message
jsharrad



Joined: 20 Oct 2005
Posts: 102

PostPosted: Sun Jan 10, 2010 1:01 pm    Post subject: Reply with quote

Might just be your psp... mine has been doing it since 1.5 days and still does it on 3.40 oe
Back to top
View user's profile Send private message
the underminer



Joined: 03 Oct 2005
Posts: 124
Location: Netherlands

PostPosted: Sun May 16, 2010 7:56 am    Post subject: Reply with quote

bbtgp32465 wrote:
im using libusb with windows 7 64 bit now. You can get it with Minimalist PSPSDK for Windows and driver signing must be disabled to use it. If you dont know how to install it, Start->RightClick Computer->Manage->Device Manager->Highlight your pc name->Action Menu->Add legacy hardware. inf: C:\pspsdk\bin\driver_x64\psp.inf. x86 is probably the same minus the driver signing.

hope that helps. But since you said "connected to device" i believe its just a port issue.


Im running win7 x64 ultimate. I followed bbtgp's steps to put win7 in test mode, then installed the x64 drivers (latest version). When I first started usbhost_fs.exe it said that the address was already bound. Note: when I disabled test mode and restarted, this problem was solved. I do not get the 'connected to device' mesasage however, while windows plays the 'usb device connected sound' and in device manager it is listed as PSP (manufacturer:sony) under libUSB32 node. What to do? When I start psph, usbhost_fs does say it accepts async conns from localhost.

PSP is a 1004 phat model with 5.00M33. Tried 5.50 gen-b before, downgraded because it was said that psplink works best with m33. I use the psplink 3.40 oe that comes with the latest minPSP 0.9.5. I have used psplink 2 and possibly older versions and nethostFS with irShell. That always worked fine on win XP SP2. Any suggestions?
_________________
Behold! The Underminer got hold of a PSP
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group