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

# 从设备访问内容

以下是从设备访问内容的几种方式。

## **启用 SSH**

在 permissive 模式下启用 SSH，以安全地访问您的主机设备。有关说明，请参阅[使用 SSH 登录](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh)。

## **从设备检索信息**

您可以从设备检索信息以调试内核问题。

以下是内核命令列表：

**表：内核命令列表**

| **命令** | **说明** |
| - | - |
| \$ zcat /proc/config.gz | 内核配置 |
| \$ cat /proc/cmdline | 内核命令行参数 |
| \$ cat /proc/version | 内核版本 |
| \$ ls /proc/device-tree | 设备上的设备树配置 |
| \$ lsmod | 已加载的模块 |
| \$ cat /proc/interrupts | 中断状态 |
| \$ cat /sys/devices/system/cpu/cpufreq/policyX/scaling\_available\_frequencies | 可用的 CPU 频率，其中 X = 集群 |
| \$ cat /sys/kernel/debug/qcom\_socinfo/chip\_id | 使用 debugfs 获取 chip\_id |

有关 `procfs` 的更多信息，请参阅 [The /proc file system](https://docs.kernel.org/filesystems/proc.html)。\\
