You are not logged in.
The hardware is only a few months old so I am not finding a lot of information with Arch linux installed on the X1C Gen 11.
For the most part everything works really well. The ONLY problem I am having is with power management:
- Changing from Performance, Balanced, and power saver
- Sending to Hibernation & Suspend
I know the support is not mentioned yet here https://wiki.archlinux.org/title/Laptop/Lenovo I have however followed the instructions to enable swapfile and use it for hibernate linked here: https://wiki.archlinux.org/title/Power_ … _swap_file
Which It seems that everything does go into hibernation but as soon as it does and everything goes black (screen and keyboard light) it starts back up to the desktop within a second or two. Anyone know how to find out the cause of this or how to fix this issue?
Hardware: X1 carbon gen 11
32gb Ram
1tb drive
OS: arch
I've tried various things that I cant think of off the top of my head following various guides and fixes that did not work
Last edited by Dontpanic_x (2023-06-28 09:31:22)
Offline
For the S3 issues, please post your complete system journal for the boot after attempting an S3:
sudo journalctl -b | curl -F 'f:1=<-' ix.io
Also see https://wiki.archlinux.org/title/Power_ … om_suspend and possibly https://wiki.archlinux.org/title/Power_ … om_suspend
Edit:
I've tried various things that I cant think of off the top of my head following various guides and fixes that did not work
And please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
That line contains no information whatsoever.
Last edited by seth (2023-06-22 05:24:36)
Offline
Apologies for the ambiguous of the "tried various things". here is a list of links that lead be to starting this thread:
https://bbs.archlinux.org/viewtopic.php?id=259382
(turns out i have enough swap space)
https://bbs.archlinux.org/viewtopic.php?id=157526
( part of the problem to not go into suspend or hibernate )
https://bbs.archlinux.org/viewtopic.php?id=205349
(un-commenting HandleLidSwitchDocked=suspend) didnt help
https://wiki.archlinux.org/title/Power_management (part of the above attempt)
The command:
$ sudo journalctl -b | curl -F 'f:1=<-' ix.io
posted a lot of information on that site that i would rather not have out there. Without running the command properly with a username:password to allow deletion or read only a few times and delete after, i unfortunately have no way of deleting that information which is is disheartening. Please inform me what you are looking for and i can post that information here.
As far as these links:
https://wiki.archlinux.org/title/Power_ … om_suspend
(my /proc/acpi/wakeup does not have EHC1, EHC2, and XHC.
From what I understand - these are for USB3.0 which are not plugged in or causing the wake-up. I ran the commands:
# echo EHC1 > /proc/acpi/wakeup
# echo EHC2 > /proc/acpi/wakeup
# echo XHC > /proc/acpi/wakeup
ran as root (not sudo) and there was no change to wakeup
as for this one: https://wiki.archlinux.org/title/Power_ … om_suspend
lvs
resulted in blank. Not sure if it was because my swapfile is a file and not a partition in the drive, but
swapon --show
results: /swap/swapfile file 26GB 0B -2
and
free -h
shows 0 used on sawp and 1.8Gi in memory
Also to note which I did not mention before:
I am using a btrfs swapfile following these instructions:
https://wiki.archlinux.org/title/Kernel_parameters
Which I have gotten the offset and placed into the
/etc/mkinitcpio.conf
HOOKS=(base udev autodetect keyboard modconf block filesystems [b]resume[/b] fsck)
file.
I followed the instructions on
Hibernation into swap file
Also edited:
$ sudo vim /etc/suspend.conf
snapshot device = /dev/snapshot
resume device = f449328e-1106-4878-aaa8-682098981eec
resume offset = 982883
#image size = 350000000
#suspend loglevel = 2
#compute checksum = y
#compress = y
#encrypt = y
#early writeout = y
#splash = y
Default Grub:
cat /etc/default/grub 127 ⨯
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 resume=UUID=f449328e-1106-4878-aaa8-682098981eec resume_offset=982883 quiet splash"
GRUB_CMDLINE_LINUX="cryptdevice=UUID=fa3d5785-1976-438e-9ed5-2ba52b68b426:cryptlvm:allow-discards root=/dev/mapper/cryptlvm"
Last edited by Dontpanic_x (2023-06-23 06:05:28)
Offline
Please inform me what you are looking for and i can post that information here.
"Problems", the journal isn't supposed to contain any sensitive information. sudo commands gets audited and logged so you might want pay attention to that if you posted sensitive information to sudo for whatever reason.
Without running the command properly with a username:password to allow deletion or read only a few times and delete after
… or do just that?
From what I understand - these are for
… everything that triggers wakeups. Instead of blindly toggling values, post the file contents first.
lvs
isn't relevant to the link I posted.
I recommend to first focus on S3 not auto-waking, once that's sorted out, look at S4
un-commenting HandleLidSwitchDocked=suspend
That thread is completely irrelevant to your situation, that system wouldn't sleep when docked, your's immedialy wakes up under all circumstances.
Offline
How about the modem, does it work?
Offline
Please inform me what you are looking for and i can post that information here.
"Problems", the journal isn't supposed to contain any sensitive information. sudo commands gets audited and logged so you might want pay attention to that if you posted sensitive information to sudo for whatever reason.
Ok
i can see this:
Jun 24 10:24:59 archie systemd-logind[684]: The system will hibernate now!
Jun 24 10:24:59 archie NetworkManager[685]: <info> [1687602299.6614] manager: sleep: sleep requested (sleeping: no enabled: yes)
Jun 24 10:24:59 archie NetworkManager[685]: <info> [1687602299.6615] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Jun 24 10:24:59 archie NetworkManager[685]: <info> [1687602299.6619] manager: NetworkManager state is now ASLEEP
Jun 24 10:24:59 archie NetworkManager[685]: <info> [1687602299.6620] device (wlan0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Jun 24 10:24:59 archie dbus-daemon[683]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.2' (uid=0 pid=685 comm="/usr/bin/NetworkManager --no-daemon")
which I'm thinking is the issue but I'm a complete newbie to this and you might see something more in dept...Thank you for the help and education
Last edited by Dontpanic_x (2023-06-24 10:50:41)
Offline
The problem is(most likely) this here:
Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: [PM] SAP suspend error: -110
Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: PM: pci_pm_suspend(): t7xx_pci_pm_suspend+0x0/0x20 [mtk_t7xx] returns -110
Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -110
Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: PM: failed to suspend async: error -110
Jun 24 10:28:56 archie kernel: PM: Some devices failed to suspend, or early wake event detected
https://bugzilla.redhat.com/show_bug.cgi?id=2131366
https://forum.manjaro.org/t/hibernate-o … ion/132461
https://forums.lenovo.com/t5/Ubuntu/Sus … -p/5168735
https://bugs.launchpad.net/bugs/1990700
That's apparently a 5G Modem?
If you're not using that, try to blacklist the module, https://wiki.archlinux.org/title/Kernel … and_line_2 or even better: disable it in the BIOS if possible.
Otherwise you'd have to stop using it, unload the module before the attemting to sleep (check lsmod to make sure it's gone) and try again.
Offline
The problem is(most likely) this here:
Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: [PM] SAP suspend error: -110 Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: PM: pci_pm_suspend(): t7xx_pci_pm_suspend+0x0/0x20 [mtk_t7xx] returns -110 Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -110 Jun 24 10:28:56 archie kernel: mtk_t7xx 0000:08:00.0: PM: failed to suspend async: error -110 Jun 24 10:28:56 archie kernel: PM: Some devices failed to suspend, or early wake event detected
https://bugzilla.redhat.com/show_bug.cgi?id=2131366
https://forum.manjaro.org/t/hibernate-o … ion/132461
https://forums.lenovo.com/t5/Ubuntu/Sus … -p/5168735
https://bugs.launchpad.net/bugs/1990700That's apparently a 5G Modem?
If you're not using that, try to blacklist the module, https://wiki.archlinux.org/title/Kernel … and_line_2 or even better: disable it in the BIOS if possible.
Otherwise you'd have to stop using it, unload the module before the attemting to sleep (check lsmod to make sure it's gone) and try again.
I attempted to look disable it in the bios but did not find it. I was however able to black list it using that link adding:
blacklist mtk_t7xx
to
$ /etc/modprobe.d/nobeep.conf
This allowed the sleep to work however hibernate just ends up shutting down. Not sure the beef here but in a way you can mark this as [SOLVED] thank you Seth...you are really good at this
Offline
Hibernate will shut the system down, only on the next boot the system loads an image (if things are setup correctly, https://wiki.archlinux.org/title/Power_ … ibernation )
Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline