https://blog.csdn.net/freezingxu/article/details/80893025
When the access device for online debugging, encountered such a problem:
insufficient permissions for device: user in plugdev group; are your udev rules wrong?
Internet looked at the statistics, the main problem is that some non-standard equipment default can not be identified, the solution is very simple, recorded as follows:
First, enter the following command in the console:
lsusb
As shown above, I debugging device is a device the red box, in fact, is one of things industrial equipment. Appeared device name, the device is at least expressed in normal access to Ubuntu.
Next is very simple, we need to move to the following path:
/etc/udev/rules.d/
Then this path, create a new file .rules.
Note that the following section refer to Web content: Click on the link to open
sudo vim 51-android.rules
enter the following in the new file, and save it:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
Then re-plug the device directly, the problem has been resolved.