[Desktop-packages] [Bug 1998964] Re: Laptop wakes up from sleep when lid is closed if mouse is moved

2022-12-08 Thread Daniel van Vugt
That's unusual. Your BIOS doesn't seem to offer any ability to control USB wakeups. Maybe it uses something different to ACPI? ** Package changed: gnome-settings-daemon (Ubuntu) => ubuntu -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1998964] Re: Laptop wakes up from sleep when lid is closed if mouse is moved

2022-12-08 Thread Sami Pietila
Sure. $ cat /proc/acpi/wakeup Device S-state Status Sysfs node GPP0 S4*enabled pci::00:01.1 SWUS S4*enabled pci::01:00.0 SWDS S4*enabled pci::02:00.0 GP17 S4*enabled pci::00:08.1 The mouse is Logitech G305. -- You received this

[Desktop-packages] [Bug 1998964] Re: Laptop wakes up from sleep when lid is closed if mouse is moved

2022-12-07 Thread Daniel van Vugt
Can you attach a copy of /proc/acpi/wakeup and confirm the type of mouse connected? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1998964 Title: Laptop wakes up from

[Desktop-packages] [Bug 1998964] Re: Laptop wakes up from sleep when lid is closed if mouse is moved

2022-12-07 Thread Sami Pietila
Agreed that the behavior should be dependent on the existence of external display and keyboard where the current behavior would make sense. I tried how Windows 11 behaves and it did not seem to wake up on mouse events when laptop lid is closed. This did not seem to change the behavior: sudo sh

[Desktop-packages] [Bug 1998964] Re: Laptop wakes up from sleep when lid is closed if mouse is moved

2022-12-06 Thread Daniel van Vugt
Understandably waking up is annoying in this case but if you had an external monitor and keyboard plugged in then waking up on mouse movement would be the right thing to do. To block USB from waking the system up I would try: sudo sh -c "echo XHCI > /proc/acpi/wakeup" ** Package changed: xorg

[Desktop-packages] [Bug 1998964] Re: Laptop wakes up from sleep when lid is closed if mouse is moved

2022-12-06 Thread Sami Pietila
I don't know which package this problem involves. But I guess this problem can be easily reproduced with multiple different machines running Ubuntu. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg in Ubuntu.