This repo is a fork from https://github.com/geekworm-com/x735-script The idea is to adapt it to make it work on openelec distrib with Kodi
For the script to manage the fan we need to add a line in config.txt. As the file system is read only we must follow this sequence (as explained on the libreelec site https://wiki.libreelec.tv/configuration/config_txt)
mount -o remount,rw /flash
nano /flash/config.txt
add line dtoverlay=pwm-2chan,pin2=13,func2=4
as the end
Put back the partition to read-only
mount -o remount,ro /flash
Make a tmp directory :
cd
mkdir x735
Download the repository:
wget https://github.com/bnounours/x735-script-libreelec/archive/refs/heads/main.zip -P /storage/x735
Unzip the archive and install
cd /storage/x735
unzip main.zip
cd x735-script-libreelec-main/
chmod +x *.sh
./install.sh
then Reboot
reboot
Go to /storage/x735 and run script uninstall
/storage/x735/uninstall.sh
You can verify the safety switch through the onboard switch, press and hold the switch for 3 seconds, then the blue LED will flash slowly and the shutdown is going then all LEDs will be off until the device is completely powered off.
- press on-board button switch 1-2 seconds to reboot
- press button switch 3 seconds to safe shutdown,
- press 7-8 seconds to force shutdown.
User Guide: https://wiki.geekworm.com/X735-script
Email: support@geekworm.com