Open main menu

Changes

XScript

1,035 bytes added, 17:14, 13 December 2023
no edit summary
After your system boots, then you need to open <code>Terminal</code> prpgram, then type the following command to complete the installation of the script
 
'''[NOTE]'''
 
If you are using an '''ubuntu''' system, '''DO NOT''' use version '''ubuntu 23.04''', otherwise you will get an error similar to the following when you run x735off:
<pre>
/usr/local/bin/x735-softsd.sh: line 5: /sys/class/gpio/export: No such file or directory
/usr/local/bin/x735-softsd.sh: line 6: /sys/class/gpio/gpio20/direction: No such file or directory
/usr/local/bin/x735-softsd.sh: line 7: /sys/class/gpio/gpio20/value: No such file or directory
Your device will shutting down in 4 seconds...
/usr/local/bin/x735-softsd.sh: line 19: /sys/class/gpio/gpio20/value: No such file or directory
</pre>
 
There is no '''gpio''' directory in the '''/sys/class''' directory
 
The reason for the error is because since Ubuntu 23.04 uses the latest 6.2 Linux kernel, we wait for the official update;
 
We recommend that you use '''ubuntu 22.04''', and we have also tested the current script on version 22.04.
 
'''PS''': You can refer to [https://github.com/geekworm-com/x735-script/issues/2 this post] to know more detail:
==OS that has been tested==