【发布时间】:2017-12-02 11:53:02
【问题描述】:
我正在尝试使用adb 将我的 Google Pixel 连接到我的 Fedora 27。过去,这一切都顺利进行,但现在不知何故坏了。我收到一条错误消息,提示我没有正确的权限,但现在它甚至看不到设备了:
[bart@localhost ~]$ adb devices
List of devices attached
(... nothing follows ... )
我的/etc/udev/rules.d/51-android.rules 看起来像这样:
SUBSYSTEM=="usb", ATTR{idVendor}=="0da4", MODE="0666"
(我删除了GROUP="plugdev",因为plugdev 组在Fedora 中不存在)。
连接 Pixel 时,我在 dmesg 输出中看到了这一点:
[ 1268.799413] usb 4-2: new SuperSpeed USB device number 13 using xhci_hcd
[ 1268.814476] usb 4-2: New USB device found, idVendor=18d1, idProduct=4ee7
[ 1268.814479] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1268.814481] usb 4-2: Product: Pixel
[ 1268.814482] usb 4-2: Manufacturer: Google
[ 1268.814483] usb 4-2: SerialNumber: FA6BF0300146
[ 1268.816458] usb 4-2: Enable of device-initiated U1 failed.
[ 1268.816934] usb 4-2: Enable of device-initiated U2 failed.
我环顾四周试图在网上找到一些信息,但找不到任何真正的解决方案。当然,Pixel 上启用了开发者选项和 USB 调试。
【问题讨论】: