sysfs.conf(5) | sysfsutils | sysfs.conf(5) |
sysfs.conf, sysfs.d/*.conf - Linux sysfs attributes setting configuration files
These configuration files are used to set sysfs attribute values and modify their file mode or owner, during the system boot.
Note that these configuration files are concerned with the /sys filesystem and should not be confused with the /etc/sysctl.conf configuration which is concerned with the /proc/sys filesystem instead.
The syntax consists on a series of line based directives for sysfs attributes, those being pathnames within that filesystem, with the following format:
Leading and trailing whitespace (SPACE, TAB), and whitespace around the = character are ignored.
Comments start with a # character until the end of line. Empty or whitespace-only lines are also ignored.
Any attribute that does not exist will be warned about, but will not cause the loading to fail.
Always use the powersave CPU frequency governor.
devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
Use userspace CPU frequency governor and set initial speed.
devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace devices/system/cpu/cpu0/cpufreq/scaling_setspeed = 600000
Set permissions of suspend control file.
mode power/state = 0660 owner power/state = root:power
sysfs(5), <https://www.kernel.org/doc/Documentation/filesystems/sysfs.txt>, <https://www.kernel.org/doc/Documentation/ABI/stable/>.
2023-01-17 | 2.1.1-4 |