Changes

Jump to navigation Jump to search

X-C1 Software

1,258 bytes added, 13:38, 24 December 2021
no edit summary
return to [[NASPi]]
==For Volumio ==
Test this script based on the following OS:
* Volumio-3.175-2021-12-13-pi.img
 
'''install'''
 
cd ~
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y git pigpio
sudo apt-get install -y python-pigpio python3-pigpio
sudo apt-get install -y python-smbus python3-smbus
git clone https://github.com/geekworm-com/x-c1.git
cd x-c1
sudo chmod +x *.sh
sudo bash volumio.sh
echo "alias xoff='sudo /usr/local/bin/x-c1-softsd.sh'" >> ~/.bashrc
sudo reboot
 
''' PWM fan control'''
The script is installed successfully and the fan starts to run
 
'''Test safe shutdown'''
xoff
* Please run 'xoff' to shut down or press the on-board button switch to shut down. <span style="color:red;">DON'T run the 'shutdown' linux command to shut down, otherwise the power of X-C1 will not be shut down.</span>
* press button switch `1-2` seconds to reboot
* press button switch `3` seconds to safe shutdown,
* press `7-8` seconds to force shutdown.
 
'''uninstall'''
<pre>
sudo ./uninstall.sh
</pre>
 
'''Note'''
<pre>
Enable SSH:
http://volumio.local/dev/
Name: volumio
Password: volumio
</pre>
we use the default password to run the volumio.sh, please replace default password 'volumio' with your new password in volumio.sh file .(Line 72)
==FAQ==

Navigation menu