On 2012.07.16 19:29, John Chen wrote: > Yes, you are right, this is a custom device
OK. > do you know what I should do to map > the DeviceIoControl to libusb_control_transfer in this case? The purpose of libusb/libusbx is to abstract OS dependent calls, so it is not possible to mix OS specific calls with libusb/libusbx ones. Hopefully, we can figure out why the libusb/libusbx call fails and help you gain access to the device > BTW , the output from xusb is as following: > > C:\Downloads\libusbx-1.0.12-win\examples\bin64>xusb -d 8086:1138 > Using libusbx v1.0.12.10532 Good, it seems to fail in the same way. > [ 0.310062] [000009c0] libusbx: debug [get_api_type] driver(s): WUDFRD > [ 0.311062] [000009c0] libusbx: debug [get_api_type] lower filter > driver(s): WINUSB > [ 0.311562] [000009c0] libusbx: debug [get_api_type] matched lower > filter driver name against WinUSB API > [ 0.312562] [000009c0] libusbx: debug [windows_get_device_list] found > existing device for session [C5] (6.1) As Tim pointed out, you seem to be using WinUSB as a filter driver. This may explain a few things (and I don't recall seeing that mentioned in your previous log). I don't recall WinUSB as a filter driver was extensively tested since it was added, almost 2 years ago. At least I don't remember running any more tests with WinUSB as a filter driver since then. For the time being, is there any way you could uninstall the filter driver and then replace the WUDFRD with WinUSB? I'll try to find out if filter driver support for WinUSB may have been broken in the past 2 years, but this may take some time. 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