[Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices

Lukas Märdian 2056331 at bugs.launchpad.net
Tue Apr 23 15:20:43 UTC 2024


Thanks! The rebased patches do still apply cleanly and build fine.

- I fixed the Mantic debdiff SRU version "2:21.1.7-3ubuntu3" -> "2:21.1.7-3ubuntu2.10"
- I fixed the Jammy debdiff d/changelog to reference this bug report

Re-sponsoring for Mantic & Jammy and unsubcribing ~ubuntu-sponsors.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2056331

Title:
  [SRU] fix suspend/resume when there are no input devices

Status in X.Org X server:
  Fix Released
Status in xorg-server package in Ubuntu:
  Fix Released
Status in xorg-server source package in Jammy:
  In Progress
Status in xorg-server source package in Mantic:
  In Progress
Status in xorg-server source package in Noble:
  Fix Released

Bug description:
  [Impact]

  Bug is impacting the suspend/resume flow when there is no input device
  connected to machine. xorg hangs in this case.

  [Where problems could occur]

  The problem could occur in places where there is no input device
  connected to the system but a suspend/resume is triggered.

  [Test Case]

  * Enable proposed updates (https://wiki.ubuntu.com/Testing/EnableProposed)
  * Update xorg-server to the version in -proposed: sudo apt install -t jammy-proposed xorg-server
  * Unplug all USB devices such as USB drive, keyboard, mouse, etc.
  * Set RTC timer and suspend the system via UART console
      $ echo 8 > /proc/sys/kernel/printk
      $ sudo rtcwake -v -m no -s 240
      $ sudo systemctl suspend

  [Regression Potential]

  The patch defines a default behavior in systemd_logind_drop_master
  function so there is a possibility that there might be a regression
  that may affect all the systems that utilizes
  systemd_logind_drop_master

  ------------------------
  Upstream Bug: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1387

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions




More information about the Ubuntu-sponsors mailing list