On 2023-03-30 03:15, David C. Rankin wrote:
On 3/29/23 14:46, Carlos E. R. wrote:
ModemManager[1799]: <info> [sleep-monitor] system is resuming
Looks like this is the first indication that a wakeup has occured. The next line is Network Manager. Why we have ModemManager running has always been a curiosity, and I've seen reasoning, but I don't recall the details.
I don't know if ModemManager is causing the wake up, or detecting the wake up.
Were it me, I'd kill it and try putting the laptop to sleep again and see if it stays that way. I doubt you have a modem anyway.
Let's see... Nope, didn't work.
(what I do recall is it is used by the likes of gphoto2, etc.. for some serial communications of USB. That is a vague recollection though)
Huh :-? Ah, maybe those usb things that had two behaviours, and something in the computer triggered a change of mode, then usb detected it as something different. Well, now it is NetworkManager who says waking up.
Mar 30 07:49:34 Laicolasse gdm-Xorg-:0[10939]: (II) AMDGPU(0): Modeline "1920x1080"x0.0 160.63 1920 1936 1952 2180 1080 1083 1097 1228 -hsync -vsync (73.7 kHz > Mar 30 07:49:34 Laicolasse systemd-sleep[18725]: INFO: Done. Mar 30 07:49:34 Laicolasse systemd[1]: systemd-hibernate.service: Deactivated successfully. Mar 30 07:49:34 Laicolasse systemd[1]: Finished Hibernate. Mar 30 07:49:34 Laicolasse systemd[1]: Reached target System Hibernation. Mar 30 07:49:34 Laicolasse systemd[1]: Stopped target Sleep. Mar 30 07:49:34 Laicolasse systemd[1]: Stopped target System Hibernation. Mar 30 07:49:34 Laicolasse systemd-logind[1725]: Operation 'sleep' finished. Mar 30 07:49:34 Laicolasse NetworkManager[1831]: <info> [1680155374.8546] manager: sleep: wake requested (sleeping: yes enabled: yes) Mar 30 07:49:34 Laicolasse NetworkManager[1831]: <info> [1680155374.8547] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-stat> Mar 30 07:49:34 Laicolasse kernel: Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC) Mar 30 07:49:34 Laicolasse kernel: Bluetooth: hci0: Device setup in 121088 usecs Mar 30 07:49:34 Laicolasse kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
(this is with kernel 6.2.8-lp154.3 from Kernel:stable:Backports) (I notice that the ssh session, via wlan, now and then stops responding) Before, I suspected wake on line, so I tried disconnected the cable. At the moment, wlan was not working. Now I called hibernate from a ssh session using wlan. On other machines, the ssh would just stop responding and eventually die. Here... :-? But NetworkManager talks about etho, not wlan. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)