增加 Android USB 模式切换.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
6fa44da09d
commit
bca9b91908
|
@ -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
|
||||
```
|
Loading…
Reference in New Issue