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 

PSPlink on Vista x64

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



Joined: 31 Aug 2009
Posts: 5

PostPosted: Sat Sep 05, 2009 10:47 pm    Post subject: PSPlink on Vista x64 Reply with quote

Psplink x64 drivers fails to install on vista x64.
Is there a solution (e.g. editing the inf file....) ?
Tnx in advance
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sun Sep 06, 2009 2:11 am    Post subject: Reply with quote

You need to patch Vista x64 to install unsigned drivers first. In any case if I'm not mistaken the x64 libusb drivers are for XP x64 and Server 2003 x64, not for Vista/7. (Unless they are compatible).
Back to top
View user's profile Send private message
cory1492



Joined: 10 Dec 2004
Posts: 216

PostPosted: Sun Sep 06, 2009 4:35 am    Post subject: Reply with quote

The problem isn't compatibility, it's the OS requiring signed drivers. I've used DSEO (driver signature enforcement overrider, did it by hand before using the vista DDK and the results are basically the same) to get vista into unsigned driver mode and to test-sign the 64bit psplink drivers, works fine for me.

Followed the instructions (here), though it is a compromise as setting your machine permanently (well, until/unless you disable it) into allowing test-mode drivers is a security risk (and as such, my AV also detects DSEO as a genric something or other.) If you've already installed non-working drivers you will need to plug in and update them through device manager to test-signed ones.
Back to top
View user's profile Send private message
minderz



Joined: 31 Aug 2009
Posts: 5

PostPosted: Sun Sep 06, 2009 9:32 am    Post subject: It Works Reply with quote

Thanx a lot.
It works with dseo.
unfortunately i didn't try that kind of solution because of totally different error messages like code39, missing file... and so on. Damn Windows.
Thanx again... testing time.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sun Sep 06, 2009 7:33 pm    Post subject: Reply with quote

I did consider writing a windows specific version of usbhostfs using MS's WinUSB which would get around all the driver signing problems. Shame I am too lazy ;)
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Mon Sep 07, 2009 3:06 pm    Post subject: Reply with quote

Wow, didn't know WinUSB existed. Seems like a very non-Microsoft thing to do, considering they milk companies of thousands of dollars for WHQL certifications for both hardware drivers and software only drivers. Surprising they didn't force driver signing for Windows 7 x86.
Back to top
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Wed Sep 09, 2009 10:46 pm    Post subject: Reply with quote

thanks i can use this to fix my peerguardian too
Back to top
View user's profile Send private message MSN Messenger
unsigned int



Joined: 13 Aug 2009
Posts: 22

PostPosted: Sun Feb 28, 2010 11:39 pm    Post subject: Reply with quote

I wrote a small wrapper to redirect the libusb calls to WinUSB.

It uses the the PSPdisp "PSP Type C" WinUSB driver to communicate with the device. For the PC application this is completely transparent and no configuration has to be changed. Only the file "libusb0.dll" has to be replaced by the one provided in the archive.

On the PSP side, you have to change the device Id to 0x1CA. In PSPLINK this can be done by editing the psplink.ini file.

The only downside I experienced is that there is no equivalent of "usb_reset()" in WinUSB. This means that if the PSP gets into an undefined state, the game or the PSP has to be restarted.

I detailed the procedure more in the readme file, source is included.

http://jjs.at/software/lwbridge.html
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Mon Mar 01, 2010 6:22 pm    Post subject: Reply with quote

Isn't it sufficient to just unplug then replug the USB cable?
Back to top
View user's profile Send private message
unsigned int



Joined: 13 Aug 2009
Posts: 22

PostPosted: Mon Mar 01, 2010 6:30 pm    Post subject: Reply with quote

Usually it is. Also when typing in the "reset" command into pspsh.exe or exiting a started prx the PSP resets itself, so this is no problem.

But when you have the connection established and just close the pspsh window (by a window command, Alt-F4 or the like), no "valid" connection can be established anymore. The "host0:" prompt never comes up again. Unplugging and replugging shows the "Connected to device" message again, but doesn't help.

I believe this has to do with the lack of usb_reset() on the PC side.
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