Re: xhci_hcd can't detect new devices after enabling runtime PM and disabling S3 wake (bug #85701)

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

 



On Thu, 16 Oct 2014, Lu, Baolu wrote:

> 
> On 10/15/2014 6:07 PM, Dmitry Nezhevenko wrote:
> > On Sat, Oct 11, 2014 at 03:51:47PM +0800, Lu, Baolu wrote:
> >> Hi Dmitry,
> >>
> >> Can you please try to disable wakeup of root hub instead of host controller?
> >>
> > Hi,
> >
> > Sorry for delay. Can you please suggest how to do this?
> 
> I always do this with below steps. "lsusb -t" on my machine prints
> 
> allen@allen-ivb:/sys/bus/pci/devices/0000:00:14.0/usb3$ lsusb -t
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
>      |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 12M
>          |__ Port 1: Dev 3, If 0, Class=Human Interface Device, 
> Driver=usbhid, 12M
>          |__ Port 1: Dev 3, If 1, Class=Human Interface Device, 
> Driver=usbhid, 12M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
>      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
>          |__ Port 5: Dev 3, If 0, Class=Human Interface Device, 
> Driver=usbhid, 1.5M
>          |__ Port 6: Dev 4, If 0, Class=Human Interface Device, 
> Driver=usbhid, 1.5M
>          |__ Port 6: Dev 4, If 1, Class=Human Interface Device, 
> Driver=usbhid, 1.5M
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
>      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
> 
> I want to disable remote wake up of xHC USB2 root hub (/:  Bus 03.Port 
> 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M).
> 
> Find the sys device path of the host controller. (You might need to use 
> lspci to get the bus/dev/fun of your xHC).
> 
> On my machine, it's /sys/bus/pci/devices/0000:00:14.0.
> 
> root@allen-ivb:/sys/devices/pci0000:00/0000:00:14.0# echo disabled > 
> usb3/power/wakeup

It doesn't have to be so complicated.  You can simply do:

	echo disabled >/sys/bus/usb/devices/usb3/power/wakeup

However that file contains "disabled" by default, so doing this may not 
accomplish anything.

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