[UWP]由于驱动程序限制,无法将STEM应用程序移植到Windows 10 S. [英] [UWP]Trouble porting STEM apps to Windows 10 S because of driver restrictions

查看:70
本文介绍了[UWP]由于驱动程序限制,无法将STEM应用程序移植到Windows 10 S.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为Windows 10 S和Windows 10 Mobile完成一个UWP STEM应用程序。  它旨在教授学校的电子和计算机科学。


我们的UWP应用程序需要与外部WinUSB硬件进行通信。  不幸的是,硬件无法为Windows提供现代扩展的WinUSB自动驱动程序签名,因此硬件需要一个自定义的coinstaller,.inf文件等等,用于Windows
10(因此它被识别为WinUSB,因此Windows加载WinUSB OOB驱动程序。)


在Macbook上,我们通过使用带有.NET Core的libusb解决了这个问题。  但是在UWP(Windows 10 S / Mobile)上,我们似乎已经碰壁了。  我们非常希望为Windows 10 S / Mobile提供此解决方案,而不是限制教师选择硬件/操作系统。


我们如何支持自定义WinUSB设备Windows 10 S和Windows 10 Mobile?  这对我们的STEM应用程序至关重要。


谢谢,


Tandy

Waterbear

解决方案

你好Tandy Earls,


我希望你做得很好。 Windows 10 S的概念包括经过Microsoft验证的安全性,要求通过Windows应用商店提供所有安装,以确保Microsoft经过验证的安全性和
完整性。 Windows 10 S可能已升级为专业版 https://support.microsoft.com/en-us/help/4020089/windows-10-s-faq  



- -

来自常见问题解答: 


我如何在我的Windows 10 S PC上切换到Windows 10 Pro?


您可以随时通过Windows应用商店轻松切换到Windows 10 Pro,价格合理;付款通过Windows应用商店收集。

要了解更多信息或切换到Windows 10 Pro,请选择开始按钮,然后选择设置>更新&安全>激活。在升级您的Windows版本下,选择转到商店。

注意:切换到专业版是单向的。如果你进行切换,你将无法返回到Windows 10 S.

---



如果您使用的是Surface笔记本电脑,您可以免费升级到Windows 10 Pro,直到2017年12月31日。  https://www.microsoft.com/en-us/surface/devices/surface-laptop/tech-specs
under软件部分。




我们有一些有关在此处开发设备的UWP应用程序的信息:  https://docs.microsoft.com/en-us/windows/u wp / devices-sensors /
和此处:  https://msdn.microsoft.com/library/d009ddf2-def6-4c57-a5c7-12b844931631 。请注意,如果
设备驱动程序是Microsoft提供的Winusb.sys驱动程序,则可以使用Windows.Devices.Usb。命名空间不支持供应商提供的设备驱动程序。




您可能需要与硬件制造商合作,或者他们可能需要通过在此处提交事件与我们合作:
https://developer.microsoft.com/en-us/windows/support 。我希望如果他们不需要自定义.inf,但可以重新使用winusb.inf这应该适用于10 S.  https://msdn.microsoft.com/en-us/library/windows/hardware/ff540283(v = vs.85).aspx



此外,我们在此处提供了有关我们教育计划的更多信息:  https://www.microsoft.com/en-us/education/default.aspx


< p style ="margin:0in; font-family:Verdana; font-size:10.0pt">


如果这回答了你的问题,请告诉我们。


We are finishing up a UWP STEM application for Windows 10 S and Windows 10 Mobile.  It is designed to teach electronics and computer science in schools.

Our UWP application needs to communicate with external WinUSB hardware.  Unfortunately the hardware cannot provide Windows with the modern extended WinUSB auto-driver-signature so the hardware requires a custom coinstaller, .inf file, etc. for Windows 10 (so that it is recognized as WinUSB and so that Windows loads the WinUSB OOB driver).

On Macbook we solved this issue by using libusb with .NET Core.  But on UWP (Windows 10 S/Mobile) we seem to have hit a wall.  We would really like to offer this solution for Windows 10 S/Mobile, and not limit teachers' choice of hardware/OS.

How can we support custom WinUSB devices under Windows 10 S and Windows 10 Mobile?  This is critical to our STEM applications.

Thank you,

Tandy
Waterbear

解决方案

Hello Tandy Earls,

I hope you're doing well. The concept of Windows 10 S includes Microsoft-verified security, requiring all installations to be delivered via the Windows Store ensuring Microsoft-verified security and integrity. Windows 10 S may be upgraded to Pro https://support.microsoft.com/en-us/help/4020089/windows-10-s-faq 

---
From the FAQ: 

How do I switch to Windows 10 Pro on my Windows 10 S PC?
You can switch to Windows 10 Pro easily at any time through the Windows Store for an affordable price; payment is collected through the Windows Store.
To learn more or switch to Windows 10 Pro, select the Start button, then select Settings > Update & security > Activation. Under Upgrade your edition of Windows, select Go to Store.
Note: Switching to Pro is one-way. If you make the switch, you won't be able to go back to Windows 10 S.
---

If you're using the Surface Laptop, you can upgrade to Windows 10 Pro for free until Dec 31, 2017. https://www.microsoft.com/en-us/surface/devices/surface-laptop/tech-specs under the Software section.

We have some information about developing UWP applications for devices here: https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/ and here: https://msdn.microsoft.com/library/d009ddf2-def6-4c57-a5c7-12b844931631. Note that you can use Windows.Devices.Usb if the device driver is the Microsoft-provided Winusb.sys driver. The namespace does not support vendor-supplied device drivers.

You may need to work with the hardware manufacturer or they may need to work with us by submitting an incident here: https://developer.microsoft.com/en-us/windows/support. I expect if they did not need the custom .inf, but could re-use winusb.inf this should work on 10 S. https://msdn.microsoft.com/en-us/library/windows/hardware/ff540283(v=vs.85).aspx

Additionally, we have more information on our education program here: https://www.microsoft.com/en-us/education/default.aspx.

Please let us know if this answers your questions.


这篇关于[UWP]由于驱动程序限制,无法将STEM应用程序移植到Windows 10 S.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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