Re: Runtime PM enabled EHCI does not respond to device plugging.

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

 



On Tue, 23 May 2017, Kai-Heng Feng wrote:

> >> Sorry for not explaining the original question well enough - the real
> >> problem is that after enabling runtime PM on EHCI, the two physical
> >> ports on the right side of the laptop no longer response to any
> >> device, e.g. an USB storage or an USB mouse.
> >
> > Please collect two usbmon traces: one with runtime PM disabled and one
> > with runtime PM enabled.  For each trace, start with nothing plugged
> > into the right-side ports.  Then after the trace has been running for a
> > second or two, plug in a device.  Stop the trace a couple of seconds
> > after that.
> 
> Output of `cat /sys/kernel/debug/usb/usbmon/1u`:
> Runtime PM disabled as attachment.

When you say "runtime PM disabled", you mean that it is disabled for 
the EHCI controller but enabled for other devices, right?

> It's empty when runtime PM is enabled.

And nothing shows up in the dmesg log either?  This suggests that the
PME signal isn't working properly.

Try doing this: With runtime PM enabled, plug in a device.  When 
nothing happens, do:

	lspci -v -s 00:12.0

The output should show whether the controller is sending a wakeup 
signal.  Does it cause the device to be detected?

If it doesn't, run lsusb.  That definitely should wake up the 
controller and cause the device to be detected.  Then run the lspci 
command again.  Let's see what the output from these commands shows.

Alan Stern

--
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