-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Ayaneo Slide orientation issues.
* InputPlumber v0.32.2
- Loading branch information
Showing
9 changed files
with
77 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Upstream maintainer: William Edwards <[email protected]> | ||
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') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...k-device-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/bin/fancontrol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../AYANEO-AIR/bin/fancontrol |
6 changes: 6 additions & 0 deletions
6
...ce-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/001-fan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
23 changes: 23 additions & 0 deletions
23
...e-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/post/002-freq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
12 changes: 12 additions & 0 deletions
12
...ice-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/001-fan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |
29 changes: 29 additions & 0 deletions
29
...ce-support/src/etc/lib/steamfork_hwsupport/devicequirks/AYANEO-SLIDE/sleep.d/pre/002-freq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |