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

2017-05-25 Thread Kai-Heng Feng
On Fri, May 26, 2017 at 1:01 AM, Alan Stern wrote: > On Thu, 25 May 2017, Kai-Heng Feng wrote: > >> > My mistake; we need to see the information from "lspci -vv -s 00:12.0" >> > with two "v"'s, not just one. >> >> Before wakeup: >> 00:12.0 USB controller: Advanced Micro

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

2017-05-25 Thread Alan Stern
On Thu, 25 May 2017, Kai-Heng Feng wrote: > > My mistake; we need to see the information from "lspci -vv -s 00:12.0" > > with two "v"'s, not just one. > > Before wakeup: > 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB > EHCI Controller (rev 39) (prog-if 20 [EHCI]) >

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

2017-05-25 Thread Kai-Heng Feng
On Wed, May 24, 2017 at 11:34 PM, Alan Stern wrote: > On Wed, 24 May 2017, Kai-Heng Feng wrote: > >> On Wed, May 24, 2017 at 12:43 AM, Alan Stern >> wrote: >> >> >> >> Output of `cat /sys/kernel/debug/usb/usbmon/1u`: >> >> Runtime PM

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

2017-05-24 Thread Alan Stern
On Wed, 24 May 2017, Kai-Heng Feng wrote: > On Wed, May 24, 2017 at 12:43 AM, Alan Stern > wrote: > >> > >> 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

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

2017-05-24 Thread Kai-Heng Feng
On Wed, May 24, 2017 at 12:43 AM, Alan Stern wrote: >> >> 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,

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

2017-05-23 Thread Alan Stern
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

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

2017-05-23 Thread Kai-Heng Feng
On Tue, May 23, 2017 at 3:21 AM, Alan Stern wrote: > On Mon, 22 May 2017, Kai-Heng Feng wrote: > >> So in order to detect SD card under runtime PM, it's a perfectly >> normal behavior, right? > > Yes. Thanks for the info. > >> Sorry for not explaining the original

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

2017-05-22 Thread Alan Stern
On Mon, 22 May 2017, Kai-Heng Feng wrote: > So in order to detect SD card under runtime PM, it's a perfectly > normal behavior, right? Yes. > 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

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

2017-05-21 Thread Kai-Heng Feng
Hi, On Sat, May 20, 2017 at 12:13 AM, Alan Stern wrote: [snip] > > Your log shows that the 2-1.1 device is a USB2.0-CRW card reader, and > it uses the rtsx_usb driver. This driver probes the reader every few > seconds to see whether a card has been inserted (actually,

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

2017-05-19 Thread Alan Stern
On Fri, 19 May 2017, Kai-Heng Feng wrote: > Hi, > > This issue happens on Carrizo AMD laptops, only EHCI is affected, XHCI > works fine on the same machine. > > I can see lots of USB wakeup and resume messages showed every two seconds. > Plug USB devices to the EHCI port does not change

Runtime PM enabled EHCI does not respond to device plugging.

2017-05-18 Thread Kai-Heng Feng
Hi, This issue happens on Carrizo AMD laptops, only EHCI is affected, XHCI works fine on the same machine. I can see lots of USB wakeup and resume messages showed every two seconds. Plug USB devices to the EHCI port does not change anything. dmesg with ehci-hcd, ehci-pci and usbcore dynamic