> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CQ2390M/CQ2390S

## Debug the DSI display

<Note>
  * You must enable SSH to access your host device. For instructions, see [Sign in using SSH](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh).
  * To mount the `debugfs` file system and access display subsystem debug information, run the following commands:

  > ```text theme={null}
  > mount -o remount,rw /
  > ```

  > ```text theme={null}
  > mount -t debugfs none /sys/kernel/debug
  > ```
</Note>

**View the DSI display status**

To check the DSI connector status, run the following command:

> ```text theme={null}
> cat /sys/class/drm/card0-DSI-1/status
> ```

**Sample output**

```text theme={null}
connected
```

**Check the display mode**

To check the active display mode, run the following command:

> ```text theme={null}
> cat /sys/class/drm/card0-DSI-1/modes
> ```

**Sample output**

```text theme={null}
1080x1920
```

**View the DRM state**

To check the DRM connector and encoder state, run the following command:

> ```text theme={null}
> cat /sys/kernel/debug/dri/0/state
> ```

**Sample output**

```text theme={null}
connector[32]: DSI-1
        status: connected
        encoder: 31
crtc[30]: crtc-0
        active=yes
        self_refresh_active=no
        planes:
encoder[31]: DSI-1
        crtc: crtc-0
```

**View the DPU debug information**

To check the DPU debug information, run the following command:

> ```text theme={null}
> cat /sys/kernel/debug/dri/0/debug/core_perf_core_clk_rate
> ```

**Check the Weston service status**

To verify that Weston is running, run the following command:

> ```text theme={null}
> systemctl status weston
> ```

**Sample output**

```text theme={null}
● weston.service - Weston Wayland Compositor
     Loaded: loaded
     Active: active (running)
```

**Relaunch Weston**

If the display is not active, stop and restart the Weston service:

> ```text theme={null}
> systemctl stop weston.socket weston.service
> ```

> ```text theme={null}
> systemctl start weston.service
> ```

<Note>
  For more information on relaunching Weston, see [Relaunch Weston](troubleshoot-relaunch-weston).
</Note>
