开发者

Get android debugging to work on Ubuntu 11.04 Natty

开发者 https://www.devze.com 2023-03-20 22:37 出处:网络
I put a file named \"70-android.rules\" in 开发者_StackOverflow中文版 /etc/udev/rules.d/ with SUBSYSTEM==\"usb\", SYSFS{22b8}==\"22b8\", MODE=\"0666\"

I put a file named "70-android.rules" in

开发者_StackOverflow中文版

/etc/udev/rules.d/

with

SUBSYSTEM=="usb", SYSFS{22b8}=="22b8", MODE="0666"

but it still wont read my Motorola Atrix, is there something I'm doing wrong? most of the guides I found where for 10.10


Just to rule out anything really simple, did you enable USB debugging on your phone?


Change the SYSFS tag to ATTRS, works for me. Apparently they've changed the syntax. This is what mine looks like:

SUBSYSTEM=="usb"
ATTRS{idVendor}=="0bb4"
MODE="0666"
GROUP="plugdev"

Of course you keep your current idVendor value, as mine is for HTC. Hope this helps!


Ubuntu 11.04 needed slightly different way of doing things.

XDA thread here explains it step by step for 11.04 and 10.10

0

精彩评论

暂无评论...
验证码 换一张
取 消