USB调试 - 问题与安装驱动程序EPSON Moverio [英] USB debugging - Issue with installing drivers for Epson Moverio

查看:832
本文介绍了USB调试 - 问题与安装驱动程序EPSON Moverio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新到Android的发展中,我使用了一个小的应用程序的Eclipse 该工程完全虚拟的Andr​​oid设备上。现在,我想真正的设备上运行:Moverio,头戴式显示器爱普生提出,但我的电脑只是不承认它作为一个Android设备。

New to Android development, I've made a small app using Eclipse that works perfectly on a virtual Android device. Now, I want to run it on the real device: Moverio, a head-mounted display made by Epson, but my computer just does not recognize it as an Android device.

作为在Windows 7上,我明白我需要一个特定的USB驱动程序。爱普生送我说明安装驱动程序,但它仍然无法正常工作。我该怎么办呢?

Being on Windows 7, I understood I need a specific USB driver. Epson sent me instructions to install the driver, but it still doesn't work. How can I do it?

下面是我遵循的步骤:

  1. 添加下面的[Google.NTx86]两行[Google.NTamd64]节 \演员\谷歌\ usb_driver \ android_winusb.inf:
    %SingleAdbInterface%= USB_Install,USB \ VID_04B8&放大器; PID_0C04
    %CompositeAdbInterface%= USB_Install,USB \ VID_04B8&功放; PID_0C04和放大器; MI_01
  2. 在添加供应商ID的[用户名] .android \ adb_usb.ini]
  3. 启用USB调试模式,在设备上
  4. 在安装USB驱动程序以下这里给出的说明 http://developer.android .COM /工具/演员/ OEM-usb.html#InstallingDriver
  1. Add following two lines in [Google.NTx86] and [Google.NTamd64] sections in \extras\google\usb_driver\android_winusb.inf:
    %SingleAdbInterface% = USB_Install, USB\VID_04B8&PID_0C04
    %CompositeAdbInterface% = USB_Install, USB\VID_04B8&PID_0C04&MI_01
  2. Add vendor ID in [username].android\adb_usb.ini]
  3. Enable USB debugging mode on the device
  4. Install USB driver following instructions given here http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver

我跑进在第四步的一个问题:在我的设备管理面板,Moverio是在磁盘驱动器的范畴。当我右键点击它来安装或更新驱动程序然而,输入< SDK> \演员\谷歌\ usb_driver \ 文件夹,它说的驱动程序是最新的。 当我尝试运行使用Eclipse的应用程序,它要求我安装一个虚拟设备,因为它无法找到任何真正的设备连接。

I ran into a problem in the fourth step: in my device management panel, Moverio is in the "Disk drives" category. When I right click on it to install or update drivers nevertheless, inputting the <sdk>\extras\google\usb_driver\ folder, it says the driver is up to date. When I try to run the app using Eclipse, it asks me to install a virtual device, because it can't find any real device connected.

推荐答案

我设法找到一个博客帖子通过需要启用的的对设备的访问。 href="http://pasopia700.blogspot.com/2012/08/blog-post_25.html" rel="nofollow">原的谷歌翻译留下遗憾的地方。

I managed to find a blog post walking through the process needed to enable ADB access to the device. The original is in Japanese and the Google translation left something to be desired.

我提供我下面的过程中娱乐;这是部分地翻译和部分原的膨胀和组合与官方文档未能将与Moverio遇到的问题。

I'm providing my recreation of the process below; this is partially a translation and partially an expansion and combination of the original with the official documentation which failed to cover the problem encountered with the Moverio.

通过指出在最后进行一些修改,我怀疑这应该安装上只能识别为外部数据的驱动器在默认情况下,以及其他设备调试的支持。

With a few modifications noted at the end, I suspect this should work for installing debug support on other devices that only identify as external data drives by default as well.

  1. 您需要做的第一件事情是编辑的.inf文件的谷歌USB驱动程序。

  1. The first thing you need to do is to edit the .inf file for the Google USB driver.

该文件位于 \ Android的SDK \演员\谷歌\ usb_driver \ android_winusb.inf

默认情况下, Android的SDK 文件夹位于 C:\用户\ YourUserName \应用程序数据\本地\机器人\

By default, the android-sdk folder is located under C:\User\YourUserName\AppData\Local\Android\.

您需要将以下行添加到文件的末尾:

You need to add the following lines to the end of the file:

[Google.NTamd64]
; BT-100
%SingleAdbInterface% = USB_Install, USB\VID_04B8&PID_0C04
%CompositeAdbInterface% = USB_Install, USB\VID_04B8&PID_0C04&MI_01

  • 接下来连接设备和禁止开发模式。 Windows将其识别为一个 USB大容量存储设备(MSC)。

  • Next connect the device with developer mode disabled. Windows will identify it as a USB mass storage device (MSC).

    您需要进入设备管理器并卸载它。如果你有在USB串行总线控制器列出了多个USB-MSD的,可以识别断开,请右键点击每一个这仍然是哪一个是Moverio present,选择属性,并指出在常规选项卡上的位置值。然后重新连接Moverio和寻找它增加了新的条目。

    You need to go into Device Manager and uninstall it. If you have multiple USB-MSDs listed under USB Serial Bus Controllers, you can identify which one is the Moverio by disconnecting it, right clicking on each one that is still present, selecting properties and noting the location value on the general tab. Then reconnect the Moverio and look for the new entry it adds.

    在你卸载的Moverio的USB大容量存储设备进入,断开,并在设备上启用开发人员模式。

    After you've uninstalled the Moverio's USB Mass Storage Device entry, disconnect it and enable Developer mode on the device.

    然后重新连接。设备管理器将更新,以显示下一个 BT1 进入其它设备

    Then reconnect it. Device Manager will update to show a BT1 entry under Other Devices

    右键点击BT1条目,选择的更新驱动程序软件的,mrowse的我的电脑的驱动程序软件。从步骤1提供的路径USB驱动程序文件夹。点击的下一步的。

    Right click on the BT1 entry, select Update Driver Software, mrowse My Computer for driver software. Provide the path to the USB driver folder from step one. Click Next.

    在这一点上,我收到了有关无法验证驱动程序的发布者警告。我相信这是与我有编辑的.inf文件。点击始终安装此驱动程序软件。

    At this point I get a warning about not being able to verify the publisher of the driver. I believe this is related to my having edited the .inf file. Click install this driver software anyway.

    Windows将报告该驱动程序安装成功。关闭更新对话框。您现在应该看到一个在设备管理器的Andr​​oid复合亚行界面项。在我的电脑它出现在华硕Android设备;我以为是我在过去的连接Transformerpad遗留下来的;在博客中,我使用,因为它出现在 Android手机源。

    Windows will report that the driver is successfully installed. Close the update dialog. You should now see an Android Composite ADB Interface entry in device manager. On my computer it's appearing under ASUS Android Devices; which I assume is a legacy of the Transformerpad I've connected in the past; in the blog I'm using as a source it appeared under Android Phone.

    亚行仍需要被告知该设备可用但是。要做到这一点,你需要编辑的Andr​​oid \。\ adb_usb.ini 文件。 的C默认位置:\用户\ YourUserName \ 通过附加的供应商ID作为新行到最后。这是一个自动生成的文件;但在注释运行更新过程将删除我们所需要的条目。如果你意外地失去了调试的能力,这可能会是一个好地方重新检查。

    ADB still needs to be informed that the device is available however. To do this, you need to edit the \.Android\adb_usb.ini file. Default location of C:\User\YourUserName\ by appending the vendor ID as a new line to the end. This is an autogenerated file; but running the update process in the comment will remove the entry we need. If you unexpectedly lose the ability to debug, this would probably be a good spot to recheck.

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

  • 剩下的唯一一件事就是停止并重新启动ADB。要做到这一点,在打开命令提示符\ Android的SDK \平台工具。发出命令 ADB杀死服务器的命令后面 ADB设备

  • The only thing left is to stop and restart ADB. To do this, open a command prompt at \android-sdk\platform-tools. Issue the command adb kill-server followed by the command adb devices.

    C:\Users\Neelyd\AppData\Local\Android\android-sdk\platform-tools>adb kill-server
    
    C:\Users\Neelyd\AppData\Local\Android\android-sdk\platform-tools>adb devices
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached
    WS000   device
    

    在亚行重新启动设备应列出,并出现在DDMS在Eclipse。

    When ADB restarts the device should be listed, and appear in DDMS in Eclipse.

    要使用此过程将不同的设备,我认为你应该需要做的就是右键点击该设备的USB设备管理大容量存储设备条目(步骤3)上安装通用的Andr​​oid USB驱动程序;选择详细信息,选择硬件ID属性,注意显示的值,并用它们代替Moverio的在 android_winusb.inf 文件(步骤1),和供应商ID在 adb_usb.ini (第10步)。

    To use this procedure to install the generic Android USB driver on a different device I think all you should need to do is to right click on the device's USB Mass Storage Device entry in device manager (step 3); select details, select the Hardware Ids property, note the values displayed, and use them in place of the Moverio's in the android_winusb.inf file (step 1), and the vendor ID in adb_usb.ini (step 10).

    可能简单的选择

    搞清楚了这一点后,我终于得到了来自爱普生的支持答复。他们说,这应该是可以安装自己的驱动程序来直接步骤2中确定的USB-MSD。如果这样的作品,将取代步骤3-6。我没有测试过的,所以我只能离开这个音符为PostScript。

    After figuring this out, I finally got a reply from Epson support. They said it should be possible to install their driver to the USB-MSD identified in step 2 directly. If that works it would replace steps 3-6. I haven't tested it though, so I'm only leaving this note as a postscript.

    这篇关于USB调试 - 问题与安装驱动程序EPSON Moverio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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