Other issues

Copyright © Quectel Wireless Solutions Co., Ltd. 2026. All rights reserved.


What should I do if the device becomes excessively hot?

Confirm whether the temperature is too high

Run the following command to get the junction temperatures across system modules:

qpi-config dump temperature

If the junction temperature exceeds 80 °C, take cooling measures immediately.

Identify the heat source

Check CPU:

# Check CPU utilization.
top -b -n 1 | head -n -20

# Check the operating frequency of each CPU core to determine whether it remains at the maximum frequency.
cat /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_cur_freq

# Check whether the performance governor is enabled.
cat /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_governor

Check GPU:

cat /sys/class/kgsl/kgsl-3d0/gpu_busy_percentage 
cat /sys/class/kgsl/kgsl-3d0/max_gpuclk

# Alternatively, for newer baselines, run the following command:
cat /sys/kernel/debug/dri/0/perf
cat /sys/class/devfreq/3d00000.gpu/cur_freq
cat /sys/class/devfreq/3d00000.gpu/governor
cat /sys/class/devfreq/3d00000.gpu/available_frequencies
cat /sys/class/devfreq/3d00000.gpu/trans_stat

Check NPU:

Check whether any NPU-intensive processes are running. To monitor NPU utilization, contact Quectel Technical Support to obtain the firmware. For reference, see Other issues.

Check storage:

# Check %util
iostat -x 1 3   

# If iostat is not found, run the following command to install it:
sudo apt update
sudo apt install sysstat -y

Software cooling measures

Check for abnormal processes:

ps aux --sort=-%cpu | head -n -10

# or
top -b -n 1 | head -n 20

Lower the CPU frequency (take cpu0 for example):

# Check available frequencies
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

# Set the maximum frequency, for example, to 1.65 GHz
echo 1651200 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

Switch the CPU governor to schedutil:

echo schedutil > sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Lower the maximum GPU operating frequency:

# Check available frequencies
cat /sys/class/kgsl/kgsl-3d0/devfreq/available_frequencies

# Set the maximum frequency, for example, to 550 MHz
echo 550000000 > sudo tee /sys/class/kgsl/kgsl-3d0/devfreq/max_freq

The frequency adjustments made above via /sys nodes are temporary and will not persist across reboots. To make these changes permanent for production, either run the above commands in a system startup script or adjust the thermal throttling trip points in /etc/thermal-engine.conf.

Physical cooling measures

  • Ensure adequate ventilation in the operating environment for Quectel Pi H1: operating temperature range (recommended: -20 °C to +50 °C) and airflow velocity (recommended: ≥ 0.7 m/ s);

  • Add passive cooling, such as thermal interface materials (TIM) and heatsinks;

  • Install an active cooling module. The fan should increase its speed automatically when the device temperature exceeds the configured threshold. For details on CPU cooling fans, see Supported accessories.

What should I do if a library does not work correctly?

Identify and classify the issue

  • Link error: The compiler reports cannot find -lxxx, or the error cannot open shared object file occurs at runtime.

  • Runtime crash: The application reports undefined symbol: xxx or triggers a Segmentation fault.

  • Functional error: The library loads successfully, but a specific API does not respond or returns an unexpected error code.

Check whether the library file exists and verify the library search path

# 1. Locate the library
find /usr/lib /usr/lib64 /usr/local/lib /lib -name "libxxx.so*"

# 2. Check whether the dynamic linker can locate the library
ldconfig -p | grep libxxx

# 3. Check whether LD_LIBRARY_PATH contains the directory
echo $LD_LIBRARY_PATH

If the library is in a nonstandard directory, set LD_LIBRARY_PATH, or add the directory to a configuration file under /etc/ld.so.conf.d/, and run ldconfig to update the cache.

Check dependencies to resolve undefined symbols

# Check the library dependencies (safer than ldd because it does not execute code)
readelf -d /path/to/libxxx.so | grep NEEDED

# Check whether a symbol is defined in the library
nm -D /path/to/libxxx.so | grep "  T " | grep symbol_name

# Alternatively:
readelf -s /path/to/libxxx.so | grep symbol_name

An undefined symbol usually indicates a library version mismatch or a missing dependency. If the symbol exists but the application still reports an error, the cause may be link order or ABI incompatibility.

Check library version and ABI compatibility

# Check the embedded library version string
strings /path/to/libxxx.so | grep -i version

# Check the library's SONAME (the name used by the dynamic linker)
readelf -d /path/to/libxxx.so | grep SONAME

If the application was linked against libxxx.so.1 at build time but the system provides only libxxx.so.2, ABI incompatibility may still cause the application to crash at runtime even if the newer library exports the required symbols. After confirming that the two library versions are ABI-compatible, you can create a symbolic link (ln -s libxxx.so.2 libxxx.so.1) as a temporary workaround. For a long-term solution, install a library version compatible with the application or rebuild the application against the library available on the system.

Trace dynamic library loading at runtime to diagnose loading failures

# 1. Inspect libraries loaded by the dynamic linker to verify if the wrong version was loaded
LD_DEBUG=libs ./your_app 2>&1 | grep libxxx

# 2. Trace library file open calls using strace
strace -e openat,open ./your_app 2>&1 | grep libxxx

# 3. If the application crashes immediately on startup, use GDB to pinpoint the crash
gdb ./your_app
# Run the application inside the interactive GDB prompt
(gdb) run
# Print the backtrace upon crash
(gdb) bt  

How should I integrate or port third-party drivers?

  1. Obtain the official SDK. See Image build for download instructions.

  2. Add the third-party driver source code under the corresponding module directory in sources/quectel-src/kernel/qcom-6.6/drivers/.

  3. Configure the build files. Referencing other similar drivers, update the Kconfig and Makefile in the same directory as the source code, as well as /sources/quectel-src/kernel/qcom-6.6/arch/arm64/configs/qcom_defconfig.

  4. Add the device tree node for the peripheral to sources/quectel-src/kernel/qcom-6.6/arch/arm64/boot/dts/qcom/qcs6490-idp-pi.dts.

  5. Build the system image, flash it to the product, and then test the driver functionality.

What should I do if system performance is poor?

Poor performance is usually caused by a combination of CPU scheduling, memory pressure, storage I/O, thermal throttling, software configuration, etc.

Identify the bottleneck

# 1. Check overall system load averages (1/ 5/ 15-minute intervals)
uptime
# A sustained load average exceeding the CPU core count (> 8.0 on an 8-core system) indicates CPU saturation

# 2. Inspect CPU utilization breakdown (user / system / softirq / idle)
mpstat -P ALL 1 3

# 3. Check memory and swap usage (verify whether swap is being used)
free -h
# If available memory is < 10 % and swap used is > 0, the system is under memory pressure

# 4. Check for storage I/O bottlenecks (%util near 100 % indicates an I/O bottleneck)
cat /proc/diskstats | grep -E 'mmcblk0|sda'

# 5. Inspect temperatures and frequency scaling (check for thermal throttling; take cpu0 for example)
qpi-config dump temperature
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

Interpret the key metrics as follows:

  • High %us: CPU-intensive tasks.

  • High %sy: Excessive system call or driver overhead (such as software interrupt).

  • High %wa: Storage I/O bottleneck.

  • High %si: Excessive software interrupts (such as BLOCK softirq).

  • Temperature > 95 °C: Thermal throttling.

  • Very little available memory in free -h: Memory pressure.

Apply targeted optimization

CPU bottleneck (%us or %sy consistently > 85 % ~ 90 %)

  • Identify the processes with the highest CPU utilization.

  • Reduce the load generated by cameras and other peripherals.

  • Increase the real-time priority of critical threads, for example, by adjusting the scheduling policy.

Memory bottleneck ( low available memory and swap usage > 0)

  • Identify the Top 10 processes with the highest memory usage.

  • Check the page cache and reclaimable memory. If the page cache is large but reclaimable, the memory pressure is transient and can be manually reclaimed.

  • Check for DMA-BUF or ION memory leaks.

Storage I/O bottleneck (%util in iostat close to 100 %)

  • Identify the processes with the highest write I/O activity.

  • Reduce unnecessary log writes.

  • Check for anomalies: frequent small-file writes, runaway logging, swap thrashing, and driver DMA errors.

Thermal throttling (frequency reduction caused by high temperature)

  • Confirm whether thermal throttling has been triggered.

  • Implement proactive cooling measures at either the physical or software level.

How should I configure a service to start at boot?

systemd is the standard service manager across modern Linux distributions, including Yocto images configured with systemd. It provides robust features such as dependency management, automatic restarts, and environment variable configuration.

Create a service unit file

Create a .service file under /etc/systemd/system/ such as my-camera.service:

[Unit]
Description=My Camera Service
# Start after the network is up (adjust as needed)
After=network.target

[Service]
# Or: forking, oneshot, etc.
Type=simple
ExecStart=/usr/bin/my_script.sh
# Automatically restart on failure
Restart=on-failure
# Specify the user to run the service (typically root)
User=root
WorkingDirectory=/opt/my_app

[Install]
# Start when the system enters multi-user mode
WantedBy=multi-user.target

Enable and start the service

# Reload the systemd configuration
sudo systemctl daemon-reload

# Enable the service to start at boot (creates a symbolic link)
sudo systemctl enable my-camera.service

# Start the service immediately (optional)
sudo systemctl start my-camera.service

# Check the service status
sudo systemctl status my-camera.service

How should I dynamically load or unload third-party drivers?

  1. Obtain the driver module file: Obtain the third-party driver source code and cross-compile it in an environment that matches the product's kernel version to generate a .ko module file.

  2. Transfer the driver module file: Transfer the compiled .ko file to the product through scp, adb, or a USB flash drive.

  3. Load and unload the driver:
    Run insmod to load the driver:

sudo insmod your_driver.ko

Run rmmod to unload the driver:

sudo rmmod your_driver

Run lsmod to list all loaded modules:

lsmod

What should I do if no solution is available?

  1. Visit Technical FAQs.

  2. Post a question on the Quectel Forums.