First item of business: Thanks. Looks great.

UI've got a custom USB bulk device (Blackfin based with my own firmware 
for what it's worth). Used Zadig to install WinUSB drivers on W7x64. The 
DDK USBView shows the device connected with EP In 0x85 and EP Out 0x06. 
Device Manager confirms drivers all installed correctly.

I run xdev face:feed (our VID/PID) and all device info gets reported 
correctly.

I then do the following (error checking omitted):

libusb_device_handle* handle = 
libusb_open_device_with_vid_pid(NULL,VID,PID);
libusb_set_configuration(handle,1);
libusb_claim_interface(handle,0);
libusb_bulk_transfer(handle,EP_OUT,(unsigned char*)&usbcb, 
sizeof(usbcb),&written, 5000);

When libusb_open_device is called the console displays this error message:

[ 4.425253] [000025f0] libusbx: error [cache_config_descriptors] could 
not access
configuration descriptor (dummy) for 
'\\.\USB#VID_05E3&PID_0608#8&85A6673&0&4'
: [31] A device attached to the system is not functioning.

Can anyone tell me why? Is this caused during device inspection/inquiry 
or what?

Many thanks

Jerry.





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

Reply via email to