mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-08 04:43:59 +02:00
call detach_kernel_driver to make endpoints available for raw read/write
This commit is contained in:
parent
c43e3a3bda
commit
a690b0b8f1
2 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@ import time
|
|||
|
||||
usbdev = usb.core.find(idVendor = 0x1fc9, idProduct = 0x1337)
|
||||
|
||||
usbdev.detach_kernel_driver(0)
|
||||
|
||||
usbdev.set_configuration()
|
||||
|
||||
epo = usb.util.find_descriptor(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue