PSPLink won't connect to usbhostfs_pc on Mac OS X

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

Moderators: cheriff, TyRaNiD

Post Reply
bulb
Posts: 50
Joined: Thu Jan 19, 2006 10:59 pm

PSPLink won't connect to usbhostfs_pc on Mac OS X

Post by bulb »

I have the latest toolchain/psplink, libusb 0.1.12 (via Macports), OE-3.30 and Mac OS X.

If I type "sudo usbhostfs_pc -g -v" I get the following output:

USBHostFS (c) TyRaNiD 2k6
Built Sep 8 2007 17:08:05 - $Revision: 2300 $
Connected to device
Connected to device
Connected to device
Connected to device
Connected to device
Connected to device

The "Connected to device" messages keeps scrolling, unless I run pspsh in another Terminal window, these three lines come up:

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

And the "Connected to device" messages keeps scrolling after that, while pspsh isn't working.

If I set timeout to usbhostfs_pc to 1000 or more, I can use pspsh for few seconds, then it freezes and "Connected to device" keeps scrolling again.

Any idea what the issue might be?

Thanks,
B
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Re: PSPLink won't connect to usbhostfs_pc on Mac OS X

Post by Wally »

bulb wrote:I have the latest toolchain/psplink, libusb 0.1.12 (via Macports), OE-3.30 and Mac OS X.

If I type "sudo usbhostfs_pc -g -v" I get the following output:

USBHostFS (c) TyRaNiD 2k6
Built Sep 8 2007 17:08:05 - $Revision: 2300 $
Connected to device
Connected to device
Connected to device
Connected to device
Connected to device
Connected to device

The "Connected to device" messages keeps scrolling, unless I run pspsh in another Terminal window, these three lines come up:

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

And the "Connected to device" messages keeps scrolling after that, while pspsh isn't working.

If I set timeout to usbhostfs_pc to 1000 or more, I can use pspsh for few seconds, then it freezes and "Connected to device" keeps scrolling again.

Any idea what the issue might be?

Thanks,
B
Any reason you are using -v (im assuming thats verbose mode which continously outputs results)

You only need to do sudo usbhostfs_pc -g no more no less
bulb
Posts: 50
Joined: Thu Jan 19, 2006 10:59 pm

Post by bulb »

I believe verbose outputs "Accepting async connection" messages, while the horde of "Connected to device" messages always fills the terminal window, even if I execute usbhostfs_pc without any options.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

try updating to 3.40OE, might also be the problem
bulb
Posts: 50
Joined: Thu Jan 19, 2006 10:59 pm

Post by bulb »

Are you sure? I hate updating firmware of PSP... Seems strange, because everything else runs fine on the PSP side.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

hmm :/

not sure then
BlackDiamond
Posts: 16
Joined: Sat Jul 02, 2005 7:31 pm
Location: Paris, FRANCE

Post by BlackDiamond »

IIRC, it's a libusb problem, there is (was) a patched version for Mac OS X floating around.
bulb
Posts: 50
Joined: Thu Jan 19, 2006 10:59 pm

Post by bulb »

Yes, it is. After a chat with Tyranid on IRC I have found out that MacPorts uses buggy libusb. Everything works now and life is beautiful. :)
Post Reply