Open main menu

Changes

X885-software

1,055 bytes added, 19:18, 28 November 2022
Created page with "{{GD Template Impl}} ==Overview== 1. Update software & Install dependencies sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y install i2c-tools python3-smbus python..."
{{GD Template Impl}}
==Overview==

1. Update software & Install dependencies
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install i2c-tools python3-smbus python3-rpi.gpio

2. Setting up the power management script
<pre>
cd ~
git clone https://github.com/geekworm-com/X885
cd x729
chmod +x *.sh
sudo bash pwr.sh

#Setting up the command to turn off xoff from software
printf "%s\n" "alias x729off='sudo xsoftsd.sh'" >> ~/.bashrc

#Reboot the Raspberry Pi or '''long press on-board button switch to turn off'''
sudo reboot
</pre>

3. Test safe shutdown command:
<pre>
xoff
</pre>
* '''xoff''' is safe shutdown command
* press on-board blue button 1-2 seconds to reboot
* press on-board blue button 3 seconds to safe shutdown,
* press on-board blue button 7-8 seconds to force shutdown.


==Packing List==

==User Manual==

<!--Add review function! -->
<comments />

<!--Please choose the -->
<!--Remove other categories, just keep the appropriate categories -->

[[Category:Product Manual]]
[[Category:Raspberry pi]]
[[Category:Knowledge]]