If you receive an error “failed to attach the usb device to the virtual machine” in Oracle VirtualBox while attaching a USB device or an error similar to the screen shot below, check if you have connected the device to a USB 3.0 port.
VirtualBox currently does not support attaching USB devices that are connected to a USB 3.0 port on the actual hardware. So the resolution would be to attach it to a regular USB 2.0 port.