Hi,
> After I add usb_wake like this in the function usb_hub_detach. the
> problem can be fixed.
>
> static void usb_hub_detach(USBPort *port1)
> {
> USBHubState *s = port1->opaque;
> USBHubPort *port = &s->ports[port1->index];
>
> usb_wakeup(&s->dev);
> ---
On 11/01/2011 10:56 PM, Gerd Hoffmann wrote:
When attaching a new device we must send a wakeup request to the root
hub, otherwise the guest will not notice the new device in case the
usb hub is suspended.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hub.c |1 +
1 files changed, 1 insertions(+)
On 11/03/2011 04:41 PM, Gerd Hoffmann wrote:
On 11/03/11 07:01, hkran wrote:
On 11/02/2011 08:56 PM, Gerd Hoffmann wrote:
Hi,
static void usb_hub_detach(USBPort *port1)
pulled, In what cases, the usb hub will be suspended? and how to tell it
happened? thanks.
The guest enables the r
On 11/03/11 07:01, hkran wrote:
> On 11/02/2011 08:56 PM, Gerd Hoffmann wrote:
>>Hi,
>>
static void usb_hub_detach(USBPort *port1)
>>> pulled, In what cases, the usb hub will be suspended? and how to tell it
>>> happened? thanks.
>> The guest enables the remote-wakeup feature. 'lspci -
On 11/02/2011 08:56 PM, Gerd Hoffmann wrote:
Hi,
static void usb_hub_detach(USBPort *port1)
pulled, In what cases, the usb hub will be suspended? and how to tell it
happened? thanks.
The guest enables the remote-wakeup feature. 'lspci -v' (within the
guest) shows it.
cheers,
Gerd
Hi,
>> static void usb_hub_detach(USBPort *port1)
> pulled, In what cases, the usb hub will be suspended? and how to tell it
> happened? thanks.
The guest enables the remote-wakeup feature. 'lspci -v' (within the
guest) shows it.
cheers,
Gerd
On 11/01/2011 10:56 PM, Gerd Hoffmann wrote:
When attaching a new device we must send a wakeup request to the root
hub, otherwise the guest will not notice the new device in case the
usb hub is suspended.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hub.c |1 +
1 files changed, 1 insertions(+)
When attaching a new device we must send a wakeup request to the root
hub, otherwise the guest will not notice the new device in case the
usb hub is suspended.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hub.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/usb-hub.c b/hw