Merge "common: init.qcom.usb: Add USB compositions for RmNET w/ QTI and BAM"

This commit is contained in:
Linux Build Service Account 2014-09-15 09:35:36 -07:00 committed by Gerrit - the friendly Code Review server
commit 2227b8c227
1 changed files with 53 additions and 0 deletions

View File

@ -146,6 +146,19 @@ on property:sys.usb.config=diag,serial_smd,rmnet_bam,adb
start adbd
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,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 9091
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/f_rmnet/transports qti,bam
write /sys/class/android_usb/android0/functions diag,serial,rmnet,adb
write /sys/class/android_usb/android0/enable 1
start adbd
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,serial_smd,rmnet_bam
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
@ -157,6 +170,17 @@ on property:sys.usb.config=diag,serial_smd,rmnet_bam
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
write /sys/class/android_usb/android0/idProduct 9092
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/f_rmnet/transports qti,bam
write /sys/class/android_usb/android0/functions diag,serial,rmnet
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage,adb
stop adbd
write /sys/class/android_usb/android0/enable 0
@ -936,6 +960,19 @@ on property:sys.usb.config=diag,qdss,rmnet_bam
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,qdss,rmnet_qti_bam
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
write /sys/class/android_usb/android0/idProduct 9083
write /sys/class/android_usb/android0/f_diag/clients diag
write /sys/class/android_usb/android0/f_rmnet/transports qti,bam
write /sys/class/android_usb/android0/f_qdss/debug_intf 1
write /sys/class/android_usb/android0/f_qdss/transports bam
write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam
write /sys/class/android_usb/android0/functions diag,qdss,rmnet
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,qdss,rmnet_bam,adb
stop adbd
write /sys/class/android_usb/android0/enable 0
@ -952,6 +989,22 @@ on property:sys.usb.config=diag,qdss,rmnet_bam,adb
start adbd
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,qdss,rmnet_qti_bam,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 9084
write /sys/class/android_usb/android0/f_diag/clients diag
write /sys/class/android_usb/android0/f_rmnet/transports qti,bam
write /sys/class/android_usb/android0/f_qdss/debug_intf 1
write /sys/class/android_usb/android0/f_qdss/transports bam
write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam
write /sys/class/android_usb/android0/functions diag,qdss,adb,rmnet
write /sys/module/dwc3/parameters/tx_fifo_resize_enable 1
write /sys/class/android_usb/android0/enable 1
start adbd
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=diag,qdss,rmnet_ipa
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6