Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/fogwise/airbox-q900/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ sidebar_position: 150

## 软件工具

- [QDL 工具](https://softwarecenter.qualcomm.com/catalog/item/Qualcomm_Device_Loader)
- [QDL 工具(Qualcomm Software Center)](https://softwarecenter.qualcomm.com/catalog/item/Qualcomm_Device_Loader)
- [QDL 工具(Qualcomm GitHub 仓库)](https://github.com/linux-msm/qdl)

Qualcomm Device Loader (QDL) 是 Qualcomm 提供的用于刷写 Qualcomm 芯片的工具。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,38 @@ Fogwise® AIRbox Q900 板载 128GB UFS。

<TabItem value="Ubuntu">

使用 `lsusb` 命令查看设备是否进入 QDL 模式。
1. 创建 udev 规则文件

使用以下命令创建 udev 规则文件。

<NewCodeBlock tip="Ubuntu$" type="host">

```bash
sudo nano /etc/udev/rules.d/51-qcom-usb.rules
```

</NewCodeBlock>

2. 添加以下内容

```text
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev"
```

3. 保存文件后,重新加载 udev 规则并触发设备检测

<NewCodeBlock tip="Ubuntu$" type="host">

```bash
sudo udevadm control --reload-rules
sudo udevadm trigger
```

</NewCodeBlock>

4. 重新插拔 USB 数据线,使规则生效

5. 使用 `lsusb` 命令查看设备是否进入 QDL 模式

<NewCodeBlock tip="Ubuntu$" type="host">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ sidebar_position: 150

## Software Tools

- [QDL Tool](https://softwarecenter.qualcomm.com/catalog/item/Qualcomm_Device_Loader)
- [QDL Tool (Qualcomm Software Center)](https://softwarecenter.qualcomm.com/catalog/item/Qualcomm_Device_Loader)
- [QDL Tool (Qualcomm GitHub Repository)](https://github.com/linux-msm/qdl)

Qualcomm Device Loader (QDL) is a tool provided by Qualcomm for flashing Qualcomm chips.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,38 @@ After successfully installing the driver, try unplugging and replugging the USB

<TabItem value="Ubuntu">

Use the `lsusb` command to check if the device has entered QDL mode.
1. Create a udev rules file

Use the following command to create a udev rules file.

<NewCodeBlock tip="Ubuntu$" type="host">

```bash
sudo nano /etc/udev/rules.d/51-qcom-usb.rules
```

</NewCodeBlock>

2. Add the following content

```text
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev"
```

3. After saving the file, reload the udev rules and trigger device detection

<NewCodeBlock tip="Ubuntu$" type="host">

```bash
sudo udevadm control --reload-rules
sudo udevadm trigger
```

</NewCodeBlock>

4. Replug the USB cable to apply the rules

5. Use the `lsusb` command to check if the device has entered QDL mode

<NewCodeBlock tip="Ubuntu$" type="host">

Expand Down