Open skalk opened 2 days ago
@cnuke I've extended your commit regarding alternate setting consideration within the usb session utilities. In commit 4792c93 you'll find your initial change plus an adaption of the libusb. I did not want to split that commit, thereby it has your authorship. I hope you're fine with it?!
@skalk thanks for addressing the issue thoroughly.
I did not want to split that commit, thereby it has your authorship. I hope you're fine with it?!
I don't mind but I guess in 10 years time I might look back at the commit and will be somewhat puzzeld ;-).
When detecting the endpoints of an interface, we need to consider, which alternate setting was chosen. Otherwise endpoints might be used, which are not available if the alternate setting is active. This issue was initially reported and partly fixed by @cnuke within issue #5371.