USB无法使用IoT在Raspberry Pi上的UWP中进行枚举 [英] USB fails to enumerate in UWP on Raspberry Pi with IoT

查看:74
本文介绍了USB无法使用IoT在Raspberry Pi上的UWP中进行枚举的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试与运行Windows IoT 14393的Raspberry Pi 3连接的USB数据记录器进行通信。 该设备在默认应用程序屏幕上显示为"通用批量设备"。 使用Microsoft的自定义USB设备访问代码,
我已将设备vid,pid添加到应用清单中的功能,并添加了适当的类来设置设备的观察者。 在我的Windows 10 PC上,显示设备并使用示例应用程序进行连接。 在Raspberry PI上,
不显示。 我用devcon来检查pi上的驱动程序,它显示为winusb。 我为设备创建了一个自定义.inf文件,并使用devcon将其安装在pi上,没有任何更改。 任何人都可以指出我可能会丢失的东西吗? 当使用UsbDevice.GetDeviceSelector(vid,pid)时,我得到一个有效的aqs,但是然后  Windows.Devices.Enumeration.DeviceInformation.FindAllAsync(aqs)什么都不返回。 相同的代码在PC上正常工作

I am trying to communicate with a USB data logger attached to the Raspberry Pi 3 running Windows IoT 14393.  The device is displayed on the default app screen as a "Generic Bulk Device".  Using the Custom USB Device Access code from Microsoft, I have added the device vid, pid to the capabilities in the app manifest and added appropriate classes to set up the watchers for the device.  On my Windows 10 PC, the device is displayed and connects using the sample app.  On the Raspberry PI it does not show up.  I have used devcon to examine the driver on the pi and it shows as winusb.  I have created a custom .inf file for the device and installed it on the pi using devcon, with no change.  Can anyone point me to something I might be missing?  When using UsbDevice.GetDeviceSelector(vid, pid) I get a valid looking aqs, but then Windows.Devices.Enumeration.DeviceInformation.FindAllAsync(aqs) returns nothing.  Same code works fine on the PC

有人能指出我在PI上可能缺少的东西吗?

Can someone point me to something I might be missing on the PI?

推荐答案

您好Robbo_H,

Hi Robbo_H,

如果他们支持IoTCore,您的USB设备的OEM应该会通知您。

The OEM of your USB device should let you know if they have support for IoTCore.

此致,

IoTGirl


这篇关于USB无法使用IoT在Raspberry Pi上的UWP中进行枚举的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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