Re: Difference between run time and normal suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi alan:
>
> Firstly, you should realize that a hub port can be put into suspend
> _only_ if a device is plugged into it.  If nothing is plugged into a
> port then the port cannot be put into suspend.
>
> Secondly, you should realize that putting a USB device into suspend
> means the same thing as suspending the hub port the device is plugged
> into.
>
> Thirdly, you should realize therefore that if _all_ the devices
> attached to the host controller are in runtime suspend, then all the
> connected ports must be suspended.  (And none of the disconnected ports
> can be suspended, since it is impossible to suspend a disconnected
> port.)
Is 3rd situation you mentioned above the function will be called is
hcd->bus_suspend?

>
> Fourthly, you should realize that "controller itself will also be put
> into runtime suspend" means the controller itself will be put into
> runtime suspend.
is 4th situation you mentioned above the function will be called is
ehci_suspend, (take ehci for example)?
but ehci_supend is called when system is going to suspend/hibernate,
or it will be called even in runtime suspend?

BTW, when I turn off the led on the keyboard, the keyboard can
successfully go to runtime suspend.
Would you mind to let us know how you find out the problem from mon files?
Is it due there is no remote wake control message on the mon file?

Sincerely appreciate your kind help,
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux