| View previous topic :: View next topic |
| Author |
Message |
llam
Joined: 31 Dec 2006 Posts: 4
|
Posted: Sun Dec 31, 2006 2:48 am Post subject: usbhostfs with vid 6472 (instead of 054c) |
|
|
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 |
|
 |
swetland
Joined: 31 Dec 2006 Posts: 5 Location: Mountain View, CA
|
Posted: Sun Dec 31, 2006 3:34 am Post subject: |
|
|
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 |
|
 |
llam
Joined: 31 Dec 2006 Posts: 4
|
Posted: Sun Dec 31, 2006 6:12 am Post subject: |
|
|
| 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 |
|
 |
swetland
Joined: 31 Dec 2006 Posts: 5 Location: Mountain View, CA
|
Posted: Sun Dec 31, 2006 6:33 am Post subject: |
|
|
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 |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sun Dec 31, 2006 6:55 am Post subject: |
|
|
| Try doing make BUILD_WIN32=1 which should pull in the local copies of libusb for cygwin. |
|
| Back to top |
|
 |
llam
Joined: 31 Dec 2006 Posts: 4
|
Posted: Sun Dec 31, 2006 8:12 pm Post subject: |
|
|
| 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 |
|
 |
llam
Joined: 31 Dec 2006 Posts: 4
|
|
| Back to top |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Fri Jan 05, 2007 1:55 am Post subject: |
|
|
| I wonder what the iso/ folder is for... :) |
|
| Back to top |
|
 |
pesadilla
Joined: 09 Jan 2007 Posts: 2
|
Posted: Tue Jan 09, 2007 12:31 am Post subject: and for linux? |
|
|
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 |
|
 |
|