davinci: rootdir: Import camera motor to init.target.rc
Change-Id: I0190d6b2127c8c52cb079cbd3a5ec772dc9a2fc8
This commit is contained in:
parent
1fce149484
commit
25be117b7b
@ -53,6 +53,12 @@ on init
|
||||
chown cameraserver cameraserver /dev/cpuset/camera-daemon/tasks
|
||||
chmod 0660 /dev/cpuset/camera-daemon/tasks
|
||||
|
||||
# Camera motor
|
||||
chown system camera /dev/drv8846_dev
|
||||
chown system camera /dev/akm09970
|
||||
chmod 0660 /dev/drv8846_dev
|
||||
chmod 0660 /dev/akm09970
|
||||
|
||||
on fs
|
||||
mount_all /vendor/etc/fstab.qcom --early
|
||||
|
||||
@ -159,3 +165,8 @@ service vendor.nv_mac /vendor/bin/nv_mac
|
||||
user system
|
||||
group system inet net_admin wifi net_raw
|
||||
oneshot
|
||||
|
||||
service vendor.motor /vendor/bin/hw/vendor.xiaomi.hardware.motor@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
|
Loading…
Reference in New Issue
Block a user