Difference between revisions of "X885-software"
Jump to navigation
Jump to search
(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...") |
|||
Line 1: | Line 1: | ||
{{GD Template Impl}} | {{GD Template Impl}} | ||
− | |||
1. Update software & Install dependencies | 1. Update software & Install dependencies | ||
Line 31: | Line 30: | ||
* press on-board blue button 7-8 seconds to force shutdown. | * press on-board blue button 7-8 seconds to force shutdown. | ||
− | + | 4. Setting up the PWM cooling fan | |
− | + | <pre> | |
− | + | cd ~ | |
− | + | cd X885 | |
+ | python fan.py | ||
+ | </pre> | ||
+ | or | ||
+ | python3 fan.py | ||
<!--Add review function! --> | <!--Add review function! --> |
Revision as of 19:19, 28 November 2022
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
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
3. Test safe shutdown command:
xoff
- 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.
4. Setting up the PWM cooling fan
cd ~ cd X885 python fan.py
or
python3 fan.py
Enable comment auto-refresher
Anonymous user #5
Permalink |
Anonymous user #2
Permalink |
Anonymous user #3
Anonymous user #4
Walker
Anonymous user #4
Walker
Anonymous user #1
Permalink |
Anonymous user #2
Anonymous user #4