That’s a sensible request. @kyleN, can you confirm whether adding this interface is all that’s needed to make webusb work in chromium, per instructions in this other thread ?
@oSoMoN. I have partial confirmation that raw-usb works for webusb as intented (on core 16: I want 18, but I have no straightforward path to testing this on 18 yet). I modified @ogra’s dashboard-client-browser snap (on edge/armhf) to add the raw-usb plug (and to show cursor), and I set the browser to point here: https://knitzsche.github.io/test1/ a web page I wrote that uses some of the webusb api available in chromium. When raw-usb is connected and I plug in a usb device, the JS causes the built in webusb popup to display, and my usb device is on the list. When raw-usb is disconnected, the device does not appear on the list. (I cannot yet test actual use of a usb device since I lack a USB device that includes support for webusb at this time. )
Sorry for the delayed response @kyleN.
I have received third-party confirmation that the raw-usb plug enables WebUSB to work in chromium (see bug #1780678), so I am adding it now in all channels.
@kyleN if you have a test setup to exercise WebUSB, can you please confirm that connecting the raw-usb interface in the latest chromium snap makes it work? And then, can you disconnect it and share the full log of denials, to answer Jamie’s question? Thanks!