@bybeu,

USB Emulation: This allows USB devices (keyboard, mouse, USB drives) to
operate in BIOS / DOS.

USB Powershare: This allows USB ports to provide powers in sleep or
power-off, depends on hardware designs. This consumes some battery power
in sleep or power-off

USB Wake Support: This allows / disallows USB devices to wake up systems
from sleep.

External USB Ports: external ports are ports you can connect devices to.
"Internal" ports are ones connecting to built-in devices like webcam, sd
card and so on.

You can disable "USB emulation and USB powershare" if you are not using
them.

A problem like this can be the results of (1) system sleeps but is waken
up immediately, or (2) device driver fails to put hardware into sleep.

Comment #3 (and "USB wake up support) is to address (1), and #22 is to
verify whether new drivers in kernel can address (2), since are are
running on much older kernel 4.4

You can boot to Ubuntu 20.04 (kernel 5.4) live with USB and suspend, if
you don't want to install kernel package, or try kernel 5.8 as in #22 if
you feel comfortable with installing kernels.

-- 
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/1887564

Title:
  Laptop XPS13 can't sleep Ubuntu 16.04.6 LTS when USB3 device is/was
  attached.

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  (Ubuntu 4.4.0-185.215-generic 4.4.224)
  If I plug a USB3 device on the USB3 port then I can't send the laptop to 
sleep. (this happens with audio interface UMC404HD and Gbit Ethernet Adapter 
Trendnet)
  Instead it cancels the sleep process:

  Jul 13 10:24:22 xps kernel: [318785.373269] video LNXVIDEO:00: Restoring 
backlight state
  Jul 13 10:24:24 xps kernel: [318785.375145] PM: Syncing filesystems ... done.
  Jul 13 10:24:24 xps kernel: [318785.424201] PM: Preparing system for sleep 
(freeze)
  Jul 13 10:24:24 xps kernel: [318785.424337] Freezing user space processes ... 
(elapsed 0.001 seconds) done.
  Jul 13 10:24:24 xps kernel: [318785.426132] Freezing remaining freezable 
tasks ... (elapsed 0.037 seconds) done.
  Jul 13 10:24:24 xps kernel: [318785.463699] PM: Suspending system (freeze)
  Jul 13 10:24:24 xps kernel: [318785.463701] Suspending console(s) (use 
no_console_suspend to debug)
  Jul 13 10:24:24 xps kernel: [318785.463921] sd 0:0:0:0: [sda] Synchronizing 
SCSI cache
  Jul 13 10:24:24 xps kernel: [318785.463971] sd 0:0:0:0: [sda] Stopping disk
  Jul 13 10:24:24 xps kernel: [318786.150701] dpm_run_callback(): 
usb_dev_suspend+0x0/0x20 returns -16
  Jul 13 10:24:24 xps kernel: [318786.150716] PM: Device usb4 failed to suspend 
async: error -16
  Jul 13 10:24:24 xps kernel: [318786.150831] PM: Some devices failed to 
suspend, or early wake event detected
  Jul 13 10:24:24 xps kernel: [318786.166836] sd 0:0:0:0: [sda] Starting disk
  Jul 13 10:24:24 xps kernel: [318786.254775] rtc_cmos 00:01: System wakeup 
disabled by ACPI
  Jul 13 10:24:24 xps kernel: [318786.490641] ata1: SATA link up 6.0 Gbps 
(SStatus 133 SControl 300)
  Jul 13 10:24:24 xps kernel: [318786.513275] ata1.00: configured for UDMA/133
  Jul 13 10:24:24 xps kernel: [318786.942366] PM: resume of devices complete 
after 791.556 msecs
  Jul 13 10:24:24 xps kernel: [318786.942703] PM: Finishing wakeup.
  Jul 13 10:24:24 xps kernel: [318786.942706] Restarting tasks ... done.
  Jul 13 10:24:24 xps systemd[1]: systemd-suspend.service: Main process exited, 
code=exited, status=1/FAILURE
  Jul 13 10:24:24 xps kernel: [318786.967694] video LNXVIDEO:00: Restoring 
backlight state
  --- 
  ApportVersion: 2.20.1-0ubuntu2.23
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  fab        1827 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=eb43d52d-a74d-4460-bece-6abfe97623d7
  InstallationDate: Installed on 2013-07-05 (2567 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MachineType: Dell Inc. XPS L322X
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-185-generic 
root=UUID=c3867e14-cdf3-4837-93cb-5062324fd911 ro acpi_osi=Linux
  ProcVersionSignature: Ubuntu 4.4.0-185.215-generic 4.4.224
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-185-generic N/A
   linux-backports-modules-4.4.0-185-generic  N/A
   linux-firmware                             1.157.23
  Tags:  xenial
  Uname: Linux 4.4.0-185-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio cdrom debian-tor dip lpadmin plugdev sambashare sudo 
wireshark
  _MarkForUpload: True
  dmi.bios.date: 08/28/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0PJHXN
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd08/28/2013:svnDellInc.:pnXPSL322X:pvr:rvnDellInc.:rn0PJHXN:rvrA00:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: XPS L322X
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to