Mask folder /dev/bus/usb RW
@@ -319,6 +319,10 @@ class DockerAddon(DockerInterface):
if self.addon.with_udev:
volumes.update({"/run/udev": {"bind": "/run/udev", "mode": "ro"}})
+ # Host USB: Some driver/library want read folder attributes
+ if self.addon.with_usb:
+ volumes.update({"/dev/bus/usb": {"bind": "/dev/bus/usb", "mode": "rw"}})
+
# Kernel Modules support
if self.addon.with_kernel_modules:
volumes.update({"/lib/modules": {"bind": "/lib/modules", "mode": "ro"}})
