Richard Bryan
2014-11-11 17:22:19 UTC
I'm frequently running into an "Access Denied (insufficient permissions)"
errors on Windows 7 (with libusb1 backend) during long-running usb sessions
with a device. When this happens, I call reset() and dispose_resources()
on the usb handle and then attempt to reenumerate it using usb.core.find(),
but the Access Denied error keeps occurring until I unplug and replug the
device. Restarting the program alone doesnt fix it.
I have a multithreaded program, but interaction with pyusb is only ever
done in the same, single thread.
Anyone have any ideas what's going on? Or is this something I should ask
the libusb list about?
Richard
errors on Windows 7 (with libusb1 backend) during long-running usb sessions
with a device. When this happens, I call reset() and dispose_resources()
on the usb handle and then attempt to reenumerate it using usb.core.find(),
but the Access Denied error keeps occurring until I unplug and replug the
device. Restarting the program alone doesnt fix it.
I have a multithreaded program, but interaction with pyusb is only ever
done in the same, single thread.
Anyone have any ideas what's going on? Or is this something I should ask
the libusb list about?
Richard