chromium on ubuntu serial web api no compatible devices found

543 Views Asked by At

I want to use web serial api in chromium to be able to communicate with Arduino, however I get the message no compatible devices found. When I use Arduino IDE or python I can find it, but with chromium no.

UBUNTU DISTRIB_RELEASE=22.04 Chromium 111.0.5563.64 snap

let port = await navigator.serial.requestPort({});

Is it possible to fix the issue to get all serial ports

I tried to reinstall chromium but no success

2

There are 2 best solutions below

2
Jim On

I had a similar problem installing WLED using Chromium snap on Ubuntu over Web Serial (https://install.wled.me/). I was able to do it by re-configuring Chromium with the command:

sudo snap connect chromium:raw-usb
0
utarid On

Please uninstall snap version of Chrome and install from Google Chrome website. I am able to get all ports with this version of Chrome Browser.