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 

USB mass question

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



Joined: 01 Feb 2008
Posts: 89

PostPosted: Wed Jan 07, 2009 11:10 pm    Post subject: USB mass question Reply with quote

I am developing a little program, and it will need USB mass support.
I was going to add the usb_mass.irx module, to read dir file names, etc, but I found the usbhdfsd.irx and its source, and looks like it's a new version of the usb_mass driver, but it has no usage sample, and no EE imports, so where can I found a code to help me to use the usbhdfsd.irx instead of usa_mass.irx?
The readme says:
"This project is based directly off the original "USB_MASS" project. I've removed the PC testing stuff like VFAT, etc
and some of the debugging things. I've also removed the RPC server. In addition I split some files up into
more files and renamed other files."
So it means that I can't use the mass_rpc.h from the sample if I use the usbhdfsd.irx?

Since now, thanks!
Back to top
View user's profile Send private message
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Thu Jan 08, 2009 9:04 am    Post subject: Reply with quote

usbhdfsd.irx is the newer version of usb_mass.irx. It had the rpc stuff stripped out of it though as it wasnt necessary. You can get directory listings using the normal method ie fioDopen("mass:/") and friends.
Back to top
View user's profile Send private message
methos3



Joined: 01 Feb 2008
Posts: 89

PostPosted: Fri Jan 09, 2009 5:10 am    Post subject: Reply with quote

Mmm...
Thanks, man!
I didn't know about the fioDread family functions.
It's very easy to use them, so this is why the rpc server for exporting the functions was removed.
I will use the usbhdfsd with my program, then, it's already listing cdvd files with no prob, and now will work with mass drives too.

Cya!
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 -> PS2 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