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 

psplinkusb under macosx: can't connect

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



Joined: 20 Jan 2008
Posts: 19

PostPosted: Wed Sep 24, 2008 8:36 pm    Post subject: psplinkusb under macosx: can't connect Reply with quote

Hi:

I'm having problems using psplinkusb under macosx. The program ./usbhostfs_pc -vv says:

Code:
$ ./usbhostfs_pc -vvv
USBHostFS (c) TyRaNiD 2k6
Built Sep 24 2008 11:16:14 - $Revision: 2368 $
Root directory: /Volumes/Extra/Users/paulo/Documents/PSP/Devel/psptoolchain/build/psplinkusb/release_oe/pc/usbhostfs_pc
Connected to device
Bulk Write dev 0x2037e0, ep 0x2, bytes 0xbffff3ac, size 4, timeout 1000
Bulk Write returned 4
Bulk Read dev 0x2037e0, ep 0x81, bytes 0xbffff1ac, size 512, timeout 0
Bulk Read returned 0
Read cancelled (remote disconnected)
Connected to device
Bulk Write dev 0x204850, ep 0x2, bytes 0xbffff3ac, size 4, timeout 1000
Bulk Write returned 0
Connected to device
Bulk Write dev 0x203290, ep 0x2, bytes 0xbffff3ac, size 4, timeout 1000
Bulk Write returned 0
... repeat forever with address changing all the time ...


Then pspsh runs but shows no prompt and no output (except for the help):
Quote:
$ ./pspsh
power
usbstats

(usbhostfs_pc acknowledges pspsh connnection with
Code:
Accepting async connection (0) from 127.0.0.1
Accepting async connection (2) from 127.0.0.1
Accepting async connection (3) from 127.0.0.1
)

Notice how usbhostfs_pc is able to write 4 byte in the beginning, but it gets no answer.

I have the latest pspsdk & latest stable libusb (0.1.12).

Any suggestions? I notice that psplink_oe has PSP_FW_VERSION=271. Should I change it to 390 (or even 401) instead?

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



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Sep 24, 2008 8:44 pm    Post subject: Reply with quote

Use the -g tag at the end of the usbhostfs thing

tag..
Back to top
View user's profile Send private message AIM Address
paulotex



Joined: 20 Jan 2008
Posts: 19

PostPosted: Thu Sep 25, 2008 5:28 am    Post subject: Reply with quote

Thanks for answering so fast! I'm not sure what you mean, though. If you mean to use the option, like:
usbhostfs_pc -g
than it didn't work, got the same behaviour :(

Any more ideas?
Back to top
View user's profile Send private message
a_noob



Joined: 17 Sep 2006
Posts: 97
Location: _start: jr 0xDEADBEEF

PostPosted: Thu Sep 25, 2008 7:55 am    Post subject: Reply with quote

all works fine fore me

all I do is ./usbhostfs_pc and then pspsh

make sure u installed this libusb http://www.ellert.se/twain-sane/
_________________
Code:
.øOº'ºOø.
'ºOo.oOº'
Back to top
View user's profile Send private message AIM Address MSN Messenger
paulotex



Joined: 20 Jan 2008
Posts: 19

PostPosted: Thu Sep 25, 2008 4:16 pm    Post subject: Reply with quote

a_noob wrote:
make sure u installed this libusb http://www.ellert.se/twain-sane/

That was the solution, thanks! I was using a libusb compiled by me. Don't know why it was not working, but the version you pointed to works fine. Thanks a lot!
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