Open main menu

Changes

X735-script

714 bytes added, 23:22, 29 October 2025
2. The script now supports the Raspberry Pi OS '''Trixie''' and '''BOOKWORM''' version. You just need to '''uninstall''' the original script and '''reinstall''' it. Please refer to the following:
Open ternimal window, then run the following command:
===Clone the script===
Clone pruduct software scriptif use the last '''Trixie''' OS git clone -b trixie https://github.com/geekworm-com/x735-script Please use the following command to get the software script if you are using '''BOOKWORM''' OS
git clone https://github.com/geekworm-com/x735-script
'''PS''': Run the following command to view system information:
<pre>
pi@geekworm:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 13 (trixie)
Release: 13
Codename: trixie
</pre>
The above last line "Codename" indicates that the current system is '''Trixie''' OS.
 
Then set executable permissions for script files:
cd x735-script
chmod +x *.sh
===Create the x735-pwr service===
PS: If you use '''X735 V1.0''', you need to modify '''x735-pwr.service''' file to adapt to the different GPIO of '''X735 v1.0''', you can refer to line 10 of '''x735-pwr.service'''file.
sudo ./install-pwr-service.sh
sudo cp -f ./xSoft.sh /usr/local/bin/
2. Then run the following command to create a alias 'x735off' command
 
for X735 V3.0 V2.5 V2.1 V2.0
echo 'alias x735off="sudo /usr/local/bin/xSoft.sh '''0''' 20"' >> ~/.bashrc
for X735 1.0
echo 'alias x735off="sudo /usr/local/bin/xSoft.sh '''0''' 18"' >> ~/.bashrc
3. Run the following command to make the alias '''x735off''' effective
source ~/.bashrc