Surface Kernel on Fedora

I installed Fedora 42 this summer on my MS Surface Book since MS was stopping support of windows 10 this October. Fedora 42 works well on my surface book but I do not have access to the touch screen or use of the pen, which is minor. However, Copilot told me about a Surface Kernel for Fedora. The the Linux Surface project’s repo setup is in flux since copilot can not find the correct link for the GPG key. The link it provided and which failed was: https://linux-surface.github.io/linux-surface.key. However, when I searched for a linux-surface key I only found links to the Arch and Debian distros. Does Fedora support the linux-surface kernel and can you point me to the correct links for the linux-surface.repo and linux-surface.key.

Wonderful job on Fedora 42, I love it.

Kind regards,

Patrick O’Neill
Newfoundland, Canada

I found some answers and thought I would post my terminal history for those of you interested in installing the linux surface kernel which I have now installed and the touch screen and pen work as expected.

Terminal history:
sudo curl -o /etc/yum.repos.d/linux-surface.repo https://raw.githubusercontent.com/linux-surface/linux-surface/master/linux-surface.repo
sudo rpm --import https://raw.githubusercontent.com/linux-surface/linux-surface/master/linux-surface.key
rm linux-surface.repo
sudo rm linux-surface.repo
https://pkg.surfacelinux.com/fedora/linux-surface.repo
sudo nano /etc/yum.repos.d/linux-surface.repo
sudo dnf config-manager --add-repo=https://pkg.surfacelinux.com/fedora/linux-surface.repo
sudo dnf install ‘dnf-command(config-manager)’
sudo dnf config-manager --add-repo https://pkg.surfacelinux.com/fedora/linux-surface.repo
sudo nano /etc/yum.repos.d/linux-surface.repo
sudo dnf update
sudo nano /etc/yum.repos.d/linux-surface.repo
sudo dnf update
uname -r
sudo dnf install kernel-surface

This is redundant but is from fpaste and show the timelog of the above information.
spdlog-1.15.3-1.fc42.x86_64 Tue 23 Sep 2025 11:14:30 PM NDT
kernel-surface-default-watchdog-6.15.3-1.surface.fc42.x86_64 Tue 23 Sep 2025 11:14:30 PM NDT
kernel-surface-6.15.3-1.surface.fc42.x86_64 Tue 23 Sep 2025 11:14:30 PM NDT
iptsd-3.0.1-1.fc42.x86_64 Tue 23 Sep 2025 11:14:30 PM NDT
kernel-surface-modules-6.15.3-1.surface.fc42.x86_64 Tue 23 Sep 2025 11:14:23 PM NDT
kernel-surface-core-6.15.3-1.surface.fc42.x86_64 Tue 23 Sep 2025 11:14:21 PM NDT
kernel-surface-modules-core-6.15.3-1.surface.fc42.x86_64 Tue 23 Sep 2025 11:14:20 PM NDT
gpg-pubkey-ac421453-5e26161e Tue 23 Sep 2025 11:14:13 PM NDT