亚行不会在Ubuntu 12.04检测装置三星I777会在、装置、亚行不、Ubuntu

2023-09-07 23:46:57 作者:看透爱情伤透心

这是我第一次尝试建立亚行与我的Ubuntu桌面连接S2。然而,当我跑 ADB设备和/或 ADB USB 它无法检测到S2。我按照以下步骤操作:

this is the first time I am trying to setup adb to connect s2 with my ubuntu desktop. However, when I run adb devices and/or adb usb it cannot detect the s2. I have followed the following steps:

创建的udev 规则 添加到〜/ .android / adb_usb.ini create udev rules add to ~/.android/adb_usb.ini

但设备未建立连接,而我在下载/奥丁模式。

But the device is not getting connected while I am in the download/odin mode.

我的系统是Ubuntu的12.04的64位和我使用了亚洲开发银行 pre-打包带 Android的工作室运行的lsusb 显示我下面的输出:

My system is Ubuntu 12.04 64-bit and I am using the adb pre-packaged with android studio running lsusb shows me the following output:

Bus 002 Device 004: ID 04e8:685d Samsung Electronics Co., Ltd

我还添加了以下行到我的 /etc/udev/rules.d/51-android.rules

# Samsung Galaxy I777
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"

和为了充分披露的权限是:

and for the sake of full disclosure the permissions are:

-rwxr-xr-x 1 root root   95 Jun  2 17:16 51-android.rules

也是〜/ .android / adb_usb.ini 的行 0x04e8

推荐答案

试试这个的通用udev规则,和 FASTBOOT 接口,不管是哪个匹配所有 ADB厂商ID:

Try this universal udev rule, which matches all adb and fastboot interfaces regardless of vendor ID:

ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff420?:*", MODE="0666"