diff --git a/PKGBUILD/inputplumber/PKGBUILD b/PKGBUILD/inputplumber/PKGBUILD index 31f835dd..b65c7db5 100644 --- a/PKGBUILD/inputplumber/PKGBUILD +++ b/PKGBUILD/inputplumber/PKGBUILD @@ -2,7 +2,7 @@ # Upstream maintainer: William Edwards pkgname=inputplumber _pkgbase=inputplumber -pkgver=v0.32.1 +pkgver=v0.32.2 pkgrel=1 pkgdesc="Open source input router and remapper daemon for Linux" arch=('x86_64') diff --git a/PKGBUILD/linux/0001-drm-panel-orientation-quirks.patch b/PKGBUILD/linux/0001-drm-panel-orientation-quirks.patch index 47642319..e603c862 100644 --- a/PKGBUILD/linux/0001-drm-panel-orientation-quirks.patch +++ b/PKGBUILD/linux/0001-drm-panel-orientation-quirks.patch @@ -88,7 +88,7 @@ diff -rupN linux-6.9.11.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c linu + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_MATCH(DMI_PRODUCT_NAME, "SLIDE"), + }, -+ .driver_data = (void *)&lcd1080x1920_bottom_up, ++ .driver_data = (void *)&lcd1080x1920_leftside_up, + }, { /* AYN Loki Zero, Max, Max Pro */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"), diff --git a/PKGBUILD/linux/PKGBUILD b/PKGBUILD/linux/PKGBUILD index 6fa67538..dc06f824 100644 --- a/PKGBUILD/linux/PKGBUILD +++ b/PKGBUILD/linux/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=linux pkgver=6.10.2 -pkgrel=4 +pkgrel=6 pkgdesc="Linux Stable" arch=(x86_64) url="https://kernel.org/" @@ -62,7 +62,7 @@ validpgpkeys=( ) sha256sums=('SKIP' 'a50f15c70227e17023211fd79c5064e328967023a5d60446c8b82f25d708ff13' # config -'b8a6aa580aba7a76fc6f37d3478082d03f062fbce5782c5e239d667866bc5727' # 0001-drm-panel-orientation-quirks.patch +'2fde7b646741397b0847ff71fe42ec178aef7de2436cc5531b0e725e878dccf8' # 0001-drm-panel-orientation-quirks.patch '783da391e0f45635eefb583b8b3acc29cd62a0c9eeefedf7f790dc2f89c7e279' # 0006-Ayaneo-geek-headset-patch.patch '33edff1a51ceb763c47b3ae485f5857a716a1dac9f1e8b65c3b93c6e88a4838f' # 0007-ayaneo-2-headphone-fix.patch 'c6867ab6a95146e796dee888283fdae95837b8f53487e659f6d66bc458054b14' # 0008-ayaneo-1s-hp-fix.patch diff --git a/PKGBUILD/steamfork-device-support/PKGBUILD b/PKGBUILD/steamfork-device-support/PKGBUILD index b2505cdc..cd8a82a0 100644 --- a/PKGBUILD/steamfork-device-support/PKGBUILD +++ b/PKGBUILD/steamfork-device-support/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Fewtarius pkgname=steamfork-device-support -pkgver=2024.08.01 -pkgrel=3 +pkgver=2024.08.02 +pkgrel=1 pkgdesc='Hardware support provider for PC handhelds.' arch=('any') url='http://www.steamfork.org' diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/bin/fancontrol b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/bin/fancontrol new file mode 120000 index 00000000..b5f259cf --- /dev/null +++ b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/bin/fancontrol @@ -0,0 +1 @@ +../../AYANEO-AIR/bin/fancontrol \ No newline at end of file diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/001-fan b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/001-fan new file mode 100755 index 00000000..55d2476c --- /dev/null +++ b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/001-fan @@ -0,0 +1,6 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) +# Copyright (C) 2024 Fewtarius + +systemctl restart steamfork-fancontrol diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/002-freq b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/002-freq new file mode 100755 index 00000000..d5509b9f --- /dev/null +++ b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/002-freq @@ -0,0 +1,23 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2024 Fewtarius + +. /etc/profile + +RESTORE_CPU=$(get_setting sleep.cpugovernor) +RESTORE_GPU=$(set_setting sleep.gpulevel) + +for CORE in $(find /sys/devices/system/cpu/cpu* -name online) +do + echo 1 > ${CORE} +done + +for CORE in $(find /sys/devices/system/cpu/cpufreq -name policy*) +do + echo ${RESTORE_CPU} >${CORE}/scaling_governor +done + +for CARD in $(find /sys/class/drm/card* -name power_dpm_force_performance_level) +do + echo ${RESTORE_GPU} >${CARD} +done diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/001-fan b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/001-fan new file mode 100755 index 00000000..04c2d378 --- /dev/null +++ b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/001-fan @@ -0,0 +1,12 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) +# Copyright (C) 2024 Fewtarius + +systemctl stop fancontrol + +DEVICE_PWM_FAN="$(find /sys/devices/platform/oxp-platform -name pwm1)" +DEVICE_FAN_INPUT="$(find /sys/devices/platform/oxp-platform -name fan*_input)" + +echo 1 >${DEVICE_PWM_FAN} +echo 0 >${DEVICE_FAN_INPUT} diff --git a/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/002-freq b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/002-freq new file mode 100755 index 00000000..a7aef54d --- /dev/null +++ b/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/002-freq @@ -0,0 +1,29 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2024 Fewtarius + +. /etc/profile + +set_setting sleep.cpugovernor $(cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor) +set_setting sleep.gpulevel $(cat /sys/class/drm/card*/device/power_dpm_force_performance_level | tail -n 1) + +for CORE in $(find /sys/devices/system/cpu/cpufreq -name policy*) +do + echo powersave >${CORE}/scaling_governor +done + +for CARD in $(find /sys/class/drm/card* -name power_dpm_force_performance_level) +do + echo low >${CARD} +done + +COUNT=1 +for CORE in $(find /sys/devices/system/cpu/cpu* -name online) +do + if (( ${COUNT} <= 2 )) + then + COUNT=$(( ${COUNT} + 1 )) + continue + fi + echo 0 > ${CORE} +done