Other may have experienced problems with adb debugging under ubuntu linux.
The symptom is the availability of usb connected android devices e.g. with eclipse. You may test this with
adb usb
When you get
error: insufficient permissions for device
you probably run into the same problem like me. However, I found on the internet some more or less sub optimal solutions
The basic idea is to start adb as root. The solutions I found were cumbersome.
One proposal is to start adb per sudo. An other proposal was to set up a boot script in /etc/init.d
My solution is to give adb the permission to start as root. To do so, switch to root
sudo bash
chown root adb
chmod ug+s-w adb
security fanatics may propose
sudo chown root adb
sudo chmod ug+s-w adb
If adb is already running you need to kill the demon to start with root permission
adb kill-server
When everything went right
adb usb
should return
restarting in USB mode
if not, try lsusb th check whether your device is already connected
The Google recommended way to deal with ADB device permissions is to create an UDEV rule which would set appropriate permissions on device enumeration.
As per http://developer.android.com/tools/device.html
use following three command its works for me