psplinkusb under macosx: can't connect

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
paulotex
Posts: 19
Joined: Sun Jan 20, 2008 9:28 pm

psplinkusb under macosx: can't connect

Post by paulotex »

Hi:

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

Code: Select all

$ ./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):
$ ./pspsh
power
usbstats
(usbhostfs_pc acknowledges pspsh connnection with

Code: Select all

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.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

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

tag..
paulotex
Posts: 19
Joined: Sun Jan 20, 2008 9:28 pm

Post by paulotex »

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?
a_noob
Posts: 97
Joined: Sun Sep 17, 2006 8:33 am
Location: _start: jr 0xDEADBEEF

Post by a_noob »

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: Select all

.øOº'ºOø.
'ºOo.oOº'
paulotex
Posts: 19
Joined: Sun Jan 20, 2008 9:28 pm

Post by paulotex »

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!
Post Reply