]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - lxc-configs/config
anbox: Better odm mountpoint selection
[waydroid.git] / lxc-configs / config
index 118810f088a6d84968fe463915fc334521d62464..5c62ec70dc71168a4d4e4d152ceeb182fdca007f 100644 (file)
@@ -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