qcom: Specify DIAG channel names for DIAG + QDSS compositions
DIAG channel names are currently specified during boot up as part of default composition selection. After that if DIAG + QDSS is enabled then composition switch works fine. But, if DIAG + QDSS is made default composition then USB enumeration fails because DIAG channel names aren't specified. Hence, update DIAG channels when selecting DIAG + QDSS composition. Change-Id: I6a986c58b914e75a6f756788158acb9975b12dcc
This commit is contained in:
parent
570537e178
commit
748d61c6fe
|
@ -493,6 +493,7 @@ on property:sys.usb.config=diag,qdss
|
|||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 904A
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/functions diag,qdss
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
setprop sys.usb.state ${sys.usb.config}
|
||||
|
@ -501,6 +502,7 @@ on property:sys.usb.config=diag,qdss,adb
|
|||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9060
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/functions diag,qdss,adb
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
start adbd
|
||||
|
|
Loading…
Reference in New Issue