USB adb enumeration fails when the battery is not fully charged

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB adb enumeration fails when the battery is not fully charged

23 Views
pyh0603
Contributor III

Hello,

Release: android_p11.0.0_2.6.0

Board: i.MX8MQ based custom board

 

When my battery voltage is greater than 8.4V, I can properly enumerate USB ADBs,

When my battery voltage is less than 8.4V, USB adb enumeration fails, and the failure log is as follows:

[ 1283.805549][ T260] type=1400 audit(1722588400.491:39117): avc: denied { read } for comm="Binder:276_2" name="wakeup4" dev="sysfs" ino=27939 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 1283.841901][ T407] audit: audit_lost=36772 audit_rate_limit=5 audit_backlog_limit=64
[ 1283.842691][ T419] healthd: battery l=67 v=7812 t=36.0 h=2 st=3 c=0 fc=0 cc=32 chg=
[ 1283.842713][ T420] healthd: battery l=67 v=7812 t=36.0 h=2 st=3 c=0 fc=0 cc=32 chg=
[ 1283.850151][ T407] audit: rate limit exceeded
[ 1283.863383][ T420] healthd: battery l=67 v=7812 t=36.0 h=2 st=3 c=0 fc=0 cc=32 chg=

[ 1284.336359][ T5762] android_work: sent uevent USB_STATE=DISCONNECTED
[ 1284.343051][ T5762] usb 1-1: USB disconnect, device number 4
[ 1284.389366][ T1785] read descriptors
[ 1284.393005][ T1785] read strings
[ 1284.880214][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1284.965841][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.021936][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.029293][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.040606][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.047868][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.055181][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.066476][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.081857][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.089353][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.096789][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.180398][ T420] healthd: battery l=67 v=7972 t=36.0 h=2 st=2 c=0 fc=0 cc=32 chg=u
[ 1285.188466][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.190184][ T407] healthd: battery l=67 v=7972 t=36.0 h=2 st=2 c=0 fc=0 cc=32 chg=u
[ 1285.192111][ T419] healthd: battery l=67 v=7972 t=36.0 h=2 st=2 c=0 fc=0 cc=32 chg=u
[ 1285.203213][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.218586][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.225762][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.232956][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.277792][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.285494][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.292969][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.344280][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.350953][ T1] init: Control message: Processed ctl.start for 'adbd' from pid: 588 (system_server)
[ 1285.351641][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.383464][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.390758][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.397929][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.405219][ T6289] android_work: did not send uevent (0 0 0000000000000000)
[ 1285.412470][ T6289] android_work: did not send uevent (0 0 0000000000000000)

How should I solve this problem?

My system framework is shown in the following figure:

pyh0603_0-1722960890733.png

my dts config as follow:

bq25703:

pyh0603_1-1722960906559.png

cw2015:

pyh0603_2-1722960930849.png

fusb302:

pyh0603_3-1722960941033.png

 

Labels (1)
Tags (1)
0 Kudos
Reply
0 Replies