Cannot Start light service
Opened this issue · 3 comments
nguyenanhgiau commented
Hi @MarijnS95
I already built light hal. But this service starts with error messages.
1-01 00:06:15.784 1208 1208 W ServiceManager: Waited one second for android.hardware.light.ILights/
default (is service started? are binder threads started and available?)
01-01 00:06:15.784 278 278 I servicemanager: Since 'android.hardware.light.ILights/default' could
not be found, trying to start it as a lazy AIDL service
01-01 00:06:15.802 278 1382 W libc : Unable to set property "ctl.interface_start" to "aidl/andro
id.hardware.light.ILights/default": error code: 0x20
01-01 00:06:15.790 0 0 E init : Control message: Could not find 'aidl/android.hardware.ligh
t.ILights/default' for ctl.interface_start from pid: 278 (/system/bin/servicemanager)
01-01 00:06:15.806 278 1382 I servicemanager: Tried to start aidl service android.hardware.light.IL
ights/default as a lazy service, but was unable to. Usually this happens when a service is not install
ed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly
.
Could you please tell me what was missed?
mjs1147789784 commented
Hello, sir!
mjs1147789784 commented
I have also encountered a similar problem. How did you solve it?Thanks!
nguyenanhgiau commented
Hi @mjs1147789784 ,
You can reference to light and vibrator modules in this project: https://github.com/GloDroid/glodroid_device/tree/v0.8.2/pinephone