Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "surface"
version = "0.5.0"
version = "0.5.1"
authors = ["Maximilian Luz <luzmaximilian@gmail.com>"]
description = "Control various aspects of Microsoft Surface devices on Linux from the Command-Line"

Expand Down
2 changes: 2 additions & 0 deletions etc/modprobe.d/surface-debian-disable-algif.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://askubuntu.com/a/1566257/1004020
install algif_aead /bin/false
3 changes: 3 additions & 0 deletions pkg/bin/makebin
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ package() {
mkdir -p "$pkgdir/usr/lib/systemd/system/suspend.target.wants"
ln -sT "../surface-rapl.service" "$pkgdir/usr/lib/systemd/system/suspend.target.wants/surface-rapl.service"

# hotfixes
install -D -m644 "etc/modprobe.d/surface-debian-disable-algif.conf" "$pkgdir/etc/modprobe.d/surface-debian-disable-algif.conf"

# copy license
install -D -m644 "LICENSE" "$pkgdir/LICENSE"

Expand Down
6 changes: 6 additions & 0 deletions pkg/deb/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
surface-control (0.5.1-1) unstable; urgency=medium

* Hotfix kernel CVE-2026-31431

-- Daniel Tang <danielzgtg.opensource@gmail.com> Thu, 30 Apr 2026 04:32:59 -0400

surface-control (0.5.0-1) unstable; urgency=medium

* Add systemd service to disable Intel RAPL PL4 on resume
Expand Down
2 changes: 2 additions & 0 deletions pkg/deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ override_dh_install:
mkdir -p "${pkgdir}/usr/lib/systemd/system/suspend.target.wants"
ln -sT "../surface-rapl.service" "${pkgdir}/usr/lib/systemd/system/suspend.target.wants/surface-rapl.service"

# hotfixes
install -D -m644 "etc/modprobe.d/surface-debian-disable-algif.conf" "${pkgdir}/etc/modprobe.d/surface-debian-disable-algif.conf"
%:
dh $@
Loading