#!/bin/bash
/sbin/modprobe -r psmouse
/sbin/modprobe psmouse
Make 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_fix
sudo dnf install make rpm-build gcc-c++ libdrm-devel
git clone https://github.com/displaylink-rpm/displaylink-rpm.git
cd displaylink-rpm
make srpm
This creates rpms in i386
and x86_64
.
cd x86_64
sudo dnf install ./displaylink-1.9.1-2.x86_64.rpm
Starting 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/evdi
cd evdi
sudo cp -r module/* /var/lib/dkms/evdi/1.9.1/source/
sudo dkms autoinstall