#!/bin/bash
/sbin/modprobe -r psmouse
/sbin/modprobe psmouseMake it executable
[Unit]
Description=Fix freezing psmouse
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
[Service]
ExecStart=/usr/local/bin/psmouse-fix
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
systemctl enable psmouse_fixsudo dnf install make rpm-build gcc-c++ libdrm-develgit clone https://github.com/displaylink-rpm/displaylink-rpm.git
cd displaylink-rpm
make srpmThis creates rpms in i386 and x86_64.
cd x86_64
sudo dnf install ./displaylink-1.9.1-2.x86_64.rpmStarting the systemd service fails with:
Dec 22 22:56:52 colors modprobe[57987]: modprobe: FATAL: Module evdi not found in directory /lib/modules/5.15.10-200.fc35>
git clone https://github.com/nilathedragon/evdicd evdi
sudo cp -r module/* /var/lib/dkms/evdi/1.9.1/source/sudo dkms autoinstall