On Thu, Jul 11, 2024 at 10:59:56AM +0200, Oliver Neukum wrote:
I am sorry, but this implementation has some fundamental issues.
Agreed, but the solution is pretty simple. Because the device was
suspended, the userspace driver must have enabled suspend via the
USBDEVFS_ALLOW_SUSPEND ioctl.