Open main menu

Changes

X735-script

112 bytes removed, 10 April
Above X735-script mainly implements three functions of [[X735]] hardware:
1. '''Fan service''': Use shell scripts or other high-level languages such as python to control the pwm fan; (corresponding to the wiki page https://wiki.geekworm.com/X735-script[[#Create_the_x735-fan_service]])
2. '''Power management service''': Use the shell to detect the user's keystrokes in real time to perform a safe shutdown or restart; (corresponding to https://wiki.geekworm.com/X735-script[[t#Create_the_x735-pwr_service]])
3. '''Software shutdown service''': Provides a shell script to implement command line shutdown (corresponding to https://wiki.geekworm.com/X735-script[[#Prepair_software_shutdown_script]])
Among them, the purpose of editing '''config.txt''' is to support the x735 fan service. Since the '''/boot''' directory of '''umbrel''' is read-only, we cannot edit the config.txt file, so we cannot use the method provided on our wiki page to install the x735 fan service. , that is, after you install the fan service, the fan of the X735 will still not run; but the other two functions can be used. You only need to follow the above steps on the current page to achieve '''pressing button to shutdown''' and '''software command line shutdown'''; (PS: After the installation is completed, you can '''press the key for 3 seconds''' to test whether the safe shutdown of the X735 is working properly).