Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kleines suspend Problem unter KDE
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
michael_w
Guru
Guru


Joined: 22 Feb 2006
Posts: 462
Location: 09xxx

PostPosted: Fri Feb 09, 2018 8:50 am    Post subject: Kleines suspend Problem unter KDE Reply with quote

Hallo,

Code:

[19]  default/linux/amd64/17.0/desktop/plasma (stable) *


In dem KDE Menü gibt es bei mir die Optionen Standby-Modus und Ruhezustand. Bei Ruhezustand passiert (fast) gar nichts. KDE wechselt sofort zum login von sddm. Bei Ruhezustand macht KDE offenbar einen suspend to disk. Als root kann ich aber ein s2ram machen und alles ist gut (suspend to ram). Wieso kann das KDE nicht? Wo muss ich da ansetzen?
_________________
Linux ryzen 6.1.66-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sat Dec 9 18:51:25 CET 2023 x86_64 AMD Ryzen 7 PRO 4750G with Radeon Graphics AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Fri Feb 09, 2018 9:05 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/KDE#Services
Back to top
View user's profile Send private message
michael_w
Guru
Guru


Joined: 22 Feb 2006
Posts: 462
Location: 09xxx

PostPosted: Sat Feb 10, 2018 3:10 pm    Post subject: Reply with quote

asturm wrote:
https://wiki.gentoo.org/wiki/KDE#Services


hmm, naja, ich hab jetzt alles nochmal durchgesehen. Es läuft hier dbus, eudev und consolekit. Was ich so ersehen kann ist es auch alles richtig konfiguriert. Gibt es da irgendwelche logs wo man nochmal was ersehen kann?
_________________
Linux ryzen 6.1.66-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sat Dec 9 18:51:25 CET 2023 x86_64 AMD Ryzen 7 PRO 4750G with Radeon Graphics AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Sat Feb 10, 2018 5:34 pm    Post subject: Reply with quote

Kannst Du denn "mem" bzw. "disk" nach /sys/power/state reinschreiben bzw. "s2ram" oder "s2idle" nach /sys/power/mem_sleep ?
Back to top
View user's profile Send private message
michael_w
Guru
Guru


Joined: 22 Feb 2006
Posts: 462
Location: 09xxx

PostPosted: Wed Feb 14, 2018 8:07 am    Post subject: Reply with quote

toralf wrote:
Kannst Du denn "mem" bzw. "disk" nach /sys/power/state reinschreiben bzw. "s2ram" oder "s2idle" nach /sys/power/mem_sleep ?


Code:

michael@ryzen ~ $ cat /sys/power/state
freeze mem disk
michael@ryzen ~ $ cat /sys/power/mem_sleep
s2idle [deep]


Das steht da schon drin. Und nun?
_________________
Linux ryzen 6.1.66-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sat Dec 9 18:51:25 CET 2023 x86_64 AMD Ryzen 7 PRO 4750G with Radeon Graphics AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Wed Feb 14, 2018 9:48 am    Post subject: Reply with quote

Hi,

es war eher so gemeint:

Code:

echo mem > /sys/power/state


Und dann schreiben, was passiert!

MfG. Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
michael_w
Guru
Guru


Joined: 22 Feb 2006
Posts: 462
Location: 09xxx

PostPosted: Wed Feb 14, 2018 2:58 pm    Post subject: Reply with quote

bbgermany wrote:

Code:

echo mem > /sys/power/state

Und dann schreiben, was passiert!


Okay, als root ausgeführt macht der pc einen suspend to ram. Als user scheitert es an der Berechtigung:
Code:

michael@ryzen ~ $ echo mem > /sys/power/state
bash: /sys/power/state: Keine Berechtigung

michael@ryzen ~ $ ls -l /sys/power/state
-rw-r--r-- 1 root root 4096 14. Feb 15:54 /sys/power/state

_________________
Linux ryzen 6.1.66-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sat Dec 9 18:51:25 CET 2023 x86_64 AMD Ryzen 7 PRO 4750G with Radeon Graphics AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2280
Location: Adendorf, Germany

PostPosted: Thu Feb 15, 2018 10:53 am    Post subject: Reply with quote

michael_w wrote:
toralf wrote:
Kannst Du denn "mem" bzw. "disk" nach /sys/power/state reinschreiben bzw. "s2ram" oder "s2idle" nach /sys/power/mem_sleep ?


Code:

michael@ryzen ~ $ cat /sys/power/state
freeze mem disk
michael@ryzen ~ $ cat /sys/power/mem_sleep
s2idle [deep]


Das steht da schon drin. Und nun?
In "/sys/power/mem_sleep" steht, dass "deep" ausgewählt ist. toralf schlug vor, dass du auf "s2idle" wechselst:
Code:
echo s2idle > /sys/power/mem_sleep

_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum