如何配置插入的USB设备以使用winusb驱动程序 [英] How to configure a plugged in usb device to use the winusb driver
问题描述
我们有一个使用ANT + USB加密狗的应用程序可以利用ANT +消息流量,我们希望在Raspberry PI上启动并运行我们的应用程序运行Windows 10 IoT。
使用Powershell我可以看到设备在插入时被识别:
名称   ;                     地产                                                                                        
----           --------                                                                                        
126          DeviceDesc          :ANT USB-米棒                      &NBSP ;                        &NBSP ;        
            LocationInformation:Port_#0005.Hub_#0002                                                     
           能力        :20                        &NBSP ;                        &NBSP ;                   
           数据筒         :{207a56e2-9393-5c49-bdd7-309b37712562}                                  
           硬件ID          :{USB\VID_0FCF&安培; PID_1009&安培; REV_0100,
USB\VID_0FCF&安培; PID_1009}                 
            CompatibleIDs       :{USB\Class_FF&安培; SubClass_00&安培; Prot_00,
USB\Class_FF&安培; SubClass_00,USB\Class_FF}
       &NBSP ;                       ConfigFlags         :64
我现在想把它配置为使用已经可用的WinUSB驱动程序,以便我们可以从c#"与它"对话。我有什么方法可以做到这一点,例如提供和.Inf文件,但是,如何从powershell安装?在普通的Windows设备上,我们
能够通过设备管理器切换驱动程序,但是如何在Windows 10 IoT上进行操作?
您可能需要做的是比较如何配置此设备以在桌面系统上使用,然后在Pi设备上复制这些注册表项,以便在检测到时尝试使用WinUSB驱动程序。
本文讨论如何使用远程PowerShell修改远程设备上的注册表:
如果这不起作用或您仍有问题,请提供以下信息的屏幕截图:
在DeviceManager中 - & gt;右键单击设备 - >属性 - >驱动程序 - >驱动程序详细信息。
Hi,
We have an app that uses an ANT+ USB dongle to tap into ANT+ messaging traffic and we would like to get our app up and running on the Raspberry PI running Windows 10 IoT.
Using Powershell I can see that the device is recognized when plugged in:
Name Property
---- --------
126 DeviceDesc : ANT USB-m Stick
LocationInformation : Port_#0005.Hub_#0002
Capabilities : 20
ContainerID : {207a56e2-9393-5c49-bdd7-309b37712562}
HardwareID : {USB\VID_0FCF&PID_1009&REV_0100,
USB\VID_0FCF&PID_1009}
CompatibleIDs : {USB\Class_FF&SubClass_00&Prot_00,
USB\Class_FF&SubClass_00, USB\Class_FF}
ConfigFlags : 64
I would now like to configure it to use the already available WinUSB driver so that we can 'talk' to it from c#. Is there any way I can do that like e.g. provide and .Inf file, but then, how do install that from powershell? On a regular windows device we would be able to switch the drivers through the device manager or so but how to go about it on Windows 10 IoT?
What you might need to do is compare how this device is configured for use on your desktop system, and then duplicate those registry entries on your Pi device so it will attempt to use the WinUSB driver when detected.
This article talks about using remote powershell to modify the registry on a remote device:
If that doesn't work or you still have problems can you please provide a screen shot of the following information:
In DeviceManager->Right click the device->Properties->Driver->DriverDetails.
这篇关于如何配置插入的USB设备以使用winusb驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!