init.msm.usb.configfs.rc: fix interface order between ADB and RMNET
0x9084 PID supports - DIAG + QDSS Trace (bulk in) + QDSS Debug (bulk in/out) + ADB + RMNET USB composition. USB rules for this composition has order change between ADB and RMNET interface causing mismatch with expected interface number for these interfaces with USB host side driver. This results into loading ADB driver for RMNET interface and RMNET driver for ADB interface with USB host. Fix this issue by correcting ADB and RMNET bind order with USB rule. CRs-Fixed: 2061593 Change-Id: I882aea6d6a8a04d954c7040fba06fadcea60f728
This commit is contained in:
parent
ae89da546d
commit
a608ce3506
|
@ -355,8 +355,8 @@ on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,qdss,rmnet,adb &
|
|||
write /config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface 1
|
||||
symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1
|
||||
symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f2
|
||||
symlink /config/usb_gadget/g1/functions/${sys.usb.rmnet.func.name}.rmnet /config/usb_gadget/g1/configs/b.1/f3
|
||||
symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4
|
||||
symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3
|
||||
symlink /config/usb_gadget/g1/functions/${sys.usb.rmnet.func.name}.rmnet /config/usb_gadget/g1/configs/b.1/f4
|
||||
write /config/usb_gadget/g1/UDC ${sys.usb.controller}
|
||||
setprop sys.usb.state ${sys.usb.config}
|
||||
|
||||
|
|
Loading…
Reference in New Issue