D
D
Danil Tunev2019-01-29 16:51:28
linux
Danil Tunev, 2019-01-29 16:51:28

Has anyone used "autosleep" technology | Opportunistic sleep?

Hello! Is anyone familiar with "autosleep" technology | "Opportunistic sleep" by Raphael Jay Vysotsky? In general, I rebuilt the kernel with this built-in module. it is listed in the configuration file section: "Power management and ACPI options", in the BIOS settings in the power manager section, I also enabled all the options. But the module does not have any effect, in the /sys/power/autosleep file it is set to "off", the file is not edited, it is generated by the system. How to run this module, maybe there is some synonym for the name of the module ?, a simple insmod autosleep says that there is no such module. I’m sinning on the old motherboard !, but it’s not so old, the acpi technology still seems to have appeared in the 90s. In general, throw any hypotheses!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2019-01-29
@lada-guy

And RTFM is not fashionable anymore?:

What:		/sys/power/autosleep
Date:		April 2012
Contact:	Rafael J. Wysocki <[email protected]>
Description:
    The /sys/power/autosleep file can be written one of the strings
    returned by reads from /sys/power/state.  If that happens, a
    work item attempting to trigger a transition of the system to
    the sleep state represented by that string is queued up.  This
    attempt will only succeed if there are no active wakeup sources
    in the system at that time.  After every execution, regardless
    of whether or not the attempt to put the system to sleep has
    succeeded, the work item requeues itself until user space
    writes "off" to /sys/power/autosleep.

What do you have in /sys/power/state?
How do you edit?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question