I tried to get a screen shot from Motorolla RAZR and HTC Desire on Linux Mint 12.
In previous version of this OS, this operation past without any problems. But this time I got and error “DDMS: insufficient permissions for device”
solution was found in the article [SOLVED] Taking screenshots of android
1. get Vendor and Product id of your device
#$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 004: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller Bus 003 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader Bus 005 Device 003: ID 046d:c05a Logitech, Inc. Optical Mouse M90 Bus 001 Device 016: ID 0bb4:0c87 High Tech Computer Corp. Desire (debug)
In this out put last device is my HTC Desire.
ID 0bb4:0c87 means [Vendor]:[Product]
2. open for editing file /etc/udev/rules.d/51-android.rules
$ sudo vi /etc/udev/rules.d/51-android.rules
3. add following string
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c87", MODE="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="42d9", MODE="0666"
In my case second line was for Motorolla RAZR.
4. reload udev rules
$ sudo reload udev
5. Re-plug your device
6. start ddms
That’s it.