Public bug reported: A javascript-based web page works fine when accessed through Chrome, fails to recognize that any devices exist when accessed from Chromium on the same Unubtu 20.04 platform.
The code includes the following snippet: const requestOptions = { filters: [{ usbVendorId: 0x1881 }] }; port = await navigator.serial.requestPort(requestOptions); await port.open({ baudrate: 9600 }); writer = port.writable.getWriter(); reader = port.readable.getReader(); Under Chrome 84.0.4147.105 (Official Build) (64-bit), ttyACM0 device is listed in the pop-up, is selectable, and can communicate. Under Chromium 84.0.4147.105 (Official Build) snap (64-bit), the pop-up contains only "No compatible devices found" message. Experimental Web Features flag is enabled in both browsers. ** Affects: chromium-browser (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890365 Title: Web Serial fails to access local device To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1890365/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs