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

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

 



Hi,

On Sat, May 20, 2017 at 12:13 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> 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, it probes
> _twice_: once to see if an SD card is present and once to see if a
> MemoryStick card is present).  Each probe (or pair of probes) causes a
> resume followed by a suspend.
>
> The way to prevent all those resumes and suspends -- if that's what you
> want to do -- is to disable autosuspend for the card reader.  The best
> way to do this depends on your system, but
>
>         echo on >/sys/bus/usb/devices/2-1.1/power/control
>
> should work.

So in order to detect SD card under runtime PM, it's a perfectly
normal behavior, right?

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.

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