Re: [linux-pm] ehci_hcd related S3 lockup on ASUS laptops, again

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

 



On Thu, 3 May 2012, Andrey Rahmatullin wrote:

> On Wed, May 02, 2012 at 01:42:08PM -0400, Alan Stern wrote:
> > Hmmm.  What about runtime suspend?
> > 
> > Still using the new patch without my patch, if you write "auto" to the
> > power/control file under the two controller sysfs directories, at least
> > one of them should go into suspend.  You can check this by seeing what
> > the corresponding power/runtime_status file says (there might be
> > something in the dmesg log too).  When this happens, what does "lspci
> > -v" show for the controller's state?
> root@sabine:~# echo auto> /sys/bus/pci/devices/0000\:00\:1d.0/power/control
> root@sabine:~# echo auto> /sys/bus/pci/devices/0000\:00\:1a.0/power/control
> root@sabine:~# cat /sys/bus/pci/devices/0000\:00\:1d.0/power/runtime_status
> suspended
> root@sabine:~# cat /sys/bus/pci/devices/0000\:00\:1a.0/power/runtime_status
> suspended
> root@sabine:~# lspci -v
> 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
>         Subsystem: ASUSTeK Computer Inc. Device 1147
>         Flags: medium devsel, IRQ 16
>         Memory at dfe08000 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: [50] Power Management version 2
>         Capabilities: [58] Debug port: BAR=1 offset=00a0
>         Capabilities: [98] PCI Advanced Features
>         Kernel driver in use: ehci_hcd
> 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
>         Subsystem: ASUSTeK Computer Inc. Device 1147
>         Flags: medium devsel, IRQ 23
>         Memory at dfe07000 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: [50] Power Management version 2
>         Capabilities: [58] Debug port: BAR=1 offset=00a0
>         Capabilities: [98] PCI Advanced Features
>         Kernel driver in use: ehci_hcd

Argh.  You need to use "lspci -vv" to see the details of the Power 
Management capability.  I forgot about that.

After you do this, does the runtime_status change back to "active" when 
you plug in a USB device?

Steve:  You changed the power settings for the USB devices but not for
the controllers themselves (they are PCI devices, not USB).  Try using
the same commands as Andrey did.

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