1.
adb-devices  - got following error
$ adb devices
List
of devices attached
41a6a455 no
permissions (udev requires plugdev group membership); see
[http://developer.android.com/tools/device.html]
2.
Find the bus and device id assigned by the kernel:
$ lsusbBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 003: ID 413c:2113 Dell Computer Corp.Bus 001 Device 002: ID 413c:301a Dell Computer Corp.Bus 001 Device 008: ID 05c6:9091 Qualcomm, Inc.Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubNote:The path comes from the output of lsusb: 001 is theBus, and 008 is theDevice.lsusb:{idVendor=05c6 : idProduct=9091}3.Check the permissions of the device file$ ls -la /dev/bus/usb/001/008crw-rw-r-- 1 root root 189, 5 Jul 3 11:11 /dev/bus/usb/001/0084.Create a udev rules file, let’s say: /etc/udev/rules.d/51-android.rules$ sudo vi /etc/udev/rules.d/51-android.rules5.Add one rule for each unique idVendor:
SUBSYSTEM=="usb",
ATTR{idVendor}=="05c6", ATTR{idProduct}=="9091",
MODE="0666", GROUP="plugdev"
6.
Restart udev
$ sudo udevadm control –reload-rules$ sudo service udev restart
7.
Unplug/replug
your device
8.
Check
the permissions of the device file$ ls -la /dev/bus/usb/001/008crw-rw-r-- 1 root plugdev 189, 9 Jul 3 11:48 /dev/bus/usb/001/008
9.
To
shoe devices using
adb
devices
$
adb devices
List
of devices attached
41a6a455 device
Ref:
Thank you! you save me :)
ReplyDelete