usbhostfs with vid 6472 (instead of 054c)

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

Moderators: cheriff, TyRaNiD

Post Reply
llam
Posts: 4
Joined: Sun Dec 31, 2006 2:30 am

usbhostfs with vid 6472 (instead of 054c)

Post by llam »

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.
swetland
Posts: 5
Joined: Sun Dec 31, 2006 3:06 am
Location: Mountain View, CA

Post by swetland »

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
llam
Posts: 4
Joined: Sun Dec 31, 2006 2:30 am

Post by llam »

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?
swetland
Posts: 5
Joined: Sun Dec 31, 2006 3:06 am
Location: Mountain View, CA

Post by swetland »

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

Brian
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

Try doing make BUILD_WIN32=1 which should pull in the local copies of libusb for cygwin.
llam
Posts: 4
Joined: Sun Dec 31, 2006 2:30 am

Post by llam »

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!
llam
Posts: 4
Joined: Sun Dec 31, 2006 2:30 am

Post by llam »

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
User avatar
harleyg
Posts: 123
Joined: Wed Oct 05, 2005 6:15 am

Post by harleyg »

I wonder what the iso/ folder is for... :)
pesadilla
Posts: 2
Joined: Tue Jan 09, 2007 12:15 am

and for linux?

Post by pesadilla »

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

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