facedancer
facedancer copied to clipboard
Add set_interface/get_interface
Linux USB printer driver always sends set_interface even when there is only one and no alternate.
0x01, // bmRequestType: Dir: H2D, Type: Standard, Recipient: Interface
0x0B, // bRequest (Set Interface)
0x00, 0x00, // wValue Alt Setting: 0
0x00, 0x00, // wIndex Interface: 0
0x00, 0x00, // wLength = 0
Sorry for the delay @gdsports. This looks good, but I'm curious if you have a test case for something this fix applies to?