added privileged mode for usb or webcam device