sm8450-common: Migrate to QTI USB Gadget 1.2 HIDL

Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
This commit is contained in:
Yumi Yukimura 2024-06-25 00:19:16 +08:00 committed by Arian
parent 34a56e7ea8
commit aaa391c8f6
3 changed files with 4 additions and 3 deletions

View file

@ -499,11 +499,13 @@ PRODUCT_PACKAGES_DEBUG += \
# USB # USB
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service-qti \ android.hardware.usb@1.3-service-qti \
android.hardware.usb.gadget@1.2-service-qti \
libusbhost.vendor libusbhost.vendor
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
init.qcom.usb.rc \ init.qcom.usb.rc \
init.qcom.usb.sh init.qcom.usb.sh \
usb_compositions.conf
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/usb/etc PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/usb/etc

View file

@ -218,7 +218,7 @@ vendor.usb.rmnet.func.name=gsi
vendor.usb.rmnet.inst.name=rmnet vendor.usb.rmnet.inst.name=rmnet
vendor.usb.rndis.func.name=gsi vendor.usb.rndis.func.name=gsi
vendor.usb.use_ffs_mtp=1 vendor.usb.use_ffs_mtp=1
vendor.usb.use_gadget_hal=0 vendor.usb.use_gadget_hal=1
# WiFi # WiFi
wifi.aware.interface=wifi-aware0 wifi.aware.interface=wifi-aware0

View file

@ -133,7 +133,6 @@ on charger
start vendor.power_off_alarm start vendor.power_off_alarm
setprop sys.usb.controller a600000.dwc3 setprop sys.usb.controller a600000.dwc3
wait /sys/class/udc/${sys.usb.controller} wait /sys/class/udc/${sys.usb.controller}
setprop sys.usb.configfs 1
write /sys/kernel/cnss/charger_mode 1 write /sys/kernel/cnss/charger_mode 1
#service vendor.lowi /vendor/bin/sscrpcd #service vendor.lowi /vendor/bin/sscrpcd