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 

Trying to use PSPlink, but USBHostFS doesn't cooperate well

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



Joined: 03 Nov 2005
Posts: 21

PostPosted: Thu Oct 11, 2007 1:17 pm    Post subject: Trying to use PSPlink, but USBHostFS doesn't cooperate well Reply with quote

The setup and installation of PSPLink and USBhostFS for Windows XP went smoothly. I was now trying to make PSPLink shell use the file system provided by USBhost. So I followed the instructions to my best knowledge in the manual.

Quote:
1. Compile up the gu/sprite sample from PSPSDK. Assuming you have correctly installed the
toolchain this is just a case of changing to the /usr/local/pspdev/psp/sdk/sample/gu/sprite
directory and type make.

2. Start up PSPLINK and ensure the USB host driver and USB shell is enabled (setting usbhost=1
and usbshell=1).


Did these with no problem. Just replace the GU Sprite demo with the path to the folder that contains my own WIP program, already compiled.

Here's where it starts to go wrong:

Quote:
3. Start up the PC side of the hostfs driver with the by running the command ./usbhostfs_pc
/usr/local/pspdev/psp/sdk/samples/gu/sprite. You should see a line saying it connected to the
device.


On Cygwin, went to the folder containing the program, ran the command and I get the short USBhostFS startup message. That is it. I type "drives" to check if my folder's listed. I figured I now had to leave the program so that I can go to the directory with pcterm in it, used in step 4. But I type "exit" and it says "Exiting" but it stays that way forever. Re-opening Cygwin didn't fix that. I couldn't even get Task Manager to shut down the program. As it was really slowing down the computer and using up most of my CPU, the best option I had was to reboot my computer.

I tried doing these steps again but the same problem happens. USBhostFS gets stuck on the exit after I give the command line with the file path.


Last edited by JustChris on Sun Oct 14, 2007 6:07 am; edited 1 time in total
Back to top
View user's profile Send private message
JustChris



Joined: 03 Nov 2005
Posts: 21

PostPosted: Sun Oct 14, 2007 6:06 am    Post subject: Reply with quote

Here's exactly what I did:

In the ini file, usbhost, usbshell and conshell are set to 1.
Started PSPlink. It says "host0:/> PSPLINK initialized".

Ran USBhostFS on Cygwin
Typed mount 0 (path/to/file)
Typed drives, and I see the path set to host0.
Typed exit. It says "Exiting", and I leave this window open for a few minutes. It won't exit. I can't type on the console shell anymore.

At this point, this is where my computer starts stalling, and pauses ever 10 seconds or so. Unable to force the process to stop, I have to restart my computer.
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