QAicUdevMonitor¶
The QAicUdevMonitor.py script is used to monitor the boot/ready status of AIC100 devices.
Example for AIC100 device in ready state:
python3 /opt/qti-aic/examples/python/QAicUdevMonitor.py
Example for AIC100 device in booting state:
python3 /opt/qti-aic/examples/python/QAicUdevMonitor.py
Reset the device:
sudo sh -c "echo 1 > /sys/bus/mhi/devices/mhi<device_id>/soc_reset"
Udev log will show card bootup progress:
State: QAIC device down Parent: 0000:01:00.0
State: FW Boot channel down Parent: 0000:01:00.0
State: FW Timesync channel down Parent: 0000:01:00.0
State: QAIC Controller channel down Parent: 0000:01:00.0
State: FW Boot channel up Parent: 0000:01:00.0
State: FW Timesync channel up Parent: 0000:01:00.0
State: FW Boot channel down Parent: 0000:01:00.0
State: FW Timesync channel down Parent: 0000:01:00.0
State: FW Boot channel up Parent: 0000:01:00.0
State: FW Timesync channel up Parent: 0000:01:00.0
State: QAIC Controller channel up Parent: 0000:01:00.0
State: QAIC device up Parent: 0000:01:00.0