中兴V9未被亚行检测 [英] ZTE V9 not detected by ADB

查看:156
本文介绍了中兴V9未被亚行检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了一个多小时尝试让ADB在 Ubuntu 11.04 上检测到我的ZTE V9。这不是一个权限问题, adb设备根本不打印任何东西

I've spent over an hour trying to make ADB detect my ZTE V9 on Ubuntu 11.04. It's not a permissions issue, adb devices simply doesn't print anything

List of devices attached

USB调试是在

这是什么我的Android规则看起来像

This is what my android rules look like

/etc/udev/rules.d/51-android.rules

SUBSYSTEM=="usb", ATTRS{idVendor}=="19d2:0083" SYMLINK+="android_adb", MODE="0666" GROUP="plugdev" TEST=="/var/run/ConsoleKit/database", \ RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"

这是lsusb的输出

This is the output of lsusb

Bus 002 Device 008: ID 19d2:0083 ONDA Communication S.p.A. 
Bus 002 Device 004: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
...

编辑android.rules之后,我重新启动了udev并重新启动了adb。

After editing android.rules I've restarted udev and restarted adb.

我已经对这个udev规则进行了几次修改。我也试图使用99-android.rules而不是51,但没有改变。

I've tried several modifications of this udev rule. I've also tried to use 99-android.rules instead of 51, but nothing changes.

然后,我试图手动编辑./android/adb_usb。 ini,在我的编辑看起来像这样

Then, I've tried to manually edit ./android/adb_usb.ini, which after my edit looks like this

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x19d2

但是仍然没有检测到设备。

But still, the device is not detected.

到目前为止,我已经开发了一个三星Galaxy S,它立即被检测到

Up to now I have developed for a Samsung Galaxy S, which is detected inmediately

提前感谢!

目前使用的资源:

XDA开发者

许多其他网站

推荐答案

我刚刚通过中兴V768(康科德)进行了所有这些相同的步骤,结果与你一样 - adb什么也没说。我用于每个其他手机的同样的udev规则只是不适用于这一个。

I just went through all these same steps with a ZTE V768 (concord), with the same results as you -- adb just showed nothing. The same udev rules I've used for every other phone just don't work for this one.

然后我发现这个线程:
http://forum.xda-developers.com/showthread.php?t=1853571& ; page = 8

Then I found this thread: http://forum.xda-developers.com/showthread.php?t=1853571&page=8

看起来ZTE可以方便地将驱动程序安装文件放在手机上的某个地方(我的位于/system/data/PCSUITE.ISO,或有人提到/dev/PCSUITE.ISO),它有一个linux脚本来为它设置一些udev规则。我/他们的'驱动程序'包括将2个规则文件复制到/ etc / udev中,然后立即执行'安装',然后'adb设备',然后在那里。

Looks like ZTE conveniently leaves a driver install file somewhere on their phones (mine was in /system/data/PCSUITE.ISO, or someone mentioned /dev/PCSUITE.ISO), which has a linux script to set up some udev rules for it. I ran their 'install', then 'adb devices' immediately after, and it was there.

/rules.d/,将adb复制到/ usr / bin,并在所有这三个文件上运行'chmod a + x'。我删除了规则文件的可执行权限,并删除了他们安装的adb,而且我仍然可以连接到手机,所以我相信只有这些规则是必要的。

Their 'driver' consists of copying 2 rules files to /etc/udev/rules.d/, copying adb to /usr/bin, and running 'chmod a+x' on all three of those files. I removed the executable permissions from the rules files and removed their installed adb, and I'm still able to connect to the phone, so I believe only the rules should be necessary.

所以,他们是:

51-android-hs.rules: / p>

51-android-hs.rules:

# for android device

SUBSYSTEM=="usb", SYSFS{idVendor}=="19d2", MODE="0666"

61-usb-cdrom-hs.rules: / strong>

61-usb-cdrom-hs.rules:

# This file maintains persistent names for CD/DVD reader and writer devices.
# See udev(7) for syntax.

############################################################################
SUBSYSTEM=="block", SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="0358", SYMLINK+="ZTECdrom", \
RUN+="/usr/bin/eject /dev/ZTECdrom", RUN+="/bin/eject /dev/ZTECdrom"
############################################################################






我还没有做更多的研究,为什么这个工作(cdrom规则是必要的,手机被认为是一个cdrom设备不知何故?使用SYSFS而不是ATTR有区别吗?或者规则只需要在这个手机的库存规则之前?)
...但这些是官方的'ZTE udev规则,它的作品。


I haven't done any more research into why this works (is the cdrom rule necessary, is the phone being recognized as a cdrom device somehow? Is there a difference between using 'SYSFS' as opposed to 'ATTR'? or does the rule just need to be before the stock rules for this phone?) ... but these are the 'official' ZTE udev rules, and it works.

如果重要的话,这是一个中兴协调会,在lsusb中显示的产品ID为0355,而我没有产品ID为0358的设备作为cdrom规则列表。再次,不知道这是否相关,只是分享,以防万一。

In case it matters, this was for a ZTE Concord which shows a product ID of '0355' in lsusb, and I don't have a device with a product ID of '0358' as the cdrom rule lists. Again, not sure if this is relevant, just sharing in case it is.

如果你想要完整的驱动程序安装,它可能在你的手机在/ system / data /PCSUITE.ISO或/dev/PCSUITE.ISO,或者有一个链接可以在上面的XDA线程中下载。

And if you want the full driver install, it's probably on your phone in /system/data/PCSUITE.ISO or /dev/PCSUITE.ISO, or there's a link to download it in the XDA thread above.

这篇关于中兴V9未被亚行检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆