On 08/09/2013 09:59 AM, Tom Schouten wrote:
On 08/09/2013 09:06 AM, Peter Stuge wrote:
So basically, I would add another interface to the USB firmware, which then can be claimed by a different process.
You can do control requests without having claimed any interface.
This seems to be the case only if an interface on the device is not claimed already.
dev = find(idVendor=0x03eb, idProduct=0x6129) dh = dev.open() dh.controlMsg(1,1,[0,0,0,0]) # no error when CCID interface is not claimed, busy otherwise
ha! it depends on bmRequestType (9.3.1 in usb11.pdf)
a VENDOR request (bmRequestType = 0xC0) does make it through to the firmware, while STANDARD requests seem to be limited.
so to make it work on windows, I guess these then should be INTERFACE instead of DEVICE requests?