Im experimenting with WebUS, or more precise, accessing a USB device through a web page written using DART (Angular DART).
After fiddling around for a bit, I got the basic concept working using Chrome V63 on a Windows 10 Desktop PC. It allows me to send and receive data to a USB endpoint. So far so good :-)
However, when trying the same URL on a (Samsung 500C) Chromebook, running Chrome version 63, the problem arises when USBdevice.open()
is called, I get an "Uncaught DOMException: Access denied" exception.
In the debugger, looking at the USBdevice properties, opened: false
and Interface claimed: false
indicating no other is using the USB adapter.
Looking some more, Chrome://system under device_event_log
it shows an USB EVENT: usb_device_linux.cc:99 Permission broker failed to open the device: org.freedesktop.DBus.Error.Failed: permission_broker/permission_denied:Permission to open '/dev/bus/001/032' denied (2)
Any suggestions are welcome.