radxa-pkg/rsetup

OTG配置需要两个循环

Closed this issue · 0 comments

https://github.com/radxa-pkg/rsetup/blob/main/src/usr/lib/rsetup/tui/hardware/hardware.sh#L419-L431
这里要先禁用再启用,否则在adbd服务切换时假如有AB两个OTG口,现在B口开启想要切换到A口,由于A口排序在B口前面,会先开启A口而不是禁用B口,导致同时开启两个adbd服务而失败