如何使用USB通过远程连接到虚拟机 [英] How to use USB over Remote Connection to a Virtual Machine

查看:308
本文介绍了如何使用USB通过远程连接到虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在虚拟机上进行移动应用程序开发(BlackBerry,Android).我的想法是,无论我在什么桌面上,都可以打开与虚拟机的远程连接,并准备好我的移动开发环境.问题是我想将代码部署到移动设备上,就像它已物理连接到虚拟机一样.理想情况下,将设备插入创建远程连接的客户端计算机中.

I'm trying to do mobile application development (BlackBerry, Android) on a virtual machine. My idea is that no matter what desktop I'm on I can open a remote connection to the virtual machine and have my mobile development environment ready. The problem is that I would like to deploy code to the mobile device as if it were physically connected to the virtual machine. Ideally the devices will be plugged in to the client machine that is creating the remote connection.

我目前正在使用VMWare工作站来管理我的虚拟机,我做了一些研究,以了解通过网络连接USB设备的最佳解决方案是什么.

I'm currently using VMWare workstation to manage my virtual machines, I've done a bit of research to see what the best solution for connecting my usb devices over the network is.

有很多昂贵的USB网络解决方案,可能会也可能无法满足我的尝试,但我想避免使用这些解决方案.我对USB主机和USB客户端都是Windows计算机的免费开源解决方案感兴趣.这与我正在寻找的 http://usbip.sourceforge.net/接近,但是您可以不能从Windows托管设备.

There are a multitude of pricey USB over network solutions that may or may not work for what I'm trying, but I would like to avoid those. I would be interested in a free open source solution where both the usb host and usb client are windows machines. This is close to what I am looking for http://usbip.sourceforge.net/, but you can't host a device from Windows.

看来,我可以通过Microsoft RDC在Hyper-V VM和RemoteFX上执行此操作,但是我希望在现有的VMWare VM上执行此操作.

It appears that I may be able to do this with a Hyper-V VM and RemoteFX through Microsoft RDC, but I would like this to work on my existing VMWare VM.

我找到的最快的解决方案是网络USB集线器,该集线器使我可以通过网络连接设备,但是这将迫使我连接到集线器,如果有更多人参与我的项目,这将是一个问题.

The quickest solution I've found is a network usb hub that would allow me to connect the devices over the network, but this would force me to be attached to the hub which is a problem if more people come on my project.

理想情况下,我正在寻找可以解决我的问题的现有软件解决方案.有什么建议吗?

Ideally I'm looking for an existing software solution to my problem. Any suggestions?

任何人都可以确认使用RemoteFX可以在Hyper-V中使用吗?

Also can anyone confirm this would work in Hyper-V using RemoteFX?

推荐答案

我考虑将您的VM从Sun(现在为Oracle)移植到VirtualBox,它们具有现成的远程USB支持,并且非常稳定.

I would consider porting your VM over to VirtualBox from Sun (now Oracle) they have remote USB support out-of-the-box, and are very stable.

我已经以另一种方式(为了工作)移植了机器,这并不困难.

I've ported machines the other way (for work) and it's not difficult.

这篇关于如何使用USB通过远程连接到虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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