mirror of
https://github.com/ublue-os/akmods.git
synced 2026-11-03 14:59:42 -09:00
feat: add ayaneo-leds to extra akmods (#601)
Joystick ring RGB LEDs on AYANEO handhelds with the legacy EC interface. Built from the akmod-ayaneo-leds package in Terra, the same way as sc0710.
This commit is contained in:
parent
eae7a2299a
commit
9ca07f4edb
3 changed files with 29 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ set ${CI+-x} -euo pipefail
|
|||
/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"
|
||||
/tmp/build-kmod-ayaneo-leds.sh || echo "SKIPPED: ayaneo-leds"
|
||||
/tmp/build-kmod-kvmfr.sh || echo "SKIPPED: kvmfr"
|
||||
RUNEOF
|
||||
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ The `nvidia` and `nvidia-open` images contains
|
|||
| common | [wl](https://github.com/rpmfusion/broadcom-wl/) | support for some legacy broadcom wifi devices | [RPMFusion - nonfree](https://rpmfusion.org/) |
|
||||
| common | [xone](https://github.com/dlundqvist/xone) | xbox one controller USB wired/RF driver modified to work along-side xpad (built from [xonedo](https://github.com/OpenGamingCollective/xonedo) fork) | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/xone-kmod) |
|
||||
| common | [xpadneo](https://github.com/atar-axis/xpadneo) | xbox one controller bluetooth driver | [negativo17 - fedora-multimedia](https://negativo17.org/) |
|
||||
| extra | [ayaneo-leds](https://github.com/TiPSilva/ayaneo-leds) | AYANEO joystick ring RGB LEDs (legacy EC models) | [Terra](https://github.com/terrapkg/packages) |
|
||||
| extra | [evdi](https://github.com/DisplayLink/evdi) | DisplayLink USB graphics adapter support | [negativo17 - fedora-multimedia](https://negativo17.org/) |
|
||||
| extra | [gcadapter_oc](https://github.com/hannesmann/gcadapter-oc-kmod) | Gamecube controller adapter overclocking | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/gcadapter_oc-kmod) |
|
||||
| extra | [hid-fanatecff](https://github.com/gotzl/hid-fanatecff) | Fanatec wheel base force feedback | [Terra](https://github.com/terrapkg/packages) |
|
||||
|
|
|
|||
27
build_files/extra/build-kmod-ayaneo-leds.sh
Executable file
27
build_files/extra/build-kmod-ayaneo-leds.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 ayaneo-leds (succeed or fail-fast with debug output)
|
||||
dnf install -y \
|
||||
akmod-ayaneo-leds-*.fc"${RELEASE}"."${ARCH}"
|
||||
akmods --force --kernels "${KERNEL}" --kmod ayaneo-leds
|
||||
modinfo /usr/lib/modules/"${KERNEL}"/extra/ayaneo-leds/ayaneo-leds.ko.xz > /dev/null \
|
||||
|| (find /var/cache/akmods/ayaneo-leds/ -name \*.log -print -exec cat {} \; && exit 1)
|
||||
|
||||
mkdir -p /var/cache/rpms/extra
|
||||
dnf download --destdir /var/cache/rpms/extra \
|
||||
ayaneo-leds
|
||||
|
||||
rm -f /var/cache/rpms/extra/*.src.rpm
|
||||
|
||||
rm -f /etc/yum.repos.d/terra.repo
|
||||
Loading…
Reference in a new issue