remove usb hal
authorJan Altensen <info@stricted.net>
Sun, 16 Aug 2020 18:26:59 +0000 (20:26 +0200)
committerJan Altensen <info@stricted.net>
Sun, 16 Aug 2020 18:26:59 +0000 (20:26 +0200)
Change-Id: I7a85822ff40431bf426071262752eae68e9e5d92

exynos9610-common-vendor.mk
proprietary/vendor/bin/hw/android.hardware.usb@1.1-service.exynos9610 [deleted file]
proprietary/vendor/etc/init/android.hardware.usb@1.1-service.exynos9610.rc [deleted file]

index f15a6aefe4faeac199af975ee450a63dbffe6ec4..0d1f1c69ffb80cb4e02cb3e5c4fa09a38f73ec83 100644 (file)
@@ -47,7 +47,6 @@ PRODUCT_COPY_FILES += \
     vendor/motorola/exynos9610-common/proprietary/vendor/bin/hw/android.hardware.drm@1.2-service.widevine:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.drm@1.2-service.widevine \
     vendor/motorola/exynos9610-common/proprietary/vendor/bin/hw/android.hardware.nfc@1.2-service.sec:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.nfc@1.2-service.sec \
     vendor/motorola/exynos9610-common/proprietary/vendor/bin/hw/android.hardware.secure_element@1.1-service-uicc:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.secure_element@1.1-service-uicc \
-    vendor/motorola/exynos9610-common/proprietary/vendor/bin/hw/android.hardware.usb@1.1-service.exynos9610:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.usb@1.1-service.exynos9610 \
     vendor/motorola/exynos9610-common/proprietary/vendor/bin/hw/gpsd:$(TARGET_COPY_OUT_VENDOR)/bin/hw/gpsd \
     vendor/motorola/exynos9610-common/proprietary/vendor/bin/hw/rild_exynos:$(TARGET_COPY_OUT_VENDOR)/bin/hw/rild_exynos \
     vendor/motorola/exynos9610-common/proprietary/vendor/bin/hw/vendor.dolby.hardware.dms@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.dolby.hardware.dms@1.0-service \
@@ -120,7 +119,6 @@ PRODUCT_COPY_FILES += \
     vendor/motorola/exynos9610-common/proprietary/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.2-service.widevine.rc \
     vendor/motorola/exynos9610-common/proprietary/vendor/etc/init/android.hardware.nfc@1.2-service.sec.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.nfc@1.2-service.sec.rc \
     vendor/motorola/exynos9610-common/proprietary/vendor/etc/init/android.hardware.secure_element@1.1-service-uicc.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.1-service-uicc.rc \
-    vendor/motorola/exynos9610-common/proprietary/vendor/etc/init/android.hardware.usb@1.1-service.exynos9610.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.usb@1.1-service.exynos9610.rc \
     vendor/motorola/exynos9610-common/proprietary/vendor/etc/init/vendor.dolby.hardware.dms@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.hardware.dms@1.0-service.rc \
     vendor/motorola/exynos9610-common/proprietary/vendor/etc/init/vendor.samsung.hardware.gnss@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.samsung.hardware.gnss@1.0-service.rc \
     vendor/motorola/exynos9610-common/proprietary/vendor/etc/init/vendor.samsung_slsi.hardware.configstore@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.samsung_slsi.hardware.configstore@1.0-service.rc \
diff --git a/proprietary/vendor/bin/hw/android.hardware.usb@1.1-service.exynos9610 b/proprietary/vendor/bin/hw/android.hardware.usb@1.1-service.exynos9610
deleted file mode 100644 (file)
index 85c4f4c..0000000
Binary files a/proprietary/vendor/bin/hw/android.hardware.usb@1.1-service.exynos9610 and /dev/null differ
diff --git a/proprietary/vendor/etc/init/android.hardware.usb@1.1-service.exynos9610.rc b/proprietary/vendor/etc/init/android.hardware.usb@1.1-service.exynos9610.rc
deleted file mode 100644 (file)
index 5617008..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.exynos9610
-    class hal
-    user system
-    group system
-
-on post-fs
-    chown root system /sys/class/typec/port0/power_role
-    chown root system /sys/class/typec/port0/data_role
-    chown root system /sys/class/typec/port0/port_type
-    chmod 664 /sys/class/typec/port0/power_role
-    chmod 664 /sys/class/typec/port0/data_role
-    chmod 664 /sys/class/typec/port0/port_type