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/usbhost problems

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



Joined: 26 Jun 2006
Posts: 275

PostPosted: Mon Jul 17, 2006 8:54 pm    Post subject: PspLink/usbhost problems Reply with quote

Hey, I've set it all up according to the manual, build all the required apps on the pc side (I'm using windows xp media centre edition if that makes any difference to drivers etc) but it just doesn't work.

Here's a cut and paste from the psplink thread, just hoping someone who doesn't check that thread has a solution, cos it's really hard doing any sort of debugging just using kxploit.

Quote:

Hmm, well I've set it all up according to the manual but it doesn't work.

Steps I took,

1) Install psplink on psp, set up ini file to use usb etc.

2) Run psplink on psp, am greeted with shell "host0\" etc so that appears to be fine.

3)On running windows made the 'device connected sound' and asked me for the drivers. I pointed it to the windows/driver folder and it installed PSP type B perfectly.

4) Then, following the manual I run usbhostfs_pc with an argument of the dir my elf is in.

This is where things start going wrong. There is no "Device connected" line as specified by the user manual.

But I try the next step anyway, in case usbhost has been updated.

6) Run pc term with no arguments.

This does nothing. no host0:\ line,. just a single line saying 'trying to connect to port 10000'
Shouldn't it be connecting via usb? or does the usb driver emulate ports etc?

And at this point there's nothing left to try.

Any help would be appreciated, I'm looking forward to quick dev times tools like psplink bring.

Here's my psplink ini file if it helps track down the problem.
Code:

# Example psplink configuration file.

# usbmass=[0 1] Enable USB mass storage. Set to 1 to enable automatically
usbmass=0

# usbhost=[0 1] Enable USB host file system. Set to 1 to enable automatically
usbhost=1

# pluser=[0 1] Enable the PSPLink user module
pluser=1

# resetonexit=[0 1] Specify wheher to reset psplink when sceKernelExitGame
# is called
resetonexit=1

# sioshell=[0 1] Specify whether to start up the sio shell
sioshell=0

# kprintf=[0 1] Specify that SIO should be used for kprintf only, setting sioshell
# to 1 overrides this setting.
kprintf=1

# wifi=[0..N] Specify wifi should be enabled, the number is the
# configuration to use if > 0
wifi=0

# wifishell=[0 1] Specify whether to start up the wifi shell
wifishell=0

# usbshell=[0 1] Specify whether to start up the usb shell
usbshell=1

# usbgdb=[0 1] Specify whether to use USB gdb or wifi gdb
usbgdb=1

# conshell=[0 1] Specify whether to start up the console shell
conshell=1

# consinterfere[0 1] Specifiy whether the consoleshell may interfere with
# programs in execution
consinterfere=0

# the commands that is run when buttons are pressed in the console shell
conscrosscmd=ld ms0:/sprite.elf
conssquarecmd=thlist
constrianglecmd=modlist
conscirclecmd=
consselectcmd=meminfo
consstartcmd=ls
consdowncmd=scrshot ms0:/scshot.bmp
consleftcmd=usbmoff
consrightcmd=usbmon
consupcmd=cop0

# prompt=... Set the psplink shell prompt
# There are some escape characters, mainly %d to print the current dir
prompt="%d> "

# path=... Set the psplink shell path
# Each path is separated by a semi-colon, you can specify up to around 128 characters
# path=ms0:/apps;ms0:/

# pcterm=[0 1] Indicates whether we are using pcterm as a client or normal
# tools
pcterm=0

# baud=[4800..115200] Set the SIO baud rate (should only use as a last resort)
# baud=115200

# modload=path Load a module on start up, repeat as necessary for more modules

# Example: load the modules for networking
# modload=flash0:/kd/ifhandle.prx
# modload=flash0:/kd/pspnet.prx
# modload=flash0:/kd/pspnet_inet.prx
# modload=flash0:/kd/pspnet_apctl.prx
# modload=flash0:/kd/pspnet_resolver.prx






Thanks
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Mon Jul 17, 2006 9:19 pm    Post subject: Reply with quote

Just tried wifi shell and psplinks says it could connect to the access point. Do I have to do anything special on my router like set up port forwarding etc?
The wierd thing is, the psp's wifi led never comes on, so I'm not even sure if it tried to connect.
I've tested my wifi connection settings and the psp system menu can connect without problem. 100% signal strength.
Any ideas?
Edit- Fixed by changing it to connection number 2, even though i only have one connection setting. Just thought the author would like to know of the bug.
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Mon Jul 17, 2006 10:38 pm    Post subject: Reply with quote

Ok i have wifi working fine with putty. i type a command and it runs it on the psp, but I'm a little confused about something. Does wifi have a host file system or do I have to manually copy my files to memory card using the usb connection screen?
I copied a elf to the putty folder and typed run "host:lesson2.elf" but it just said invalid filename
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Tue Jul 18, 2006 2:11 am    Post subject: Reply with quote

Fixed the connection problem by copying over the cygwin defualt usb.h with the one from the svn, it now connects to the psp device, But and it's a big one, it then completely locks up usb on the pc, I can't connect to the psp using standard usb, it blocks wifi/pcterm access and I have to do an hard boot of the pc.
Any ideas why?
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