On 2012.06.26 10:39, Timotei Dolean wrote:
> It seems from the comments that WinUSB has some issues setting the
> configuration?

Please see 
http://sourceforge.net/apps/mediawiki/libusbx/index.php?title=Windows#Known_Restrictions:
"WinUSB cannot be used to set a device configuration that is different 
from the default one."

This is a limitation of Microsoft's WinUSB driver, as documented at
http://msdn.microsoft.com/en-us/library/windows/hardware/ff537060%28v=vs.85%29.aspx:
"WinUSB supports only the first configuration."

Note that we are in the process to integrate support for other drivers 
than WinUSB, that shouldn't have such a limitations.

> If I force the code to follow the else branch (by removing the if), I
> get it working further but in the end I would get it stopped on trying
> to claim some interfaces.

There was a patch submitted recently to at least allow the sending of 
the set configuration request even when using WinUSB, in case there was 
some use on the device side for such a message. We plan to look into 
adding such a feature when we add support for the other drivers.

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

Reply via email to