> For the complete documentation index, see [llms.txt](https://tk233.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk233.gitbook.io/notes/motor-control/setting-up-recoil-usb-can-adapter/setting-up-recoil-usb-can-adapter-ubuntu.md).

# Setting up Recoil USB-CAN Adapter - Ubuntu

The device driver for the adapter is already included in the linux driver libraries.

The device should appear on the `/dev/ttyACM0` port.

## Change port access

By default, the port is only accessible to sudo users. Run the following command to create or edit the config file

```bash
sudoedit /etc/udev/rules.d/50-ttyacm.rules
```

In the opened editor, add the following lines:

```bash
KERNEL=="ttyACM[0-9]*",MODE="0666"
```

After saving, unplug and re-plug the device. Now it should be accessible to all users.
