WIP: Fixed support for freeze/standby/suspend/hybrid suspend/hibernate #2

Draft
MicheleC feat/fix-suspend-code 에서 master 로 10 commits 를 머지하려 합니다
MicheleC 코멘트됨, 6 년 전
소유자
Suggest to compile TDE/tdebase#16 after this. Based on info from here: https://www.kernel.org/doc/Documentation/power/states.txt https://www.kernel.org/doc/Documentation/power/interface.txt
MicheleC R14.1.0 release 6 년 전 마일스톤을 추가하였습니다.
SlavekB 코멘트됨, 6 년 전
소유자

It looks like /sys/power/mem_sleep is new from kernel >= 4.14. We need functionality even for older versions of kernels. The code needs to be changed.

It looks like /sys/power/mem_sleep is new from kernel >= 4.14. We need functionality even for older versions of kernels. The code needs to be changed.
SlavekB added the PR/not-ok label 6 년 전
MicheleC 코멘트됨, 6 년 전
포스터
소유자

yes, as I mentioned yesterday on the chat, I need to fix support for when mem_sleep is not available. I will work on this during the weekend.

In the current PR, it only affects "Suspend".

yes, as I mentioned yesterday on the chat, I need to fix support for when mem_sleep is not available. I will work on this during the weekend. In the current PR, it only affects "Suspend".
MicheleC added PR/wip and removed PR/not-ok labels 6 년 전
MicheleC removed the PR/wip label 6 년 전
MicheleC 코멘트됨, 6 년 전
포스터
소유자

PR should now be able to support both older and newer kernel.

PR should now be able to support both older and newer kernel.
MicheleC 코멘트됨, 5 년 전
포스터
소유자

I have tested this (together with TDE/tdebase#16) under Slackware in a VirtualBox machines.

The options displayed on the shutdown dialog are consistent with the content of /sys/power/state and /sys/power/disk and their functionality works fine.

I could test freeze, hibernate and hybrid hibernate. The last two behaves the same in this system, since there is no support for suspend-to-RAM but /sys/power/disk contains "suspend"

I have tested this (together with TDE/tdebase#16) under Slackware in a VirtualBox machines. The options displayed on the shutdown dialog are consistent with the content of /sys/power/state and /sys/power/disk and their functionality works fine. I could test freeze, hibernate and hybrid hibernate. The last two behaves the same in this system, since there is no support for suspend-to-RAM but /sys/power/disk contains "suspend"
MicheleC 코멘트됨, 5 년 전
포스터
소유자

Rebased to latest master. IMO, this PR is ready for merging.

Rebased to latest master. IMO, this PR is ready for merging.
MicheleC 코멘트됨, 5 년 전
포스터
소유자

as per discussion on jabber, more work is required to allow user hibernation

as per discussion on jabber, more work is required to allow user hibernation
MicheleC 코멘트됨, 5 년 전
포스터
소유자

This is hopefully the final one 😄

Tested as simple user and as root, all available actions are possible. Actions tested are freeze, suspend, hydrid suspend and hibernate

This is hopefully the final one :smile: Tested as simple user and as root, all available actions are possible. Actions tested are freeze, suspend, hydrid suspend and hibernate
MicheleC changed title from Fixed support for freeze/standby/suspend/hybrid suspend/hibernate to WIP: Fixed support for freeze/standby/suspend/hybrid suspend/hibernate 5 년 전
MicheleC changed title from WIP: Fixed support for freeze/standby/suspend/hybrid suspend/hibernate to Fixed support for freeze/standby/suspend/hybrid suspend/hibernate 5 년 전
MicheleC 코멘트됨, 5 년 전
포스터
소유자

new version with polkit support

new version with polkit support
MicheleC 코멘트됨, 5 년 전
포스터
소유자

I have added DBus standard interface Introspect, Peer and Properties to the tde hw daemon. This should solve issue #9 and #12.

I have added DBus standard interface Introspect, Peer and Properties to the tde hw daemon. This should solve issue #9 and #12.
MicheleC changed title from Fixed support for freeze/standby/suspend/hybrid suspend/hibernate to WIP: Fixed support for freeze/standby/suspend/hybrid suspend/hibernate 5 년 전
MicheleC 코멘트됨, 5 년 전
포스터
소유자

I see two potential side effect, but need further testing to make sure they are related to this PR. Further testing is needed before merge. Core functionality is there though.

I see two potential side effect, but need further testing to make sure they are related to this PR. Further testing is needed before merge. Core functionality is there though.
SlavekB R14.1.0 release 에서 R14.1.x 1 년 전 마일스톤으로 변경되었습니다
This pull request has changes conflicting with the target branch.
tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.conf
tdecore/tdehw/tderootsystemdevice.cpp
tdecore/tdehw/tderootsystemdevice.h
로그인하여 이 대화에 참여
No reviewers
마일스톤 없음
담당자 없음
참여자 2명
알림
마감일

마감일이 설정되지 않았습니다.

의존성

No dependencies set.

Reference: TDE/tdelibs#2
불러오는 중...
아직 콘텐츠가 없습니다.