On 2012.06.29 10:14, Jach Fong wrote: > The xusb.exe in released 1.0.12 also have the same result. > > I think the problem mostly was caused by my device. It is a device > I had built years ago using Silabs' F8051F320 and their Development tool > Version 2.2 with included HID example source.
Aha, so it is a custom device... > Today I use three utilities(HIDTest.exe, SimpleHIWrite.exe and > USBDeview.exe) to check my device. The first two were hung when their > "Device Info" or "Info" button was pressed, and has to force to close. > The third one works normally but I think it is because it didn't touch > the configuration descriptor. > > Also use the "Advanced USB port monitor" to check. The device was > listed as "disconnected"? By double clicks it, a info window pop out > shows the Device descriptor and Endpoint descriptor, but no > Configuration and Interface descriptors in it. > > It's my device's problem, have to figure it out. But some hints from you > experts should be helpful:-) I think it'll be hard to provide advice when this looks like a custom firmware issue. My take on this is that your device appears to be announcing that it has a configuration descriptor available to read, but your HID custom firmware is unable to serve it properly (no reply? truncated data?...) The first thing I'd look into then is what happens on the bus, with an USB bus analyser. Logically, you should see a problem when the request to read the configuration descriptor is issued, and that should gives you a better idea of what happens. Xiaofan recently pointed out some of the options you had to check bus traces on Windows at http://sourceforge.net/mailarchive/message.php?msg_id=29399468. Now the WinUSB trace log won't help you much since your device is HID, but since you're on XP usbsnoop/Snoopy Pro should work quite well. Also, if you have access to a Windows 7 platform, you can also use NetMon to obtain a comprehensive USB trace there too (see http://pete.akeo.ie/2011/03/troubleshooting-usb-device-development.html for details). Regards, /Pete ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel