平板电脑未出现在 ADB 中
我刚刚拥有一台运行 Android 的 Lenovo Thinkpad Slate 平板电脑,但我始终无法让 ADB 在 Win7 或 Kubuntu 中识别它。
USB 调试在平板电脑设置中处于打开状态,当我将平板电脑连接到计算机时,会出现“USB 调试已连接”消息 - 所以从平板电脑方面来看一切都很好。计算机方面的事情并不是那么好。
Kubuntu(我的主要开发机器)
我已将供应商 ID 添加到 /etc/udev/rules.d/51-android.rules 文件中(按照指示 此处) - 已尝试过以下每一项,一次一个,但没有成功。
SUBSYSTEM=="usb", SYSFS{idVendor}=="17ef", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="17EF", MODE ="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="17EF", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666"
作为参考,我有 SUBSYSTEM==“usb”,ATTR {idVendor}==“18d1”,MODE =“0666”,GROUP =“plugdev”
对于我的 Nexus S,效果很好。
lsusb
打印出:
root@ubuntu:/etc/udev/rules.d# lsusb
...
Bus 002 Device 008: ID 17ef:741b Lenovo
...
Windows
已关注 这些说明,但仍然没有从 adb 设备获得任何响应。
我已经多次重新启动两台机器和平板电脑,但无济于事。有人可以帮忙吗?
I've just got a Lenovo Thinkpad Slate Tablet running Android and can't for the life of me get ADB to recognise it in either Win7 or Kubuntu.
USB debugging is on in the tablet settings and when I connect the tablet to the computer the "USB Debugging Connected" message appears - so all good from the tablet side of things. The computer side of things isn't so great.
Kubuntu (my main dev machine)
I've added the vendor id to the /etc/udev/rules.d/51-android.rules file (as directed here) - have tried each of the below, one at a time, with no success.
SUBSYSTEM=="usb", SYSFS{idVendor}=="17ef", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="17EF", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="17EF", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666"
For reference I haveSUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
for my Nexus S and it works fine.
lsusb
prints out:
root@ubuntu:/etc/udev/rules.d# lsusb
...
Bus 002 Device 008: ID 17ef:741b Lenovo
...
Windows
Have followed these instructions and still not getting any response from adb devices.
I've restarted both machines and the tablet several times to no avail. Can anyone help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
创建文件 ~/.android/adb_usb.ini 并添加供应商 ID (0x17ef) 并重新启动 adb 似乎已经解决了 Windows 和 Kubuntu 中的问题。
Creating the file ~/.android/adb_usb.ini and adding the vendor id (0x17ef) and restarting adb seems to have fixed the issue in both Windows and Kubuntu.
我在联想的页面上遇到了问题。我的 thinkpad 列在便携式设备下,按照说明操作后出现“无法找到适合您的设备的驱动器”的情况。我可以通过在互联网上搜索更新来进行补救(更新为 USB 驱动程序,这将我的 Thinkpad 移至设备管理器中其他设备的类别)。然后我就可以使用网页上列出的说明。
I had a problem with the Lenovo's page. My thinkpad was listed under portable devices and following the directions got me "Unable to find drive for your device". I was able to remedy by search internet for updates (which updated to a USB driver and this moved my Thinkpad to the other device's category in the Device Manager). I then was able to use the instructions as listed on the web page.
我尝试了多种方法,尤其是联想论坛的帖子,但没有成功。终于,我找到了自己的路。
启用 USB 调试
从 Lenovo,解压并更新您的设备驱动程序。我认为有些人会像@Pooks 的回答一样成功,然后你就可以停下来了。否则,请继续如下操作。
如果最新的驱动程序没有帮助或 Windows 无法为您的设备安装驱动程序,请检查其硬件 ID。我的是 USB\VID_17EF&PID_741B
打开android_winusb.inf,找到这些设置
[Google.NTamd64]
;联想Think平板电脑
%SingleAdbInterface% = USB_Install、USB\VID_17EF&PID_741B
%CompositeAdbInterface% = USB_Install、USB\VID_17EF&PID_741B&MI_01
%CompositeAdbInterface% = USB_Install、USB\VID_17EF&PID_741C&MI_01
%CompositeAdbInterface% = USB_Install、USB\VID_17EF&PID_741D&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_741E&MI_02
我的是 USB\VID_17EF&PID_741B,所以我只删除其余的。现在看来
,现在只需再次更新您的驱动程序即可。 Windows 应正确安装您的设备。可以通过ADB devices查看设备连接情况,我的是
I had tried several ways, especially posts from Lenovo forum but no luck. Finally, I have found my way.
Enabling USB debugging
Download the driver from Lenovo, unzip and update your device driver. I think some people would be success as @Pooks answer then you can stop. Otherwise, continue as below.
If latest driver does not help or Windows could not install driver for your device, let check its Hardware Ids. Mine is USB\VID_17EF&PID_741B
Open the android_winusb.inf, find these settings
[Google.NTamd64]
;Lenovo Think Tablet
%SingleAdbInterface% = USB_Install, USB\VID_17EF&PID_741B
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_741B&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_741C&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_741D&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_741E&MI_02
Mine is USB\VID_17EF&PID_741B, so I just remove the rest. Now it looks like
For now, just update your driver again. Windows should install your device properly. You can check the device connection by ADB devices, mine is
使用 Lenovo Smart Assistance 程序从 Lenovo 页面下载并安装驱动程序:
只需下载、安装并运行该程序即可。
http://support.lenovo.com/ us/en/products/tablets/a-series/a10-70-tablet
Download and install the drivers using the Lenovo Smart Assistance program from Lenovo's page:
Just download, install and run the program.
http://support.lenovo.com/us/en/products/tablets/a-series/a10-70-tablet
请参阅这个< /a> 问题。需要确保的一件事是,您没有使用便宜的 2 美元仿冒 USB 电缆。我这样做过一次,但不明白为什么我的电脑无法识别我的手机。更换电缆解决了一切。
Please see this question. One of the things to make sure of is that you are not using a cheap $2 knock-off USB cable. I did this once and couldn't figure out WHY my computer would not recognize my phone. Replacing the cable fixed everything.
我通过访问 Lenovo 的 ADB 接口驱动程序 - ThinkPad Tablet 下载页面并按照那里的安装说明进行操作。效果非常好!
I got mine to work by going to Lenovo's ADB Interface Driver - ThinkPad Tablet download page and following the installation instructions there. Worked like a charm!
可能会有很多问题,但是在执行了启用 USB 调试等基本步骤后,如果仍然无法正常工作,请按照以下步骤对我的 ubuntu(所有平板电脑)有帮助:
例如:
总线 002 设备 003:ID 0a5c:e784 Broadcom Corp.
总线 002 设备 002:ID 8087:0024 英特尔公司集成速率匹配集线器
总线 002 设备 001:ID 1d6b:0002 Linux Foundation 2.0 根集线器
总线 001 设备 005:ID 0cf3:3005 Atheros Communications, Inc. AR3011 蓝牙
总线 001 设备 003: ID 04f2:b249 群光电子有限公司
总线 001 设备 002:ID 8087:0024 英特尔公司集成速率匹配集线器
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
a5c 是我的供应商 ID
There might be a lot of issue, but after you do the basic steps like enabling USB debugging and all, if still it does not work follow below steps which helped me for ubuntu (all tablets):
eg:
Bus 002 Device 003: ID 0a5c:e784 Broadcom Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 003: ID 04f2:b249 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
a5c is my vendor id
对于 Ubuntu,我刚刚将
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666", GROUP="plugdev"
添加到我的/etc/udev /rules.d/51-android.rules
文件。重启adb,然后就成功了!For Ubuntu, I just added
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666", GROUP="plugdev"
to my/etc/udev/rules.d/51-android.rules
file. Restarted adb, and then it worked!