sm7125-common: Set up OSS USB props

* And use qualcomm's init.qcom.usb.rc

Change-Id: I24f039c58aab0cca3de6c088cb6e49818e58c8ee
urubino-microg
Simon1511 2 years ago committed by Ruchit
parent a43fa2e6da
commit 6d29e62b5e
  1. 7
      common.mk
  2. 8
      rootdir/Android.mk
  3. 2372
      rootdir/etc/init.qcom.usb.rc
  4. 6
      vendor.prop

@ -39,7 +39,6 @@ PRODUCT_PACKAGES += \
fstab.default.ramdisk \
fstab.ramplus \
init.qcom.rc \
init.qcom.usb.rc \
init.samsung.bsp.rc \
init.samsung.display.rc \
init.samsung.rc \
@ -391,7 +390,11 @@ PRODUCT_PACKAGES += \
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service-qti
android.hardware.usb@1.3-service-qti \
init.qcom.usb.rc \
init.qcom.usb.sh
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/usb/etc
# Vibrator
PRODUCT_PACKAGES += \

@ -36,14 +36,6 @@ LOCAL_SRC_FILES := etc/init.qcom.rc
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.usb.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.usb.rc
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.samsung.bsp.rc
LOCAL_MODULE_TAGS := optional

File diff suppressed because it is too large Load Diff

@ -218,6 +218,12 @@ sys.fflag.override.settings_seamless_transfer=true
# USB
vendor.usb.diag.func.name=diag
vendor.usb.use_ffs_mtp=0
vendor.usb.dpl.inst.name=dpl
vendor.usb.qdss.inst.name=qdss_sw
vendor.usb.rmnet.func.name=gsi
vendor.usb.rmnet.inst.name=rmnet
vendor.usb.rndis.func.name=gsi
vendor.usb.use_gadget_hal=0
# Vibrator
ro.vendor.vibrator_hal.click_duration=80

Loading…
Cancel
Save