如何通过 USB 远程连接到虚拟机
我正在尝试在虚拟机上进行移动应用程序开发(BlackBerry、Android)。我的想法是,无论我在什么桌面上,我都可以打开到虚拟机的远程连接并准备好我的移动开发环境。问题是我想将代码部署到移动设备,就像它物理连接到虚拟机一样。理想情况下,设备将插入正在创建远程连接的客户端计算机。
我目前正在使用 VMWare 工作站来管理我的虚拟机,我做了一些研究,看看通过网络连接 USB 设备的最佳解决方案是什么。
有许多昂贵的 USB 网络解决方案,它们可能适合也可能不适用于我正在尝试的用途,但我想避免使用这些解决方案。我对免费的开源解决方案感兴趣,其中 USB 主机和 USB 客户端都是 Windows 机器。这接近我正在寻找的 http://usbip.sourceforge.net/,但你可以' t 托管 Windows 设备。
看来我可以通过 Microsoft RDC 使用 Hyper-V VM 和 RemoteFX 来完成此操作,但我希望它可以在我现有的 VMWare VM 上运行。
我发现的最快的解决方案是网络 USB 集线器,它允许我通过网络连接设备,但这会迫使我连接到集线器,如果更多人参与我的项目,这将是一个问题。
理想情况下,我正在寻找现有的软件解决方案来解决我的问题。有什么建议吗?
还有人可以确认这可以在使用 RemoteFX 的 Hyper-V 中工作吗?
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.
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.
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.
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.
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?
Also can anyone confirm this would work in Hyper-V using RemoteFX?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会考虑将您的虚拟机从 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.