double-click qam for overlayNew hhd overlay is now available! Check your "Core Settings" in the plugin to see if it's installed. Check this toggle to remove this notificationdouble-click qam for overlayNew hhd overlay is now available! Check your "Core Settings" in the plugin to see if it's installed. Check this toggle to remove this notification#!/bin/bash
# turn off leds setting brightness to zero
cd /sys/class/leds/multicolor:chassis && echo 0 | tee brightness
# credits to: https://docs.google.com/document/d/17a0F6Wsdak1ekE6XDUn749BNynU5mj8FH9vpzDWm_bg
# Loki mini pro uses hwmon5 instead of hwmon6
FAN=/sys/class/hwmon/hwmon5
temp_1=45
speed_1=32
temp_2=55
speed_2=48
temp_3=60
speed_3=64
temp_4=65
speed_4=96
temp_5=70
speed_5=128
# set fan control to manual
echo 2 > $FAN/pwm1_mode
# set fan curve
echo $speed_1 > $FAN/pwm1_auto_point1_pwm
echo $temp_1 > $FAN/pwm1_auto_point1_temp
echo $speed_2 > $FAN/pwm1_auto_point2_pwm
echo $temp_2 > $FAN/pwm1_auto_point2_temp
echo $speed_3 > $FAN/pwm1_auto_point3_pwm
echo $temp_3 > $FAN/pwm1_auto_point3_temp
echo $speed_4 > $FAN/pwm1_auto_point4_pwm
echo $temp_4 > $FAN/pwm1_auto_point4_temp
echo $speed_5 > $FAN/pwm1_auto_point5_pwm
echo $temp_5 > $FAN/pwm1_auto_point5_temp
# batocera pro scripts
bash /userdata/system/pro-custom.sh &