To Enable USB Debugging, Enable it in the Android device by Applications–>Development–>Enable USB Debugging.
Then you need to add the following file (rule) to the udev rules directory :
Add the following code to this file :
Here idVendor means your device vendor, so change it accordingly. For more details, refer this
After saving this file, run this command to reload the udev rules.
After that, Everything will work!…