greatscottgadgets / facedancer

Implement your own USB device in Python, supported by a hardware peripheral such as Cynthion or GreatFET
BSD 3-Clause "New" or "Revised" License
785 stars 119 forks source link

usbproxy: auto-detach kernel drivers #104

Closed mossmann closed 3 months ago

mossmann commented 3 months ago

This is simpler than detaching each interface separately, especially since kernel drivers must be detached from all interfaces before any interface can be claimed.

Also always claim interfaces, even if not detaching.