Hello,
Using a Windows (10) PC, I can connect and program via USB or Bluetooth to my XRP without any problems.
As I need this PC for another purpose, I would like to use another PC; this one has Linux. Unfortunately, I cannot connect via USB or Bluetooth with this Linux PC with the same XRP (and USB cable).
XRP has MicroPython v1.23.0 on 2024-06-02; Raspberry Pi Pico W with RP2040
Linux is Ubuntu 24.04.1 LTS
with Google Chrome 132.0.6834.159 (downloaded/installed on 01/29/2025)
Using the same USB cable on the Linux PC, I get:
Board in FS mode (ttyACMo) - Paired
Connection FAILED. Check cable and try again.
I have tried other cables (that work on Windows).
If I press the Bootsel button on the Pico and connect the Linux PC and the XRP, the RPI-RP2 USB drive appears.
The Linux PC detects the Bluetooth from the XRP but cannot connect.
Are there drivers for Google Chrome (or this flavor of Ubuntu) that I need to install?
Any suggestions/help is appreciated.
I do not have a PC set up in this way. But, the main things to Google would be WebSerial and Ubuntu.
I’m having the same issue. Can’t connect with Linux. I’ve added a udev rule as suggested by the internet, but still can’t connect using Chrome on Linux MINT. Would be nice to get some help on this one: the location where we are using XRP is 100% Linux.
UDEV rule that is not working:
UBSYSTEM=="usb", ATTR{idVendor}=="2e8a", ATTR{idProduct}=="0005", MODE="0664", GROUP="plugdev"
lsusb:
...
Bus 001 Device 006: ID 2e8a:0005 MicroPython Board in FS mode
...
I have spent several hours researching, and trying different solutions. I am still unable to use my XRP with Bluetooth on Ubuntu.
Updated MicroPython,
made sure my {username} was part of group dialout,
removed brltty
,
successfully paired the XRP with Bluetoothctl pair {device ID},
verified that I can connect to the XRP via USB (in Chrome).
I could not find WebSerial on my Ubuntu machine and installation instructions are unclear for XRP. How should it be installed?
Any insights/help is appreciated.
So that I don’t keep banging my head against an unbreakable wall, is there anyone who is using Linux (any flavor) with XRP and connecting successfully via Bluetooth (even USB)?
I am using Raspberry PI 5 desktop with Bookworm operating system. Chromium browser works connecting XRP robot via USB and Bluetooth after enabling experimental features.
Chrome warning below:
Warning: Experimental features ahead! By enabling these features, you could lose browser data or compromise your security or privacy. Enabled features apply to all users of this browser. If you are an enterprise admin you should not be using these flags in production.
1: Web Bluetooth
2: Use the new permissions backend for Web Bluetooth
3: Web Bluetooth confirm pairing support