How to enable raw-usb and removable-usb?

I have installed snap and anbox on CentOS 7. I load the application that needs access to USB devices but didn’t work as USB devices isn’t passed to Anbox. The documentation I searched is very high level not really explaining how other than the references are making circle. Can someone tell me how to add removable-media and raw-usb?
It should be enabled by defaults for debug mode.

the anbox snap forces devmode by default which means it does not use any interfaces (it will only print audit messages in your systemd journal, but not block anything in this mode) so the usb or removable-media interfaces will not be used.

it is more likely this is a limitation in anbox itself when run on centos. you can contact the anbox developers via the links at the bottom of https://anbox.io/

1 Like