> ## 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

## 调试 DSI 显示

<Note>
  * 您必须启用 SSH 才能访问您的主机设备。有关说明，请参阅 [使用 SSH 登录](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh)。
  * 要挂载 `debugfs` 文件系统并访问显示子系统调试信息，请运行以下命令：

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

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

**查看 DSI 显示状态**

要检查 DSI 连接器状态，请运行以下命令：

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

**示例输出**

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

**检查显示模式**

要检查活动显示模式，请运行以下命令：

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

**示例输出**

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

**查看 DRM 状态**

要检查 DRM 连接器和编码器状态，请运行以下命令：

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

**示例输出**

```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
```

**查看 DPU 调试信息**

要检查 DPU 调试信息，请运行以下命令：

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

**检查 Weston 服务状态**

要验证 Weston 是否正在运行，请运行以下命令：

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

**示例输出**

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

**重新启动 Weston**

如果显示未激活，请停止并重启 Weston 服务：

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

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

<Note>
  有关重新启动 Weston 的更多信息，请参阅 [重新启动 Weston](troubleshoot-relaunch-weston)。
</Note>
