Commit Graph

4 Commits

Author SHA1 Message Date
Arian
688407d50e
davinci: rootdir: Drop led permissions from ueventd
* Set the permissions we need from lights HAL

Change-Id: I93bc6cc0aab1d55f32b53a01df662fe5327c0199
2020-11-28 18:12:02 +01:00
Wang Han
3eefee6e89
davinci: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2020-08-06 21:28:09 +02:00
Arian
bf9b868b7f
davinci: rootdir: Cleanup ueventd.rc
Change-Id: I82f91760460dc00610a654a0f2a9e4bfcaafa96f
2020-08-06 21:28:09 +02:00
Arian
5533cb3b62
davinci: rootdir: Import uevent
Change-Id: I7156ee9e8f6035135114c5d69fea54a4b0d2579b
2020-08-06 21:28:09 +02:00