CodeSpace on Linux

CodeSpace runs great on Linux! You just need to install Chrome or Chromium browser, and enable the USB device access. Details are shown below:

1. Install Chrome

There are two options here - either one will work just fine for CodeSpace:

Chromium open source browser

> sudo apt install chromium-browser

 or Chrome Download from Google

go to https://www.google.com/chrome/ and download/install the package for your Linux distribution.

2. Add a UDEV Rule for the microbit and CodeBot WebUSB interfaces

Note: If you're not using both microbits AND CodeBots, then only one of the files below is required.

a) Use your favorite text editor to create a file:
/etc/udev/rules.d/microbit.rules

b) Edit the microbit.rules file to contain the following:

SUBSYSTEM=="usb",ATTR{idVendor}=="0d28",ATTR{idProduct}=="0204",MODE:="0666"

c) Use your favorite text editor to create a file:
/etc/udev/rules.d/codebot.rules

d) Edit the codebot.rules file to contain the following:
SUBSYSTEM=="usb",ATTR{idVendor}=="0483",ATTR{idProduct}=="5740",MODE:="0666"

e) Signal udevd to reload the rules
sudo udevadm control --reload
sudo udevadm trigger

 

3. Enjoy CodeSpace on Linux!