diff --git a/camera/android.hardware.camera.provider@2.5-service_64.rpi.rc b/camera/android.hardware.camera.provider@2.5-service_64.rpi.rc new file mode 100644 index 0000000..a36f1c5 --- /dev/null +++ b/camera/android.hardware.camera.provider@2.5-service_64.rpi.rc @@ -0,0 +1,10 @@ +service vendor.camera-provider-2-5 /vendor/bin/hw/android.hardware.camera.provider@2.5-service_64 + class hal + user cameraserver + group audio camera input drmrpc + ioprio rt 4 + capabilities SYS_NICE + task_profiles CameraServiceCapacity MaxPerformance + override + setenv LIBCAMERA_LOG_LEVELS *:WARN + setenv LIBCAMERA_LOG_FILE syslog diff --git a/device.mk b/device.mk index a3f8391..87f9d2a 100644 --- a/device.mk +++ b/device.mk @@ -103,6 +103,9 @@ PRODUCT_PACKAGES += \ camera.libcamera \ ipa_rpi_pisp +PRODUCT_COPY_FILES += \ + $(DEVICE_PATH)/camera/android.hardware.camera.provider@2.5-service_64.rpi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.camera.provider@2.5-service_64.rpi.rc + PRODUCT_COPY_FILES += \ $(DEVICE_PATH)/camera/camera_hal.yaml:$(TARGET_COPY_OUT_VENDOR)/etc/libcamera/camera_hal.yaml \ external/libcamera/src/ipa/rpi/pisp/data/imx219.json:$(TARGET_COPY_OUT_VENDOR)/etc/libcamera/ipa/rpi/pisp/imx219.json \