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 

usbhostfs with vid 6472 (instead of 054c)

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



Joined: 31 Dec 2006
Posts: 4

PostPosted: Sun Dec 31, 2006 2:48 am    Post subject: usbhostfs with vid 6472 (instead of 054c) Reply with quote

Hi, I tried to use usbhostfs to play image thru usb. with my custom firmware, it connect to my pc as VEN_6472 instead of VEN_054C. I have successfully install the driver by modifying the driver inf file. However, usbhostfs fails to talk to the device as it has been hardcode to work with VEN_054C. I have looked into the source and found that usbhostfs.h define the ven id.

#define SONY_VID (0x54C)

My question is:

1. Can i change it to #define SONY_VID (0x6472) so that it can work with my firmware?

2. How do I compile this? Is there any detail instruction for newbie?

3. Can someone simply compile and upload it so that I can give it a try?

Thanks! I took me quite sometime to narrow the problem down to the ven id. I hope that it can work out ok.
Back to top
View user's profile Send private message
swetland



Joined: 31 Dec 2006
Posts: 5
Location: Mountain View, CA

PostPosted: Sun Dec 31, 2006 3:34 am    Post subject: Reply with quote

Yup, that'll work. I assume you've got a TA-082 unit that you downgraded? It seems that the idstorage hack that allows TA-082 downgrading clobbers the USB VID and strings. I've successfully run a modified usbhostfs_pc against such a PSP and it worked fine.

Brian
Back to top
View user's profile Send private message
llam



Joined: 31 Dec 2006
Posts: 4

PostPosted: Sun Dec 31, 2006 6:12 am    Post subject: Reply with quote

good to hear that it will work. however, i have never compiled a thing in cygwin before. what packages do i need? I tried a bit and it asked about usb.h. can you enlighten me on this?
Back to top
View user's profile Send private message
swetland



Joined: 31 Dec 2006
Posts: 5
Location: Mountain View, CA

PostPosted: Sun Dec 31, 2006 6:33 am    Post subject: Reply with quote

I only do development on linux, so I probably won't be much help. At a guess, I think you're missing libusb.

Brian
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sun Dec 31, 2006 6:55 am    Post subject: Reply with quote

Try doing make BUILD_WIN32=1 which should pull in the local copies of libusb for cygwin.
Back to top
View user's profile Send private message
llam



Joined: 31 Dec 2006
Posts: 4

PostPosted: Sun Dec 31, 2006 8:12 pm    Post subject: Reply with quote

YES! I got it compiled!! work perfectly! Thanks swetland. yes, i was missing the libusb package. after adding it into the cygwin system, it compile usbhostfs without any error. Again, thanks!
Back to top
View user's profile Send private message
llam



Joined: 31 Dec 2006
Posts: 4

PostPosted: Fri Jan 05, 2007 1:48 am    Post subject: Reply with quote

Please follow the link for the mod usbhostfs (and the driver files) if you are interested.

http://jonspage.org/PSP/usbhostfs_PC_TA_082_Win.rar

Thanks to joeshmoe for hosting the file. Happy PSPing
Back to top
View user's profile Send private message
harleyg



Joined: 05 Oct 2005
Posts: 123

PostPosted: Fri Jan 05, 2007 1:55 am    Post subject: Reply with quote

I wonder what the iso/ folder is for... :)
Back to top
View user's profile Send private message
pesadilla



Joined: 09 Jan 2007
Posts: 2

PostPosted: Tue Jan 09, 2007 12:31 am    Post subject: and for linux? Reply with quote

i'm trying use usbhostfs with Linux and TA-082 (in Windows works fine with another .rar), any have a packag to psplink and ta-082?

thanks

Code:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  9 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=6472 ProdID=01c9 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
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