Android phone is not recognized by Android SDK, despite udev conf
Hi, I've got an HTC Desire that I generally connect to this computer, and sharing pictures, videos, etc., works great. Some weeks ago, I tried using the Android SDK for x86. After having installed it, Say that my Android SDK is located at ~/android-sdk/. Then, I directly noticed that ~/android-sdk/tools/ddms wrote `? unknown device' for the connected (and listed device). In the console, I receive == 14:25 W/ddms: Unable to get frame buffer: device () request rejected: insufficient permissions for device == I then checked == $ ./adb devices List of devices attached no permissions == There appears to be a permission problem. I then wrote a `51-android.rules' file (with chmod a+r) in /etc/udev/rules.d/, such that == # cat 51-android.rules SUBSYSTEM==usb, ATTRS{idVendor}==0bb4, ATTRS{idProduct}==0c87, MODE=0666 == (the idVendor is the HTC one). I then restarted udev, but to no avail: same problems. Any idea? -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me. signature.asc Description: OpenPGP digital signature
Re: Android phone is not recognized by Android SDK, despite udev conf
I should have also mentioned that == # lsusb | grep High Bus 008 Device 005: ID 0bb4:0c87 High Tech Computer Corp. == which is a direct mapping to my udev's rules file. Merciadri Luca wrote: Hi, I've got an HTC Desire that I generally connect to this computer, and sharing pictures, videos, etc., works great. Some weeks ago, I tried using the Android SDK for x86. After having installed it, Say that my Android SDK is located at ~/android-sdk/. Then, I directly noticed that ~/android-sdk/tools/ddms wrote `? unknown device' for the connected (and listed device). In the console, I receive == 14:25 W/ddms: Unable to get frame buffer: device () request rejected: insufficient permissions for device == I then checked == $ ./adb devices List of devices attached no permissions == There appears to be a permission problem. I then wrote a `51-android.rules' file (with chmod a+r) in /etc/udev/rules.d/, such that == # cat 51-android.rules SUBSYSTEM==usb, ATTRS{idVendor}==0bb4, ATTRS{idProduct}==0c87, MODE=0666 == (the idVendor is the HTC one). I then restarted udev, but to no avail: same problems. Any idea? -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me. signature.asc Description: OpenPGP digital signature
Re: Android phone is not recognized by Android SDK, despite udev conf
Problem solved: restarting udev from CLI was not sufficient. I needed to restart. Merciadri Luca wrote: I should have also mentioned that == # lsusb | grep High Bus 008 Device 005: ID 0bb4:0c87 High Tech Computer Corp. == which is a direct mapping to my udev's rules file. Merciadri Luca wrote: Hi, I've got an HTC Desire that I generally connect to this computer, and sharing pictures, videos, etc., works great. Some weeks ago, I tried using the Android SDK for x86. After having installed it, Say that my Android SDK is located at ~/android-sdk/. Then, I directly noticed that ~/android-sdk/tools/ddms wrote `? unknown device' for the connected (and listed device). In the console, I receive == 14:25 W/ddms: Unable to get frame buffer: device () request rejected: insufficient permissions for device == I then checked == $ ./adb devices List of devices attached no permissions == There appears to be a permission problem. I then wrote a `51-android.rules' file (with chmod a+r) in /etc/udev/rules.d/, such that == # cat 51-android.rules SUBSYSTEM==usb, ATTRS{idVendor}==0bb4, ATTRS{idProduct}==0c87, MODE=0666 == (the idVendor is the HTC one). I then restarted udev, but to no avail: same problems. Any idea? -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me. signature.asc Description: OpenPGP digital signature
Re: Android phone is not recognized by Android SDK, despite udev conf
On Fri, 13 Aug 2010 14:18:17 +0200, Merciadri Luca wrote: (...) SUBSYSTEM==usb, ATTRS{idVendor}==0bb4, ATTRS{idProduct}==0c87, ^ MODE=0666 Mmm, to proper match udev rules, I think the above should read SUBSYSTEMS (yours lacks final S), in plural form :-) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.08.13.13.39...@gmail.com