增加 Android USB 模式切换.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2021-04-12 09:31:35 +08:00
parent 6fa44da09d
commit bca9b91908
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# Android USB 模式切换
```bash
# 切换到 ADB 模式
setprop sys.usb.config none
setprop sys.usb.config adb
echo peripheral > /sys/devices/platform/soc/ee080200.usb-phy/role
```