qpi-config¶
Copyright © Quectel Wireless Solutions Co., Ltd. 2026. All rights reserved.
qpi-config is a tool for configuring the Quectel Pi H1 smart single-board computer. It supports the following functions:
Configure the operating mode and brightness of the on-board LEDs.
Configure the operating mode of the fan interface and the fan speed.
Configure the operating mode of the 40-pin interface.
Query the temperature of each system module.
Configure Wi-Fi.
On-board LED configuration¶
Run the following command to configure the LED operating mode:
sudo qpi-config led mode {blue | green | red} {heartbeat | none}
Run the following command to configure the LED brightness (0–511, from dimmest to brightest):
sudo qpi-config led brightness <blue|green|red> <0-511>
Fan configuration¶
Operating mode¶
By default, the fan operates in automatic thermal mode. Run the following command to switch to manual mode:
sudo systemctl stop fan_ctrl
To switch back to automatic thermal mode, run:
sudo systemctl start fan_ctrl
Fan speed¶
In manual mode, run the following command to set the fan speed (0–255, from lowest to highest speed; 0: completely stopped, 255: full speed):
sudo qpi-config fan set speed <0-255>
40-Pin header operating mode configuration¶
Edit the configuration file /etc/qpi-config/qpi-config.ini. As shown below, the configurable options include:¶
i2c9/ spi10/ uart12_2w/ pwm1/ uart4/ i2c13/ spi14: Low-speed buses. Set to enable or disable to enable or disable each bus. Note that gpio47 must be pulled high before enabling spi14.
led_red_trigger/ led_blue_trigger/ led_green_trigger: Red, blue, and green LED triggers. Set to none or heartbeat for manual mode and heartbeat mode, respectively.
led_red_brightness/ led_blue_brightness/ led_green_brightness: LED brightness for red, blue, and green LEDs. Set to 0–511 (from dimmest to brightest).
fan_speed: Fan speed. Set to 0–255 (from lowest to highest speed; 0: completely stopped, 255: full speed).
dumpenable: Memory dump toggle. Set to 0 or 1 to disable or enable the dump feature, respectively.
lsm6dsoenable: IMU enable toggle. Set to 0 or 1 to disable or enable the IMU feature, respectively.
Run the following commands and reboot the system to apply the configuration:¶
sudo qpi-config 40pin set
sudo reboot
Note
The configuration takes effect after the smart mainboard reboots. Make sure to save all open files before rebooting.
Query system module temperatures¶
Run the following command to query the module temperatures:
sudo qpi-config dump temperature
Configure Wi-Fi¶
Run the following command to scan for Wi-Fi networks:
sudo qpi-config wifi scan
Run the following command to connect to a Wi-Fi:
sudo qpi-config wifi connect <ssid> <password>
Once connected, the corresponding wireless network status displays as Connected, and the Wi-Fi icon appears in the top-right corner.
Run the following command to view the existing Wi-Fi connection:
sudo qpi-config wifi show
Run the following command to view the Wi-Fi connection configuration details:
sudo qpi-config wifi dump <connection_uuid>
Run the following command to remove the Wi-Fi connection:
sudo qpi-config wifi remove <connection uuid>