Skip to content

Commit

Permalink
medaka: change vibrator permissions to get it working
Browse files Browse the repository at this point in the history
ngfd dependency was already added in the recipe this was based on
  • Loading branch information
dodoradio committed Feb 26, 2023
1 parent 86153ca commit c66223f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions meta-medaka/recipes-android/android-init/android-init/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on init
chmod 777 /dev/hwbinder
chmod 777 /dev/vndbinder

chown system root /sys/class/timed_output/vibrator/enable
chmod 777 /sys/class/timed_output/vibrator/enable

chown system root /dev/MultiSensors_CD_01
chmod 777 /dev/MultiSensors_CD_01

Expand All @@ -22,11 +25,11 @@ on init
class_start core
class_start hal

service vendor.bluetooth-1-0 /vendor/bin/hw/[email protected]
service vendor.sensors-hal-1-0 /vendor/bin/hw/[email protected]
class hal
oneshot

service vendor.sensors-1-0 /vendor/bin/hw/[email protected]
service vendor.bluetooth-1-0 /vendor/bin/hw/[email protected]
class hal
oneshot

0 comments on commit c66223f

Please sign in to comment.