Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I've recently installed on my Acer Swift 1 new laptop a distro linux, now I'm on Manjaro but I noted the same issue on Ubuntu 19.04 and 18.04 LTS and on Debian 10.
Few days after a fresh installation of each of these Linux distro the suspension breaks by itself: closing the lid or running systemctl suspend causes a hard shutdown of my system. Sometimes the system freezes and can be shut down only by unplugging the battery pressing the emergency button on the rear of my laptop.
Here's a log of journal
Code:
ott 08 13:37:51 federico-swift1 systemd-logind[515]: Lid closed.
ott 08 13:37:51 federico-swift1 systemd-logind[515]: Suspending...
ott 08 13:37:51 federico-swift1 NetworkManager[510]: <info> [1570534671.5846] manager: sleep: sleep requested (sleeping: no enabled: yes)
ott 08 13:37:51 federico-swift1 NetworkManager[510]: <info> [1570534671.5847] device (p2p-dev-wlp0s12f0): state change: disconnected -> unmanaged (reason 'sleeping', sys-i>
ott 08 13:37:51 federico-swift1 NetworkManager[510]: <info> [1570534671.5857] manager: NetworkManager state is now ASLEEP
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
_disconnect@resource:///org/gnome/gjs/modules/signals.js:78:11
_onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:284:13
callParent@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/utils.js line 74 > eval:1:180
_onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:325:13
_disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:355:9
destroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:368:13
_disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:163:5
disable/<@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:39
disable@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:5
disableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:79:9
disableAllExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:350:13
disableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:349:9
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:367:9
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
_sync@resource:///org/gnome/shell/ui/sessionMode.js:202:9
pushMode@resource:///org/gnome/shell/ui/sessionMode.js:164:9
activate@resource:///org/gnome/shell/ui/screenShield.js:1269:17
lock@resource:///org/gnome/shell/ui/screenShield.js:1318:9
_prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:729:17
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
_prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:174:9
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
_convertToNativeSignal@resource:///org/gnome/gjs/modules/overrides/Gio.js:169:5
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
_disconnect@resource:///org/gnome/gjs/modules/signals.js:78:11
_onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:284:13
callParent@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/utils.js line 74 > eval:1:180
_onDestroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/menu.js:325:13
_disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:355:9
destroy@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/controller.js:368:13
_disableButton@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:163:5
disable/<@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:39
disable@/usr/share/gnome-shell/extensions/arc-menu@linxgem33.com/extension.js:88:5
disableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:79:9
disableAllExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:350:13
disableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:349:9
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:367:9
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
_sync@resource:///org/gnome/shell/ui/sessionMode.js:202:9
pushMode@resource:///org/gnome/shell/ui/sessionMode.js:164:9
activate@resource:///org/gnome/shell/ui/screenShield.js:1269:17
lock@resource:///org/gnome/shell/ui/screenShield.js:1318:9
_prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:729:17
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
_prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:174:9
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
_convertToNativeSignal@resource:///org/gnome/gjs/modules/overrides/Gio.js:169:5
ott 08 13:37:53 federico-swift1 systemd[1]: Starting TLP suspend/resume...
ott 08 13:37:54 federico-swift1 systemd[1]: Started TLP suspend/resume.
ott 08 13:37:54 federico-swift1 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd>
ott 08 13:37:54 federico-swift1 systemd[1]: Reached target Sleep.
ott 08 13:37:54 federico-swift1 kernel: audit: type=1130 audit(1570534674.453:64): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=tlp-sleep comm="sys>
ott 08 13:37:54 federico-swift1 systemd[1]: Starting Suspend...
ott 08 13:37:54 federico-swift1 systemd-sleep[2299]: Suspending system...
ott 08 13:37:54 federico-swift1 kernel: PM: suspend entry (deep)
I grepped your log section for the word Error, and got this
Code:
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found
It appears on the basis of your log that it recovered from both those errors and entered into a sleep. No sign of a shutdown. Yet, I presume, that's what it did.
I'm puzzled that suspend works on several distros, and then stops working after a few days. It seems to clear the software involved. What happens after a few days?
Have a look in /var/log - the end of the big files. Also, isolate the biggest file in /var/log; Usually /var/log/syslog or /var/log/messages. Back it up if you want it, & zero it, e.g.
Code:
> /var/log/messages
. Then suspend. The resulting file after you reboot will have a shutdown & start up. That might reveal something.
Thank you for responding.
Since I installed Manjaro those errors from gnome-session show up in my log, even when suspension was working, so I suppose that is not the cause of my problem.
syslog-ng is not installed by default in Manjaro, I tried to configure it but in /var/log there's nothing similar to a log from the system, however even if it seems very strange, the system effectively shuts down or "crashes" if you prefer, but it's clear it isn't in sleep mode because in this case the status led would blink.
I dont know what breaks the suspension, when i tried Debian the suspension resulted broken after few hours, even with any program installation.
I wrote in this forum since I think I have a kernel issue with my hardware, with 4.14 LTS the system seems to suspend correctly and consistently, but I can't test it for a long time since that version does not have drivers for my touchpad.
Any ideas about this hypothesis?
Yesterday Manjaro pushed out a big set of upgrades, including an update of the kernel package, since then the system SEEMS (cross fingers) to suspend correctly angain, I'm doing some tests right now.
I don't know which of 232 package updates fixed the problem, I don't even know if the problem is definetely fixed indeed.
If this update does not solve the problem by long-term I'll have to search for the fix somewhere else, but before posting here I read a lot about the suspension in Linux and how it's handled by the system, I know very well that Arch-wiki page, nothing useful for me...
However thank you all for your support
Yesterday Manjaro pushed out a big set of upgrades, including an update of the kernel package, since then the system SEEMS (cross fingers) to suspend correctly angain, I'm doing some tests right now.
I don't know which of 232 package updates fixed the problem, I don't even know if the problem is definetely fixed indeed.
If this update does not solve the problem by long-term I'll have to search for the fix somewhere else, but before posting here I read a lot about the suspension in Linux and how it's handled by the system, I know very well that Arch-wiki page, nothing useful for me...
However thank you all for your support
I hate that with these update-continually distros. You can mark this one solved.
I still remember when my then-new intel CPU (and integrated GPU) got continuously better with every upgrade. I loved every moment of it.
By now it's so old I might as well use Debian stable.
I'm new to Linux world, at the very beginning I imposed myself to learn at least a bit of it, now, I love it, maybe because I've been using Windows for almost 15 years (I'm 21) and I needed to try something different; it's a sort of fresh-air blow in my daily routine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.