刷机之后不能连接ADB,在设置之中配置之后还是不行!
AIO-3399J连接PC之后不能通过MTP模式和电脑之间互相传送文件。
在系统之后就可以了!
echo otg >> “/sys/devices/platform/ff770000.syscon/ff770000.syscon:usb2-phy@e450/otg_mode”
rk3399 android10 usb不识别解决办法
V:\rk3399_q_test\device\rockchip\rk3399\init.rk3399.rc
# update cpusets feature nodes for rk3399 tablet
write /dev/cpuset/foreground/cpus 0-5
write /dev/cpuset/foreground/boost/cpus 4-5
write /dev/cpuset/background/cpus 0
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/top-app/cpus 0-5
write /sys/devices/system/cpu/cpufreq/policy4/interactive/target_loads “65 1008000:70 1200000:75 1416000:80 1608000:90”
write /sys/devices/platform/ff770000.syscon/ff770000.syscon:usb2-phy@e450/otg_mode otg//加这一句
console:/ $
/sys/devices/platform/ff770000.syscon/ff770000.syscon:usb2-phy@e450/otg_mode" <
[ 298.894090] type=1400 audit(1618914596.872:111): avc: denied { associate } for comm=“Binder:250_4” name=“globalAlert” scontext=u:object_r:proc_net:s0 tcontext=u:object_r:proc:s0 tclass=filesystem permissive=1
[ 298.894311] type=1400 audit(1618914818.297:112): avc: denied { append } for comm=“sh” name=“otg_mode” dev=“sysfs” ino=14185 scontext=u:r
s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 298.894913] type=1400 audit(1618914818.297:112): avc: denied { append } for comm=“sh” name=“otg_mode” dev=“sysfs” ino=14185 scontext=u:r
s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 298.895034] type=1400 audit(1618914818.297:113): avc: denied { open } for comm=“sh” path=“/sys/devices/platform/ff770000.syscon/ff770000.syscon:usb2-phy@e450/otg_mode” dev=“sysfs” ino=14185 scontext=u:r
s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 298.900137] xhci-hcd xhci-hcd.5.auto: remove, state 4
[ 298.900270] usb usb8: USB disconnect, device number 1
console:/ $ [ 298.905470] xhci-hcd xhci-hcd.5.auto: USB bus 8 deregistered
[ 298.906840] xhci-hcd xhci-hcd.5.auto: remove, state 4
[ 298.906930] usb usb7: USB disconnect, device number 1
[ 298.917613] xhci-hcd xhci-hcd.5.auto: USB bus 7 deregistered
[ 300.172401] phy phy-ff770000.syscon:usb2-phy@e450.2: charger = USB_SDP_CHARGER
[ 300.483179] android_work: sent uevent USB_STATE=CONNECTED
[ 300.498150] configfs-gadget gadget: high-speed config #1: b
[ 300.498634] android_work: sent uevent USB_STATE=CONFIGURED
串口的截图:
Android的截图:






























