From 4426dd179a431d8f3dc07c390bca4e23ef7eb236 Mon Sep 17 00:00:00 2001 From: Mayank Rana Date: Fri, 28 Aug 2015 15:40:54 -0700 Subject: [PATCH] init.qcom.usb: Fix Modem interface transport name with DPL composition Modem interface is using serial transport as char_bridge. Due to using "cdev" as serial transport name with DPL based composition, DPL based composition switch is failing. Hence fix this issue by using "char_bridge" as serial transport name. Change-Id: I092df985f8f5302d0f5c4299cd2dbdc5e5b3dd1c --- rootdir/etc/init.qcom.usb.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.usb.rc b/rootdir/etc/init.qcom.usb.rc index ad7f8bec..76b35387 100644 --- a/rootdir/etc/init.qcom.usb.rc +++ b/rootdir/etc/init.qcom.usb.rc @@ -1227,7 +1227,7 @@ on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dp write /sys/class/android_usb/android0/idVendor 05C6 write /sys/class/android_usb/android0/idProduct 90AD write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports cdev,tty + write /sys/class/android_usb/android0/f_serial/transports char_bridge,tty # DPL is implemented using QDSS write /sys/class/android_usb/android0/f_qdss/debug_intf 0 write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa @@ -1244,7 +1244,7 @@ on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dp write /sys/class/android_usb/android0/idVendor 05C6 write /sys/class/android_usb/android0/idProduct 90B0 write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports cdev,tty + write /sys/class/android_usb/android0/f_serial/transports char_bridge,tty # DPL is implemented using QDSS write /sys/class/android_usb/android0/f_qdss/debug_intf 0 write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa