Add a script to explicitly handle multiple Surface kernel versions being
installed in parallel, sorting kernels by timestamp and choosing the
latest one.
Further, add support for rEFInd by updating the vmlinuz file timestamp
to ensure it's always seen as the last modified file (which will be
picked by rEFInd as the "default" kernel in that directory).
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Editing `ExecStart=` with `systemctl edit` did
not work for me. Running
`systemctl restart thermald.service` afterwards
was giving errors every time with reason "Unit
thermald.service has a bad unit file setting".
By running `systemctl status thermald.service`,
I was reading this error:
redis.service has more than one ExecStart=
setting, which is only allowed for
Type=oneshot services. Refusing.
By looking through the Internet for answers,
I found a suggestion from a user saying that
"The `ExecStart=` line cannot be modified with
`systemctl edit`"
(https://unix.stackexchange.com/questions/409354).
What worked was replacing the thermald.service file
directly to `/etc/systemd/system/` and
`/usr/lib/systemd/system` worked, as suggested
in the README.md present in the folder containing
example configurations for Surface Pro 5 from
this repository.
Merge pull-request #572.
A new thermald configuration file for the AMD version of the Surface
Laptop 4. It includes the ability to turn the CPU's Turbo Boost on and
off as a cooling measure.
The surface Laptop 1 immediately throttles to 400MHz if the GEN1 sensors reaches 52°C. Every time my Surface Laptop was under heavy load for more than a few minutes my performance hit a brick wall.
This config fixes this, it caps the CPU temp at 90°C and more importantly keeps GEN1 cooler than 50°C.
I have stress tested this config extensively and have had no thermal throttling and stable temps.
If you have any questions or concerns feel free to contact me.
Kind regards,
jo
- Orientation can be get from the accelerometer or the current screen orientation (`rotate-screen` or `rotate-screen screen`).
- Orientation can be switched to the next orientation (`rotate-screen next`: normal->left->inverted->right->normal or `rotate-screen previous`).
- Orientation can be specified at the command line (`rotate-screen normal|left|inverted|right`).
I hope this covers most use cases!