是德科技
直播中

崔丽

7年用户 231经验值
私信 关注
[问答]

82357B VirtualBox中的GPIB-USB适配器

嗨,我想让我们的82357B GPIB-USB适配器在虚拟机中工作。
我在ubuntu 12.04主机(3.11内核)上使用VirtualBox 4.2.16(带扩展包,但问题是否相同)。
在vm中,我使用的是win7-x64并安装了连接专家16.3.17914.4。
就设备管理器而言,设备工作正常:我在vbox中创建了所谓的过滤器,允许从vm内访问两个USB设备。
“Both both”,因为设备在由驱动程序配置时更改了u*** ID。
配置完成后,设备管理器会显示健康的“Agilent Technologies 82357B”。
但是连接专家显然有这个配置的问题......它确实在其树中显示“USB / GPIB(GPIB0)”设备但是带有红色x。
当我右键单击它并选择“刷新此设备”然后它会尝试,但在详细信息中显示“通信失败”和“错误:ResourceNotFound”。
它还会将一些内容记录到Windows的事件查看器中,从“IocAgent.ReadAndValidateInterfaceEntry:INTF4的验证失败:计算机上不存在串行接口编号3”,以“VOC”作为源。
第二个错误看起来也很有趣:“ag357i [Pid / tid = 2088/1616]:错误,OpenU***IntfDevice():CreateFile(1)失败w / err = [5] on [\? u***#vid_0957& pid_0718#my52433349
#{a5dcbf10-6530-11d2-901f-00c04fb951ed}]”。
错误5是“访问被拒绝”。
AFAICT路径是正确的,根据设备管理器和Windows注册表,至少所有元素都是正确的。
我已经将完整的日志附加为.txt和.evtx(windows的本机事件查看器格式)。
通过在刷新接口的同时监视主机上的相应总线,我确实没有向设备发送u***数据包。
该设备在具有原生窗口7的另一台机器上工作正常。任何想法?
refresh.txt11.0 KB

以上来自于谷歌翻译


     以下为原文

  Hi,

I am trying to get our 82357B GPIB-USB adapter to work in a virtual machine.
I am using VirtualBox 4.2.16 (with the expansion pack but the problems w/o it are the same) on a ubuntu 12.04 host (3.11 kernel).
In the vm I am using win7-x64 and have connection expert 16.3.17914.4 installed.
As far as the device manager is concerned, the device works fine:
I have created so-called filters in vbox that allow both u*** devices to be accessed from within a vm.
"Both" because the device changes u*** ids while being configured by the driver.
After configuration the device manager shows a healthy "Agilent Technologies 82357B".

But connection expert obviously has problems with this configuration...
It does show a "USB/GPIB (GPIB0)" device in its tree but with a red x.
When I right-click on it and select "Refresh This Device" then it tries to, but shows "There was a communication failure" and "Error:
ResourceNotFound" in the details.

It does also log some stuff into windows' event viewer, starting with
"IocAgent.ReadAndValidateInterfaceEntry: Validate of INTF4 failed: Serial interface number 3 is not present on the computer" with "VOC" as source.
The second error also looks interesting: "ag357i[Pid/Tid=2088/1616]: Error, OpenU***IntfDevice():CreateFile(1) failed w/err=[5] on [\?u***#vid_0957&pid_0718#my52433349#{a5dcbf10-6530-11d2-901f-00c04fb951ed}]".
Error 5 is "access denied".
AFAICT the path is correct, at least all elements are correct according to the device manager and the windows registry.
I've attached the complete log as .txt and .evtx (windows' native event viewer format).

I did verify that no u*** packet is sent to the device by monitoring the respective bus on the host while refreshing the interface.
The device works fine on another machine with native windows 7.
Any ideas?   
附件

回帖(6)

杜文渊

2018-11-29 10:52:50
让我把它设置好并回复你。

以上来自于谷歌翻译


     以下为原文

  Let me set this up and get back to you.
举报

杜文渊

2018-11-29 11:11:53
引用: MAX_zuo 发表于 2018-11-29 12:28
让我把它设置好并回复你。

以上来自于谷歌翻译

我安装了VirtualBox 4.3.6和IO Libraries Suite 16.3 Update 2(16.3.17914.4),这很好用。
我的猜测是你没有这个最新版本的IO Libraries Suite([www.agilent.com/find/iosuite])。
首先尝试升级,然后升级您的VirtualBox版本,如果仍然无效。
我很好奇是什么驱使你走这条路?
将GPIB适配器运行到虚拟机的用例是什么?

以上来自于谷歌翻译


     以下为原文

  I installed VirtualBox 4.3.6 and IO Libraries Suite 16.3 Update 2 (16.3.17914.4) and this worked fine. My guess is that you don't have this latest version of the IO Libraries Suite ([www.agilent.com/find/iosuite]). Try upgrading that first, then upgrade your version of VirtualBox if that still doesn't work. 

I'm curious as to what drove you down this path? What is your use case for running the GPIB adapter through to a Virtual Machine?
举报

崔丽

2018-11-29 11:22:47
引用: MAX_zuo 发表于 2018-11-29 12:47
我安装了VirtualBox 4.3.6和IO Libraries Suite 16.3 Update 2(16.3.17914.4),这很好用。
我的猜测是你没有这个最新版本的IO Libraries Suite([www.agilent.com/find/iosuite])。
首先尝试升级,然后升级您的VirtualBox版本,如果仍然无效。

谢谢你的努力!
我肯定安装了16.3.17914.4版(从头开始),这不是问题所在。
也许他们在(我的)4.2.16和(你的)4.3.6之间的VirtualBox中修复了一个问题。
我不是唯一有这个问题的人:在2008年的虚拟机william hill官网 中有一篇文章:https://forums.virtualbox.org/viewtopic.php?f = 6& t = 11702你没有提到哪个
你使用的主机操作系统,如果你使用过32b或64b操作系统?
我在VM中使用适配器的原因是我无法在Windows中有效工作,但我必须使用不在Linux上运行的专有工具软件(尚未)。
;)

以上来自于谷歌翻译


     以下为原文

  Thanks for your effort! I have definitely version 16.3.17914.4 installed (from scratch), that can't be the problem. Maybe they have fixed a problem in VirtualBox between (my) 4.2.16 and (your) 4.3.6. I am not the only one that had/has this problem: there exists a post from 2008 in the virtualbox forum: https://forums.virtualbox.org/viewtopic.php?f=6&t=11702

You did not mention which host OS you have used and if you have used 32b or 64b OSes?

The reason why I am using the adapter in a VM is that I just can't work effectively in Windows, but I have to use proprietary instrumentation software that does not run on Linux (yet). ;)
举报

杜文渊

2018-11-29 11:35:43
引用: yukichen 发表于 2018-11-29 12:58
谢谢你的努力!
我肯定安装了16.3.17914.4版(从头开始),这不是问题所在。
也许他们在(我的)4.2.16和(你的)4.3.6之间的VirtualBox中修复了一个问题。

我的主机操作系统是Ubuntu 12.04 LTS 64位。
您最感兴趣的可在Linux上使用的任何特定安捷伦软件?

以上来自于谷歌翻译


     以下为原文

  My host OS is Ubuntu 12.04 LTS 64-bit.

Any particular Agilent software that you are most interested in being usable on Linux?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分