LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2024, 12:00 PM   #16
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Rep: Reputation: Disabled

Quote:
Originally Posted by kgha View Post
I never hibernate but often suspend by simply closing the laptop lid. Noticed today that suspend/resume actions change - system no longer resumes after opening the lid, I have to hit the on/off button to resume. After resuming, no wifi connection and NetworkManager applet unresponsible.

Tried the suggested hook.sh file - put it in /lib64/elogind/system-sleep/ and made it executable. No change after rebooting.

Reverted to elogind-252.23-x86_64-2.txz and all is well (although now I get an issue with mate-power-manager, but not sure if that's really connected...)
I'm experiencing this as well.
 
Old 04-14-2024, 12:11 PM   #17
H1p8r10n
Member
 
Registered: Feb 2016
Location: on the border of milky way
Distribution: Slackware
Posts: 159

Rep: Reputation: Disabled
Rollback to elogind-252.23 and polkit-123 fixes most problems as far as I tested.
 
Old 04-14-2024, 02:31 PM   #18
af7567
Member
 
Registered: Nov 2012
Posts: 293

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by af7567 View Post
This is better for me than restarting networkmanager, because that breaks Firefox and thunderbird.
I spoke too soon. By using the upower workaround the internet still works fine, and firefox and thunderbird work initially after a resume. But after a few minutes they do go wrong and need restarting anyway. So it looks like NM aware apps are just going to go wrong whichever workaround is used, so downgrade is the only reliable fix at the moment.
 
Old 04-15-2024, 04:16 AM   #19
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
I've raised the issue at github.com/elogind. Hopefully some explanation/help/solution will come out of it.

However, it seems as if Pat considers reverting to version 252.23, or maybe come down with an aternative solution: https://www.linuxquestions.org/quest...ml#post6495928

Last edited by kgha; 04-15-2024 at 04:22 AM.
 
Old 04-15-2024, 04:33 AM   #20
af7567
Member
 
Registered: Nov 2012
Posts: 293

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by kgha View Post
I've raised the issue at github.com/elogind. Hopefully some explanation/help/solution will come out of it.
logind.conf is ignored by 255.4 at the moment (at least on Slackware), I opened an issue on github about that yesterday. So anything you tested changing in the logind.conf files won't have done anything.

edit: Oh sorry, I just saw you referenced my issue there so do know about the logind.conf thing

Last edited by af7567; 04-15-2024 at 04:37 AM.
 
Old 04-15-2024, 05:01 AM   #21
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by af7567 View Post
edit: Oh sorry, I just saw you referenced my issue there so do know about the logind.conf thing
Yup. And as I wrote over there,I've tried recompiling elogind using the latest 255.4-r1 and your patch, but no difference.

LuckyCyborg has posted something regarding the elogind upgrade here: https://www.linuxquestions.org/quest...ml#post6496029
but I can't see how this relates to the network issue.
 
Old 04-15-2024, 05:30 AM   #22
af7567
Member
 
Registered: Nov 2012
Posts: 293

Rep: Reputation: 106Reputation: 106
On my system resuming from s2idle results in my mouse not working for some reason, so it seems to break more devices than real sleep does. I have always had SuspendMode set to deep because of that, and s2idle also keeps the PC running so not really sleeping at all.
 
Old 04-15-2024, 08:38 AM   #23
af7567
Member
 
Registered: Nov 2012
Posts: 293

Rep: Reputation: 106Reputation: 106
I have just seen that the elogind developer also mentions s2idle.
You can check what sleep method your system is using in /var/log/messages, and see if it is different when using 252 instead of 255
Code:
fgrep "suspend entry" /var/log/messages
s2idle would explain why the LEDs stay on, but the network staying down problem happens whatever sleep mode is used.

Last edited by af7567; 04-15-2024 at 08:42 AM.
 
Old 04-15-2024, 10:21 AM   #24
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Right now I'm provisionally running elogind-255.4 and polkit-124 with the following /etc/elogind/sleep.conf.d/10-elogind.conf:
Code:
[Sleep]
#AllowPowerOffInterrupts=no
#AllowSuspendInterrupts=no
#BroadcastPowerOffInterrupts=yes
#BroadcastSuspendInterrupts=yes
#HandleNvidiaSleep=no
#HibernateByUsing=
#SuspendByUsing=
SuspendMode=deep s2idle
(The last line is the important one, changed from default).

I also have the rebuilt NetworkManager, built with --with-suspend-resume=upower \ as mentioned in post #12 above.

Suspend/resume behaviour appears "normal" - the wifi LED goes off during suspend, wifi and bluetooth immediately active after resume. And suspend/resume by closing/opening laptop lid works. I have not encountered any problems with my browser (vivaldi) or mail client (thunderbird) that af7567 mentions in post #18

EDIT: Have to revoke the last lines - I do get issues with Thunderbird. So this is not a viable option. Sorry.

Last edited by kgha; 04-15-2024 at 10:37 AM.
 
Old 04-16-2024, 05:04 AM   #25
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Rep: Reputation: Disabled
Just to know if is related: after rollbacking polkit and elogind, I'm experiencing the notify service of KDE failing and falling back to xfce4 one. Anyone else experience the same?

EDIT: tried upgrading to the current version of elogind and polkit with no result. I guess is not related. Rollbacked again and i'll open another thread about it

Last edited by Francexi; 04-16-2024 at 05:10 AM.
 
Old 04-17-2024, 04:40 AM   #26
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 101

Original Poster
Rep: Reputation: 58
On a tangent kioslave5 is also crashing for me too, not sure if it's related (but it also started happening only after a recent upgrade)

-- ltlnx

Edit: on both fully upgraded and upgraded-then-downgraded -current

Last edited by litelinux; 04-17-2024 at 04:42 AM. Reason: clarification
 
Old 04-17-2024, 04:57 AM   #27
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 323

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Originally Posted by Francexi View Post
Just to know if is related: after rollbacking polkit and elogind, I'm experiencing the notify service of KDE failing and falling back to xfce4 one. Anyone else experience the same?

EDIT: tried upgrading to the current version of elogind and polkit with no result. I guess is not related. Rollbacked again and i'll open another thread about it
I just had a reboot after a couple of days and had the same thing happening.
I guess this is related, i'm investigating the changes:
Code:
Sun Apr 14 18:35:32 UTC 2024
...
xfce/xfce4-notifyd-0.9.4-x86_64-1.txz:  Upgraded.
  Almost everyone has jumped to this version, so we'll get with the program.
 
Old 04-17-2024, 05:01 AM   #28
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Rep: Reputation: Disabled
Quote:
Originally Posted by ctrlaltca View Post
I just had a reboot after a couple of days and had the same thing happening.
I guess this is related, i'm investigating the changes:
Code:
Sun Apr 14 18:35:32 UTC 2024
...
xfce/xfce4-notifyd-0.9.4-x86_64-1.txz:  Upgraded.
  Almost everyone has jumped to this version, so we'll get with the program.
yes is it. I solved it at https://www.linuxquestions.org/quest...le-4175736075/
 
Old 04-21-2024, 04:05 AM   #29
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 101

Original Poster
Rep: Reputation: 58
The revert to elogind-252 did the trick. Marking this as solved. Thanks Pat and everyone involved!

-- ltlnx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
Broadcom 802.11 Linux STA driver (broadcom-wl) - Problems (Fed15) Rian79 Linux - Wireless Networking 1 08-09-2011 10:10 AM
s2ram-- VT blank upon resume mattd7591 Linux - General 2 06-29-2007 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration