Changes

Jump to navigation Jump to search

X708-Software

727 bytes added, 20:21, 24 July 2023
no edit summary
{{GD Template Impl}}
 
<big>Although this installation tutorial is still available, but we strongly recommend that you use [[X708-script]] new tutorial, and we no longer maintain this page.</big>
 
==For Raspberry Pi OS==
If you can't find i2c address 36, it means the X708 is not connected properly, or your raspberry pi board is broken.
3.1. Download x708 setup scripts:
cd ~
git clone https://github.com/geekworm-com/x708v2
fan.py provides a method that can switch the fan speed.
It should be noted that the x708 does not use a PWM fan, it only supports two speed modes (low speed and high speed). In the fan.py file, the speed mode of the fan is controlled by reading the temperature of the CPU in real time. You need to read the fan.py code to understand more logic.
You can control the fan running at high speed or low speed via modify the CPU temperature threshold in fan.py script file (yellow highlight line)
</syntaxhighlight>
'''[PS]''' You * If you can't understand, please ignore this step. Because the X708 fan will run at low speed by default, this cooling capacity is sufficient.* If you have full control over the runing of the fan, you need to run 'python3 /home/pi/x708v2/raspberry-pi-os/fan.py', and you need to create a crontab jobalso, and then put this run command ('@reboot python3 /home/XX/x708v2/raspberry-pi-os/fan.py 'XX' is your username, you need replace it with your username.') into the job, so that the command will run automatically when the device restarts. refer to [[X708-Software#FAQ]]
9. Uninstall
cd ~/x708v2/raspberry-pi-os/
sudo bash uninstall.sh
 
10. About '''AUTO ON'''
 
After shutting down, you need to wait about 60 seconds until the battery capacity indicator of X708 goes out, otherwise the AUTO ON function may be invalid. Because the charge remaining in the power adapter may affect the AUTO ON function.
== For Ubuntu==

Navigation menu