question

coder-2439 avatar image
0 Votes"
coder-2439 asked RoyLi-MSFT edited

How to use the CustomUsbDeviceAccess demo in Windows-universal-samples-master?

After I run the CustomUsbDeviceAccess demo, and connect mobile to PC with Type-C USB, but the demo can't detect any USB device?

Anyone give us some advice? thank you.

196377-screenshot-2022-04-26-094213.png


windows-uwp
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

There are some other configurations before running this sample. You need to add your device's information to the manifest file of the sample. This step is mentioned in the sample document. Please go through the readme file of the sample on Github.

Also, my recommendation is that please take a look at this document: Talking to USB devices, start to finish (UWP app). This document shows the complete process of how to create a UWP app for a custom USB device. It should be helpful to you to understand how it works.


0 Votes 0 ·

@coder-2439 Have you solved your issue?

0 Votes 0 ·

Yes, thank you

0 Votes 0 ·

@coder-2439 Glad to hear that. So do you solve it by adding the device information into the manifest file?

0 Votes 0 ·

0 Answers