Re: [PATCH next] usb: usbfs: Add reset_resume for usbfs

From: Oliver Neukum
Date: Mon Jul 15 2024 - 04:53:29 EST




On 11.07.24 16:41, Alan Stern wrote:
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.

The whole system could have been suspended, in particularly to S4.

Regards
Oliver