mirror of
https://github.com/ublue-os/akmods.git
synced 2026-11-03 14:59:42 -09:00
feat: Add support for logitech-trueforce wheels to OGC and OGC-lts (#615)
This commit is contained in:
parent
e2b0f07d8f
commit
8e5352bd3b
3 changed files with 29 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ set ${CI+-x} -euo pipefail
|
|||
/tmp/build-kmod-system76-io.sh || echo "SKIPPED: system76-io"
|
||||
/tmp/build-kmod-hid-tmff2.sh || echo "SKIPPED: hid-tmff2"
|
||||
/tmp/build-kmod-new-lg4ff.sh || echo "SKIPPED: new-lg4ff"
|
||||
/tmp/build-kmod-logitech-trueforce.sh || echo "SKIPPED: logitech-trueforce"
|
||||
/tmp/build-kmod-t150-driver.sh || echo "SKIPPED: t150-driver"
|
||||
/tmp/build-kmod-hid-fanatecff.sh || echo "SKIPPED: hid-fanatecff"
|
||||
/tmp/build-kmod-sc0710.sh || echo "SKIPPED: sc0710"
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ The `nvidia` and `nvidia-open` images contains
|
|||
| extra | [hid-fanatecff](https://github.com/gotzl/hid-fanatecff) | Fanatec wheel base force feedback | [Terra](https://github.com/terrapkg/packages) |
|
||||
| extra | [hid-tmff2](https://github.com/Kimplul/hid-tmff2) | Thrustmaster T300RS, T248, TX, T128, T598, T-GT II, TS-XW force feedback | [Terra](https://github.com/terrapkg/packages) |
|
||||
| extra | [kvmfr](https://github.com/gnif/looking-glass) | KVM framebuffer relay kernel module for use with Looking Glass | [](https://copr.fedorainfracloud.org/coprs/hikariknight/looking-glass-kvmfr/package/kvmfr-kmod) |
|
||||
| extra | [logitech-trueforce](https://github.com/mescon/logitech-trueforce-linux-driver) | Logitech RS50, G PRO, and G923 force feedback and TrueForce support | [Terra](https://github.com/terrapkg/packages) |
|
||||
| extra | [nct6687d](https://github.com/Fred78290/nct6687d) | Linux kernel module for Nuvoton NCT6687D/NCT6687-R motherboard fan control | [Terra](https://github.com/terrapkg/packages) |
|
||||
| extra | [new-lg4ff](https://github.com/berarma/new-lg4ff) | Logitech force feedback wheels | [Terra](https://github.com/terrapkg/packages) |
|
||||
| extra | [ryzen-smu](https://github.com/leogx9r/ryzen_smu) | AMD Ryzen SMU (System Management Unit) driver | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ryzen-smu-kmod) |
|
||||
|
|
|
|||
27
build_files/extra/build-kmod-logitech-trueforce.sh
Executable file
27
build_files/extra/build-kmod-logitech-trueforce.sh
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
set ${CI:+-x} -euo pipefail
|
||||
|
||||
ARCH="$(rpm -E '%_arch')"
|
||||
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
RELEASE="$(rpm -E '%fedora')"
|
||||
|
||||
cp /tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/terra.repo /etc/yum.repos.d/
|
||||
curl -LsSf -o /etc/pki/rpm-gpg/RPM-GPG-KEY-terra"${RELEASE}" \
|
||||
"https://raw.githubusercontent.com/terrapkg/packages/f${RELEASE}/anda/terra/gpg-keys/RPM-GPG-KEY-terra${RELEASE}"
|
||||
rpmkeys --import /etc/pki/rpm-gpg/RPM-GPG-KEY-terra"${RELEASE}"
|
||||
|
||||
### BUILD logitech-trueforce (succeed or fail-fast with debug output)
|
||||
dnf install -y \
|
||||
akmod-logitech-trueforce-*.fc"${RELEASE}"."${ARCH}"
|
||||
akmods --force --kernels "${KERNEL}" --kmod logitech-trueforce
|
||||
modinfo /usr/lib/modules/"${KERNEL}"/extra/logitech-trueforce/hid-logitech-dd.ko.xz > /dev/null \
|
||||
|| (find /var/cache/akmods/logitech-trueforce/ -name \*.log -print -exec cat {} \; && exit 1)
|
||||
|
||||
mkdir -p /var/cache/rpms/extra
|
||||
dnf download --destdir /var/cache/rpms/extra \
|
||||
logitech-trueforce
|
||||
|
||||
rm -f /var/cache/rpms/extra/*.src.rpm
|
||||
|
||||
rm -f /etc/yum.repos.d/terra.repo
|
||||
Loading…
Reference in a new issue