JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
U2F extension can not access USB device
U2F extension can not access USB device
Me again. I still have a problem. I have modified usbDevices vendorId and productId of permisssions in manifest.json. But it can not enumerate my device all the same, please help me out.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Re: U2F extension can not access USB device
Is your device a hid device or a usb device?
Re: U2F extension can not access USB device
Is your device a U2F device?
Re: U2F extension can not access USB device
Thelogan wrote:Is your device a hid device or a usb device?
USB device
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Re: U2F extension can not access USB device
mabel wrote:Is your device a U2F device?
No. Image that if it's a u2f device, after i added "u2fDevices" permission in permisssions of manifest.json, it was supposed to work.
Am i right?
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Re: U2F extension can not access USB device
Is the extension written by yourself? Or use the open source extension https://github.com/google/u2f-ref-code ?
Re: U2F extension can not access USB device
Thelogan wrote:Is the extension written by yourself? Or use the open source extension https://github.com/google/u2f-ref-code ?
I used the open source extension.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Re: U2F extension can not access USB device
Here is part of code from usbgnubbydevice.js
From the code, you can get that the usb device in this extension works only for Yubico device. So you need to modify vendorId and productId according to to your own device.
Note:
The extension is sure to call API chrome.usb.getDevices() to enumerate usb device. Thus you can check palce where uses this API to find out the problem.
Code: Select all
/**
* @const
*/
UsbGnubbyDevice.WINUSB_VID_PIDS = [
{'vendorId': 4176, 'productId': 529} // Yubico WinUSB
];
From the code, you can get that the usb device in this extension works only for Yubico device. So you need to modify vendorId and productId according to to your own device.
Note:
The extension is sure to call API chrome.usb.getDevices() to enumerate usb device. Thus you can check palce where uses this API to find out the problem.
Re: U2F extension can not access USB device
Thelogan wrote:Here is part of code from usbgnubbydevice.jsCode: Select all
/**
* @const
*/
UsbGnubbyDevice.WINUSB_VID_PIDS = [
{'vendorId': 4176, 'productId': 529} // Yubico WinUSB
];
From the code, you can get that the usb device in this extension works only for Yubico device. So you need to modify vendorId and productId according to to your own device.
Note:
The extension is sure to call API chrome.usb.getDevices() to enumerate usb device. Thus you can check palce where uses this API to find out the problem.
Aha, it works, it works.. Thank you very much for your help.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Re: U2F extension can not access USB device
Command format that the extension sends is not inconsistent with my product command format. I may need to implement it by myself.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Who is online
Users browsing this forum: No registered users and 50 guests