USB access throws Insufficient Permission error

363 views
Skip to first unread message

twzg...@gmail.com

unread,
Oct 20, 2018, 12:36:26 PM10/20/18
to Chromium-dev
Hi,

I am trying to use the WebUSB to access USB devices on a Chrome browser on a Windows machine and I am getting the following error:

Failed to open device: Access denied (insufficient permissions)
Failed to open device: Operation not supported or unimplemented on this platform

Despite the USB storage device was detected:

USB device added: vendor=32902 "", product=35889 "", serial="", guid=238fe927-8b21-4f9a-90f9-15a34ea09294

How do I give permission to the USB device to allo the Chrome browser to access it on Windows ?

Mike Frysinger

unread,
Oct 20, 2018, 1:01:49 PM10/20/18
to twzg...@gmail.com, chromium-dev
if the device is mass storage as you say, then WebUSB won't work by design.  for example:

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5dde31ac-7d92-4e89-aae8-c37589b3feae%40chromium.org.

twzg...@gmail.com

unread,
Oct 20, 2018, 8:30:59 PM10/20/18
to Chromium-dev, twzg...@gmail.com
I have attached a CCID smart card reader and a USB flash drive and for the flash drive it says insufficient permission which I guess I will have to use the File API.

For the CCID device, the chrome://device-log detected it as:

Driver for \\?\usb#vid_1ea8&pid_8008#00000000000001#{a5dcbf10-6530-11d2-901f-00c04fb951ed} is WUDFRd
Driver for \\?\usb#vid_1ea8&pid_8008#00000000000001#{50dd5230-ba8a-11d1-bf5d-0000f805f530} is WUDFRd

But doesn't show up when I try to use WebUSB.

Does it mean that both mass Storage and CCID are completely out of scope for WebUSB ?

Mike Frysinger

unread,
Oct 21, 2018, 1:02:14 AM10/21/18
to twzg...@gmail.com, chromium-dev
last i heard, smart cards were out of scope.  for Chrome OS, there is an app already:
-mike

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.

Maksim Ivanov

unread,
Oct 23, 2018, 5:07:23 PM10/23/18
to Chromium-dev, twzg...@gmail.com
Last time I tested smart card access from Chrome on Windows, I had to use the workaround of installing a special USB driver.
I used this one (WARNING: This link points to a third-party application that is not affiliated with Google in any way. USE AT YOU OWN RISK) : http://zadig.akeo.ie/

But I did this testing quite a while ago, so not sure if that's relevant to the error you're seeing.

mohamed elgamal

unread,
Jan 14, 2019, 12:35:02 PM1/14/19
to Chromium-dev, twzg...@gmail.com
I have the same problem too my mobile is Note 8 

mohamed elgamal

unread,
Jan 15, 2019, 7:54:21 AM1/15/19
to Chromium-dev
Can any one help me please ? 
i want to get the log from my mobile log 
Mohamed Ali Elgamal 
Quality Control Engineer 
Mob : 201003250113


    To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
    To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/ff91e228-37e5-4360-894f-cc02e8a29b08%40chromium.org.

    Reilly Grant

    unread,
    Jan 15, 2019, 2:47:57 PM1/15/19
    to mohamed.a...@gmail.com, Chromium-dev
    To access the ADB interface on an Android device on Windows you need to install the right driver package to tell Windows to let applications like Chrome connect to the device. Instructions for Google phones. Instructions for all other phones.
    Reilly Grant | Software Engineer | rei...@chromium.org | Google Chrome


    Reply all
    Reply to author
    Forward
    0 new messages