X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/8ef2f6ddcd44f5465fd4e49ed37f1874261a6bf9..35d7a20f02d4195de72ac749a0dae665c17e6fff:/lxc-configs/config diff --git a/lxc-configs/config b/lxc-configs/config index 118810f..5c62ec7 100644 --- a/lxc-configs/config +++ b/lxc-configs/config @@ -62,4 +62,18 @@ lxc.mount.entry = /vendor vendor_extra none bind,optional 0 0 # Recursive mount /run to provide necessary host sockets lxc.mount.entry = /run run none rbind,create=dir 0 0 +# Necessary sw_sync node for HWC +lxc.mount.entry = /dev/sw_sync dev/sw_sync none bind,create=file,optional 0 0 +lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none rbind,create=dir,optional 0 0 + +# Media dev nodes (for Mediatek) +lxc.mount.entry = /dev/Vcodec dev/Vcodec none bind,create=file,optional 0 0 +lxc.mount.entry = /dev/MTK_SMI dev/MTK_SMI none bind,create=file,optional 0 0 +lxc.mount.entry = /dev/mdp_sync dev/mdp_sync none bind,create=file,optional 0 0 +lxc.mount.entry = /dev/mtk_cmdq dev/mtk_cmdq none bind,create=file,optional 0 0 + +# Media dev nodes (for Qcom) +lxc.mount.entry = /dev/video32 dev/video32 none bind,create=file,optional 0 0 +lxc.mount.entry = /dev/video33 dev/video33 none bind,create=file,optional 0 0 + lxc.hook.post-stop = /dev/null