← Back to team overview

kernel-packages team mailing list archive

[Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

 

I've tested kernel 3.16-rc7 from mainline, with the same results.

Another thing I've tested, is disabling acpi wakeups for usb related
devices: If I disable wakeup for ALL usb related devices (in my case
EHC1, EHC2, XHC) suspend works correctly. Any other combination (e.g.
disable only XHC and leave EHCx enabled) prevents suspending.

Attached is the dmesg output of a successful suspend/resume using this
workaround.

/proc/acpi/wakeup for successful suspend looks in my case:
$ cat /proc/acpi/wakeup
Device	S-state	  Status   Sysfs node
UAR1	  S4	*disabled  pnp:00:0b
RP01	  S4	*disabled  pci:0000:00:1c.0
PXSX	  S4	*disabled
RP03	  S4	*disabled  pci:0000:00:1c.2
PXSX	  S4	*enabled   pci:0000:03:00.0
GLAN	  S4	*disabled
EHC1	  S4	*disabled  pci:0000:00:1d.0
EHC2	  S4	*disabled  pci:0000:00:1a.0
XHC	  S4	*disabled  pci:0000:00:14.0
HDEF	  S4	*disabled  pci:0000:00:1b.0
PEG0	  S4	*disabled  pci:0000:00:01.0
PEGP	  S4	*disabled
PEG1	  S4	*disabled
PEG2	  S4	*disabled


** Attachment added: "dmesg_acpi_disabled.log"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349879/+attachment/4167943/+files/dmesg_acpi_disabled.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices < 3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem > /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349879/+subscriptions