init.qcom.usb: Rename diag_mdm channel to diag_qsc for sglte
Diag driver was using diag_mdm channel name for sglte target which has QSC modem. In case of Fuiosn3 DSDA diag needs to open both diag_mdm and diag_qsc channels. This requires the renaming of the channel name used by sglte to diag_qsc as diag driver needs to handle both channels separately. Change-Id: I30979cb8c7035b00595298c3592bbabc9c61fdb9
This commit is contained in:
parent
0c079d6aa6
commit
751ae21e56
|
@ -324,12 +324,12 @@ on property:sys.usb.config=diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmne
|
|||
write /sys/class/android_usb/android0/enable 1
|
||||
setprop sys.usb.state ${sys.usb.config}
|
||||
|
||||
# Fusion 2.2 composition with diag_mdm and adb
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage,adb
|
||||
# Fusion 2.2 composition with diag_qsc and adb
|
||||
on property:sys.usb.config=diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage,adb
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9053
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_qsc
|
||||
write /sys/class/android_usb/android0/f_serial/transports smd,tty,hsuart
|
||||
write /sys/class/android_usb/android0/f_rmnet/transports smd,bam,hsuart,hsuart
|
||||
write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage
|
||||
|
@ -337,12 +337,12 @@ on property:sys.usb.config=diag,diag_mdm,serial_smd,serial_tty,serial_hsuart,rmn
|
|||
start adbd
|
||||
setprop sys.usb.state ${sys.usb.config}
|
||||
|
||||
# Fusion 2.2 composition with diag_mdm
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage
|
||||
# Fusion 2.2 composition with diag_qsc
|
||||
on property:sys.usb.config=diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9054
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_qsc
|
||||
write /sys/class/android_usb/android0/f_serial/transports smd,tty,hsuart
|
||||
write /sys/class/android_usb/android0/f_rmnet/transports smd,bam,hsuart,hsuart
|
||||
write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage
|
||||
|
|
|
@ -98,7 +98,7 @@ case "$usb_config" in
|
|||
setprop persist.sys.usb.config diag,diag_mdm,serial_hsic,serial_tty,rmnet_hsic,mass_storage,adb
|
||||
;;
|
||||
"sglte")
|
||||
setprop persist.sys.usb.config diag,diag_mdm,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage,adb
|
||||
setprop persist.sys.usb.config diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage,adb
|
||||
;;
|
||||
"dsda")
|
||||
setprop persist.sys.usb.config diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmnet_hsic,rmnet_hsuart,mass_storage,adb
|
||||
|
|
Loading…
Reference in New Issue