USB: init.qcom.usb.rc: Add new PIDs for rndis,modem,diag compositions

Add new PIDs for rndis,modem,diag,adb based compositions.

0x90B3 - RNDIS + MODEM (DUN)
0x90B4 - RNDIS + MODEM (DUN) + ADB
0x90B5 - RNDIS + MODEM (DUN)+ DIAG
0x90B6 - RNDIS + MODEM (DUN)+ DIAG + ADB

CRs-Fixed: 740159
Change-Id: I0c7efd0e8c92eb7ec648a3db38e84822580a23f7
This commit is contained in:
Sujeet Kumar 2014-10-16 14:33:52 +05:30
parent 9b00347636
commit b9811077af
1 changed files with 42 additions and 0 deletions

View File

@ -720,6 +720,48 @@ on property:sys.usb.config=rndis,diag,adb
start adbd
setprop sys.usb.state rndis,adb
on property:sys.usb.config=rndis,serial_smd
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
write /sys/class/android_usb/android0/idProduct 90B3
write /sys/class/android_usb/android0/f_serial/transports smd
write /sys/class/android_usb/android0/functions rndis,serial
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state rndis
on property:sys.usb.config=rndis,serial_smd,adb
stop adbd
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
write /sys/class/android_usb/android0/idProduct 90B4
write /sys/class/android_usb/android0/f_serial/transports smd
write /sys/class/android_usb/android0/functions rndis,serial,adb
write /sys/class/android_usb/android0/enable 1
start adbd
setprop sys.usb.state rndis,adb
on property:sys.usb.config=rndis,serial_smd,diag
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
write /sys/class/android_usb/android0/idProduct 90B5
write /sys/class/android_usb/android0/f_diag/clients diag
write /sys/class/android_usb/android0/f_serial/transports smd
write /sys/class/android_usb/android0/functions rndis,serial,diag
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state rndis
on property:sys.usb.config=rndis,serial_smd,diag,adb
stop adbd
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
write /sys/class/android_usb/android0/idProduct 90B6
write /sys/class/android_usb/android0/f_diag/clients diag
write /sys/class/android_usb/android0/f_serial/transports smd
write /sys/class/android_usb/android0/functions rndis,serial,diag,adb
write /sys/class/android_usb/android0/enable 1
start adbd
setprop sys.usb.state rndis,adb
on property:sys.usb.config=rndis,diag,diag_mdm
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6