Forcing WinUSB driver for peripheral access?
I'm connecting a device to the HoloLens USB port, but the device is being detected as something that doesn't use WinUSB, so I cannot access the device from inside the UWP app using UsbDevice. I do have a custom driver for regular Windows, but I do not know how to install it on the HoloLens.
Does any know how to install a driver on HoloLens? Or to access any kind of device manager or administration? This is for a research project so workarounds or temporary solutions are acceptable.
Posted Apr 7, 2022, 4:27 AM UTC
25
You can't use USB accessories on the HoloLens if it requires a driver.
I am able to talk to some devices without drivers that allow UsbDevice / WinUSB access, but I can't figure out why other devices don't behave the same way.
https://docs.microsoft.com/en-us/hololens/hololens-connect-devices#hololens-2-connect-usb-c-devices
HoloLens 2 supports the following classes of USB-C devices:
Mass storage devices (such as thumb drives) Ethernet adapters (including ethernet plus charging) USB-C-to-3.5mm digital audio adapters USB-C digital audio headsets (including headset adapters plus charging) USB-C External Microphones (Windows Holographic, version 21H1 and higher) Wired mouse Wired keyboard Combination PD hubs (USB A plus PD charging)
In response to customer feedback, we have enabled limited support for cellular connectivity tethered directly to the HoloLens via USB-C. See Connect to Cellular and 5G for more information.
https://docs.microsoft.com/en-us/hololens/hololens-cellular
USB-C compatibility A limited number of devices that present themselves as an ethernet adaptor can be used with Windows Holographic version 2004 and later.
Devices that do not present themselves as an ethernet adapter must support the generic Microsoft RNDIS driver. But, only a limited number of those devices are compatible with HoloLens 2. Please consult your device's manufacturer for details on whether it supports the generic Microsoft RNDIS driver.
Devices that are not RNDIS compatible, or require a driver or application to be installed, are not supported.
Those docs might be outdated, comms over USB does work outside of the supported device classes. Just not for all devices, only some.