Skip to content

Commit

Permalink
add surface images
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingneko committed Oct 1, 2024
1 parent 3bac236 commit d9c3003
Show file tree
Hide file tree
Showing 8 changed files with 160 additions and 1 deletion.
2 changes: 1 addition & 1 deletion katsu/modules/ports/chromebook/mt8183/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This is our most complete port. Our reference device is the Lenovo Chromebook Du

## Known Issues

- Krane may loudly beep if the speakers are active within 15 seconds of sleep.
- Devices may loudly beep if the speakers are active within 15 seconds of sleep.
21 changes: 21 additions & 0 deletions katsu/modules/ports/surface/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Microsoft Surfaces

These are not a new edition, they are simply Ultramarine with the Surface kernel preinstalled.

Special thanks to the Linux Surface team.

## Known Issues

These are issues that the community has experienced personally in Ultramarine, there may be more issues covered in the [Linux Surface Wiki](https://github.com/linux-surface/linux-surface/wiki)

### Surface Laptop Go

- Intel Panel Self Refresh PSR causes screen tearing on Surface Laptop Go
To solve this, simply add `i915.enable_psr=0` to your kernel commandline.
- Touchpad may stop responding after resuming from suspend
You will have to reload the touchpad driver, see instructions on doing this after resume [here](https://github.com/linux-surface/linux-surface/wiki/Surface-Laptop-Go).

### Surface Pro 3

- Type cover causes the system to randomly suspend in GNOME Edition
- Thermal management is less effective under Linux
31 changes: 31 additions & 0 deletions katsu/modules/ports/surface/flagship-live.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
builder: dnf

import:
- ../../../base/base.yaml
- ../../../live/live.yaml
- ../../flagship/flagship.yaml
- surface.yaml

distro: Ultramarine Linux 41 (Flagship Edition)

out_file: ultramarine-flagship-41-surface.iso

bootloader: grub

kernel_cmdline: "quiet rhgb"

iso:
volume_id: UM-Flagship-Live

scripts:
post:
- id: flagship-live
name: Set up Flagship Live
file: ../../flagship/flagship-live.sh
- id: surface.sh
name: Enable Surface Watchdog
file: ./surface.sh

dnf:
releasever: 41
exec: dnf4
31 changes: 31 additions & 0 deletions katsu/modules/ports/surface/gnome-live.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
builder: dnf

import:
- ../../base/base.yaml
- ../../live/live.yaml
- ../../gnome/gnome.yaml
- surface.yaml

distro: Ultramarine GNOME 41

out_file: ultramarine-gnome-41-surface.iso

bootloader: grub

kernel_cmdline: "quiet rhgb"

iso:
volume_id: UM-Gn-Live

scripts:
post:
- id: gnome-live
name: Set up GNOME Live
file: gnome-live.sh
- id: surface.sh
name: Enable Surface Watchdog
file: ./surface.sh

dnf:
releasever: 41
exec: dnf4
31 changes: 31 additions & 0 deletions katsu/modules/ports/surface/plasma-live.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
builder: dnf

import:
- ../../base/base.yaml
- ../../live/live.yaml
- ../../plasma/plasma.yaml
- surface.yaml

distro: Ultramarine Linux 41 (Plasma Edition)

out_file: ultramarine-plasma-41-surface.iso

scripts:
post:
- id: plasma-live
name: Set up Plasma Live
file: ./plasma-live.sh
- id: surface.sh
name: Enable Surface Watchdog
file: ./surface.sh

bootloader: grub

kernel_cmdline: "quiet rhgb"

iso:
volume_id: UM-Kd-Live

dnf:
releasever: 41
exec: dnf4
4 changes: 4 additions & 0 deletions katsu/modules/ports/surface/surface.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -x

# enable the surface kernel watchdog to force grub to highlight it regardless of which entry it is
sudo systemctl enable linux-surface-default-watchdog.path
10 changes: 10 additions & 0 deletions katsu/modules/ports/surface/surface.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
builder: dnf

dnf:
releasever: 41
exec: dnf4
packages:
- kernel-surface
- iptsd
- libwacom-surface
- kernel-surface-devel
31 changes: 31 additions & 0 deletions katsu/modules/ports/surface/xfce-live.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
builder: dnf

import:
- ../../base/base.yaml
- ../../live/live.yaml
- ../../xfce/xfce.yaml
- surface.yaml

distro: Ultramarine Linux 41 (Xfce Edition)

out_file: ultramarine-xfce-41-surface.iso

bootloader: grub

kernel_cmdline: "quiet rhgb"

iso:
volume_id: UM-Xfce-Live

scripts:
post:
- id: xfce-live
name: Set up XFCE Live
file: ./xfce-live.sh
- id: surface.sh
name: Enable Surface Watchdog
file: ./surface.sh

dnf:
releasever: 41
exec: dnf4

0 comments on commit d9c3003

Please sign in to comment.