You can tell the kernel to ignore particular devices that might wake the
machine up by:

  sudo sh -c 'echo NAME > /proc/acpi/wakeup'

That will just toggle device NAME between enabled (can wake up) or
disabled (can't wake up). But the hard part is figuring out which device
name from /proc/acpi/wakeup is relevant to the USB keyboard. Maybe 'XHC'
representing the USB controller?

Your BIOS might also have settings to control which devices can wake the
machine up.

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu)
       Status: Incomplete => Triaged

** Summary changed:

- System wakes from suspend almost immediately
+ [ThinkPad X1 Carbon] System wakes from suspend almost immediately if USB 
keyboard is plugged in

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

Title:
  [ThinkPad X1 Carbon] System wakes from suspend almost immediately if
  USB keyboard is plugged in

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to