Difference between revisions of "X-C1 Software"
Line 30: | Line 30: | ||
</pre> | </pre> | ||
− | ==For ubuntu mate | + | ==For ubuntu mate / ubuntun desktop / ubuntu server== |
− | Test this script based on ubuntu-mate-20.04.1-desktop | + | Test this script based on the following OS: |
+ | * ubuntu-mate-20.04.1-desktop | ||
+ | * ubuntu server 21.04 | ||
+ | * ubuntu-21.04-preinstalled-desktop-arm64+raspi | ||
'''install''' | '''install''' |
Revision as of 15:02, 31 July 2021
Contents
For Raspbian / RetroPie / Twister OS v2.0.2
Test this script based on RetroPie 4.7.1, Raspbian 2021-05-07-raspios-buster-armhf and Twister OS v2.0.2.
install
cd ~ sudo apt-get update sudo apt-get install -y pigpio python-pigpio python-smbus python3-pigpio git clone https://github.com/geekworm-com/x-c1.git cd x-c1 sudo chmod +x *.sh sudo bash install.sh sudo reboot
PWM fan control
The script is installed successfully and the fan starts to run
Test safe shutdown
xoff
- xoff is safe shutdown command
- press button 1-2 seconds to reboot
- press button 3 seconds to safe shutdown,
- press 7-8 seconds to force shutdown.
uninstall
sudo ./uninstall.sh
For ubuntu mate / ubuntun desktop / ubuntu server
Test this script based on the following OS:
- ubuntu-mate-20.04.1-desktop
- ubuntu server 21.04
- ubuntu-21.04-preinstalled-desktop-arm64+raspi
install
cd ~ sudo apt-get update sudo apt-get upgrade sudo apt-get install -y unzip make gcc python git wiringpi python3-pigpio python-setuptools sudo apt-get install -y python3-distutils #install pigpio library, also refer to http://abyz.me.uk/rpi/pigpio/download.html wget https://github.com/joan2937/pigpio/archive/master.zip unzip master.zip cd pigpio-master sudo make sudo make install cd ~ git clone https://github.com/geekworm-com/x-c1 cd x-c1 sudo chmod +x *.sh sudo bash install-ubuntu.sh echo "alias xoff='sudo /usr/local/bin/x-c1-softsd.sh'" >> ~/.bashrc sudo reboot
uninstall
sudo ./uninstall-ubuntu.sh
For myNode OS
About myNode, please refer to http://www.mynodebtc.com/
Install
login to mynode teminal via Putty or Xsheel tool, the default user name is `admin`, password is `bolt`, then run the following command:
sudo apt-get update sudo apt-get install pigpio python-pigpio python-smbus wiringpi -y git clone https://github.com/geekworm-com/x-c1 cd x-c1 chmod +x *.sh sudo bash install-mynode.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
- xoff is safe shutdown command
- press button 1-2 seconds to reboot
- press button 3 seconds to safe shutdown,
- press 7-8 seconds to force shutdown.
uninstall
./uninstall-mynode.sh
For DietPi
Install
Test it base DietPi_RPi-ARMv8-Buster.img
login via teminal window, the default user name is `root`, password is `dietpi`, then run the following command:
sudo apt-get update sudo apt-get install git pigpio python python-pigpio python-smbus wiringpi -y git clone https://github.com/geekworm-com/x-c1 cd x-c1 chmod +x *.sh sudo bash install-dietPi.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
- xoff is safe shutdown command
- press button `1-2` seconds to reboot
- press button `3` seconds to safe shutdown,
- press `7-8` seconds to force shutdown.
uninstall
sudo ./uninstall-dietPi.sh
For Manjaro
About Manjaro, please refer to https://manjaro.org/
Test this script based on Manjaro-ARM-kde-plasma-rpi4-21.07.img
install
cd ~ sudo pacman -Syyu sudo pacman -S unzip make gcc python python-setuptools git #install pigpio library, also refer to http://abyz.me.uk/rpi/pigpio/download.html wget https://github.com/joan2937/pigpio/archive/master.zip unzip master.zip cd pigpio-master sudo make sudo make install sudo cp /usr/local/lib/libpigpio* /usr/lib/ #install wiringpi git clone https://github.com/WiringPi/WiringPi.git cd WiringPi ./build cd ~ git clone https://github.com/geekworm-com/x-c1 cd x-c1 sudo chmod +x *.sh sudo bash install-manjaro.sh #create a alias xoff 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
- xoff is safe shutdown command
- press button `1-2` seconds to reboot
- press button `3` seconds to safe shutdown,
- press `7-8` seconds to force shutdown.
uninstall
sudo ./uninstall-ubuntu.sh
return to NASPi
Enable comment auto-refresher
Anonymous user #73
Permalink |
Lisa
Anonymous user #72
Permalink |
Anonymous user #71
Permalink |
Anonymous user #70
Permalink |
Walker
Anonymous user #69
Permalink |
Anonymous user #68
Permalink |
Harry
Harry
Harry
Anonymous user #66
Permalink |
Anonymous user #67
Anonymous user #66
Anonymous user #64
Permalink |
Anonymous user #65
Anonymous user #63
Permalink |
Anonymous user #65
Anonymous user #62
Permalink |
Lisa
Anonymous user #61
Permalink |
Anonymous user #65
Anonymous user #65
Anonymous user #59
Permalink |
Anonymous user #60
Anonymous user #61
Anonymous user #58
Permalink |
Lisa
Anonymous user #58
Lisa
Anonymous user #56
Permalink |
Lisa
Anonymous user #57
Lisa
Anonymous user #55
Permalink |
Lisa
Anonymous user #54
Permalink |
Lisa
Anonymous user #53
Permalink |
Anonymous user #52
Permalink |
Lisa
Anonymous user #51
Permalink |
Lisa
Anonymous user #50
Permalink |
Anonymous user #49
Permalink |
Anonymous user #48
Permalink |
Lisa
Anonymous user #47
Permalink |
Lisa
Anonymous user #46
Permalink |
Lisa
Anonymous user #44
Permalink |
Lisa
Anonymous user #45
Anonymous user #46
Anonymous user #43
Permalink |
Anonymous user #42
Permalink |
Lisa
Anonymous user #41
Permalink |
Lisa
Lisa
Permalink |
Anonymous user #40
Anonymous user #40
Permalink |
Anonymous user #39
Permalink |
Lisa
Anonymous user #38
Permalink |
Lisa
Anonymous user #37
Permalink |
Anonymous user #36
Permalink |
Lisa
Anonymous user #35
Permalink |
Lisa
Anonymous user #34
Permalink |
Anonymous user #33
Permalink |
Anonymous user #32
Permalink |
Lisa
Anonymous user #31
Permalink |
Lisa
Anonymous user #30
Permalink |
Lisa
Anonymous user #28
Permalink |
Anonymous user #29
Anonymous user #27
Permalink |
Lisa
Anonymous user #25
Permalink |
Lisa
Anonymous user #26
Lisa
Anonymous user #17
Anonymous user #24
Permalink |
Anonymous user #24
Permalink |
Lisa
Anonymous user #24
Anonymous user #24
Lisa
Anonymous user #24
Anonymous user #23
Permalink |
Anonymous user #8
Permalink |
Anonymous user #21
Permalink |
Lisa
Anonymous user #22
Permalink |
Anonymous user #21
Permalink |
Anonymous user #21
Lisa