./adb kill-server
sudo ./adb start-server
./adb devices
Setting up UDEV to recognize HTC Device -
- Type the following into a terminal (Applications > Accessories > Terminal):
Code:
gksudo gedit /etc/udev/rules.d/51-android.rules
- Now add the following line to the blank file:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
- Click save and close.
- To restart udev, open up a terminal and enter:
Code:
sudo /etc/init.d/udev restart
2 comments:
Followed the steps but by accessing the command: sudo /etc/init.d/udev restart
Receives an error message, please find below:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service udev restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart udev
udev start/running, process 4305
What am I doing wrong
This message simply means that you'll need to use the newer commands to control udev. Instead of running "sudo /etc/init.d/udev restart", run the following command:
"service udev restart"
(without the quotes)
This should accomplish the same effect. Of course, restarting your system would also work :)
Cheers,
David
Post a Comment