Cannot create UsbDevice from DeviceInformation.Id
<p>I'm trying to connect to a device (SecuGen Hamster Pro 20) through Windows.Devices.Usb APIs using Universal Windows App for PC only (no phones)(WinRT).</p>

<p>The device is a fingerprint scanner.</p>

<p>I've done all the steps found online to do that:</p>

<p>I've looked for all devices using:</p>

<pre><code>var myDevices = await Windows.Devices.Enumeration.DeviceInformation.FindAllAsync();
</code></pre>

<p>This returns about 1400 devices. After some filteration using:</p>

<pre><code> var resultList = myDevices.Where(s =&gt; s.Name.ToLower().Contains("secu")).ToList&lt;DeviceInformation&gt;();
</code></pre>

<p><code>resultList</code> contains 3 devices in my machine (I've tried it on other machine and found 10 results on some).</p>

<p>I didn't use the overload for finding devices  <code>DeviceInformation.FindAllAsync(String aqsFilter)</code> because it returns 0 results althought I'm sure I've done it right (used correct VID &amp; PID)</p>

<p>The problem here is when I try to create a <code>UsbDevice</code> object from any of the 3 results using:</p>

<pre><code>UsbDevice device = await UsbDevice.FromIdAsync(resultList[0].Id);
</code></pre>

<p>The return value is null, I've tried all of them (<code>resultList[0]</code> , <code>resultList[1]</code> , <code>resultList[2]</code>) with no luck.</p>

<p>I configured the capabilities using:</p>

<pre><code> &lt;DeviceCapability Name="usb"&gt;
      &lt;Device Id="vidpid:1162 2200"&gt;
        &lt;Function Type="name:vendorSpecific"/&gt;
      &lt;/Device&gt;
    &lt;/DeviceCapability&gt; 
</code></pre>

<p>I also tried to create a <code>UsbDevice</code> object from any of the 1400 devices returned from <code>DeviceInformation.FindAllAsync()</code> but all returned null and even some throw an exception that says <code>the system cannot find the file specified 0x80070002</code></p>

<p>I tried to read <code>DeviceAccessInformation</code> for the device it returned <code>DeviceAccessStatus.Unspecified</code></p>

<p>Anyone can lead me to what am I missing here?</p>