Hi Stereolabs community,
We are experiencing an issue with our ZED Box Mini where GPIO_12 (line offset 85, pin #04) remains HIGH after system shutdown, but only when GMSL2 cameras are connected.
Setup:
- ZED Box Mini.
- One ZED X and one ZED X Mini connected via GMSL2 ports.
- GPIO_11 (line 106) configured as input with pull-up resistor ,used as an ignition-off signal.
- GPIO_12 (line 85) configured as output with pull-down resistor ,used to control a relay.
- libgpiod C++ application running as a systemd service
Expected behavior:
- On boot: GPIO_12 is driven HIGH → relay closes
- On shutdown (GPIO_11 goes LOW for 10 seconds) → system powers off → GPIO_12 turns low (by default)→ relay releases.
Actual behavior:
- Without cameras connected: Works perfectly. GPIO_12 goes LOW after shutdown, relay releases, power draw drops to 0.
- With cameras connected: After shutdown, GPIO_12 remains HIGH. Multimeter confirms 2.6V on the pin. The relay does not release. The system draws approximately 100mA from the power supply even after shutdown despite having the blue LEDs on the Zed Box turned off.
What I’ve tried:
1. Using ‘systemctl poweroff’ instead of ‘shutdown -h now’
2. Using ‘systemctl --force poweroff’
3. Stopping the cameras before shutdown (sl.close()) .
4. Stopping zed_x_daemon.service and unloading the max9296 driver (modprobe -r) before shutdown
None of these resolved the issue. The 100mA draw and GPIO_12 staying HIGH only occurs when cameras are physically connected to the GMSL2 ports.