From: Erfan Abdi Date: Tue, 19 Oct 2021 03:06:03 +0000 (+0330) Subject: lxc: Make sure vibrator sys nodes are writable X-Git-Tag: 1.2.0~5 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/d201cd533d268792760c5e5303ed96d95e68e3d4?ds=inline lxc: Make sure vibrator sys nodes are writable --- diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index eb290af..de217e3 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -92,6 +92,12 @@ def generate_nodes_lxc_config(args): make_entry("/dev/sw_sync") make_entry("/sys/kernel/debug", options="rbind,create=dir,optional 0 0") + # Vibrator + make_entry("/sys/class/leds/vibrator", + options="bind,create=dir,optional 0 0") + make_entry("/sys/devices/virtual/timed_output/vibrator", + options="bind,create=dir,optional 0 0") + # Media dev nodes (for Mediatek) make_entry("/dev/Vcodec") make_entry("/dev/MTK_SMI")