Reputation: 166
I'm trying develop Google Chrome App(or extension, not sure) to use DigitalPersona fingerprint reader on Windows.
Following : https://developer.chrome.com/apps/usb https://github.com/GoogleChrome/chrome-app-samples/tree/master/usb
var DEVICE_INFO = {
"vendorId": 1466, //0x05BA
"productId": 10 //0x000A
};
chrome.usb.findDevices(DEVICE_INFO, call_method);
Result is "App was granted the 'usbDevices' permission, but device not found". p.s. the usb information above was found in windows device manager.
Don't know why this happened. Does Google Chrome not support DigitalPersona fingerprint reader?
p.s. Chrome://inspect said "No devices detected."
The content of manifest.json is the same as the example of knob, but vendorId and productId:
{
"name": "USB Spinner Sample",
"version": "0.3",
"manifest_version": 2,
"minimum_chrome_version": "23",
"app": {
"background": {
"scripts": ["background.js"]
}
},
"permissions": ["usb"],
"optional_permissions": [ {"usbDevices": [{"vendorId": 1466, "productId": 10}]}]
}
Upvotes: 3
Views: 2705
Reputation: 77551
As noted on the usb-label-printer sample Chrome App:
Some Windows device drivers take ownership of the device and don't allow Chrome to connect to them. If
openDevice
orfindDevice
doesn't work for you, you can try to use a generic low level driver instead.
This theory was confirmed by chiahao, as installing a generic low-level USB driver with the Zadig tool resolved the problem.
Upvotes: 2