[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb-hub: set PORT_STAT_C_SUSPEND on host-initia
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] usb-hub: set PORT_STAT_C_SUSPEND on host-initiated wake-up |
Date: |
Mon, 29 May 2017 14:20:26 +0200 |
On Mon, 2017-05-22 at 14:33 +0200, Ladi Prosek wrote:
> PORT_STAT_C_SUSPEND should be set even on host-initiated wake-up,
> i.e. on ClearPortFeature(PORT_SUSPEND). Windows is known to not
> work properly otherwise.
>
> Side note, since PORT_ENABLE looks similar and might appear to
> have the same issue: According to 11.24.2.7.2.2 C_PORT_ENABLE:
>
> "This bit is set when the PORT_ENABLE bit changes from one to
> zero as a result of a Port Error condition (see Section 11.8.1).
> This bit is not set on any other changes to PORT_ENABLE."
>
> Signed-off-by: Ladi Prosek <address@hidden>
Added to usb queue.
thanks,
Gerd