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 

MinPSPW needs help (libusb native port)

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



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Sat Jun 19, 2010 6:50 pm    Post subject: MinPSPW needs help (libusb native port) Reply with quote

Hi everyone,

For a long while I've been preparing the 0.9.6 release of minpspw SDK, the packaged build of the homebrew SDK plus plenty of dev libraries to use on windows, solaris and linux.

I have lots of new things coming up in this release but there is one that is giving me some trouble: psplinkusb_pc

I've already a test patch:
http://minpspw.svn.sourceforge.net/viewvc/minpspw/trunk/mingw/patches/psplinkusb-MINPSPW.patch?view=markup&pathrev=149

Where i made pspsh independent of cygwin on windows (so it builds as a native win32 app) and the same for remotejoy pcsdl. However porting the server app turned out to be more complicated with the USB stuff and posix scandir functions.

I would like to ask to the community some help to port it to a native app so we can fix the problem with libusb-win32 on windows vista, 7.

A good start for this would be the use of this project:

http://jjs.at/software/lwbridge.html

Once we manage to get a patch that makes the apps portable lets just merge to the main ps2dev svn reppo so everyone can benefit!!!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sun Jun 20, 2010 9:44 pm    Post subject: Reply with quote

I did have most of the way with a mingw port at one point but I found issues with posix threads making the thing not really work at all for some reason, that could have been libusb/cygwin getting in the way though.

I do now have a version of usbhostfs_pc which can be used directly against winusb thereby removing libusb dependency completely but I would have to be bothered to release it.
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Mon Jun 21, 2010 4:00 am    Post subject: Reply with quote

For remotejoy and pspsh, i've created a compat layer that allows posix sockets and winsock to work together. I've a native pthreads and sdl builds and for remotejoy i output text using win msgbox. I think that i can try to port all network code to this compat layer and merge your usb code later on
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Mon Jun 21, 2010 10:55 am    Post subject: Reply with quote

Could be an idea, I could provide the patches for the normal code to add the winusb stuff as well as providing a pre-configured driver pack which will work across all windows versions in theory (though haven't tested it against XP).
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