From 3a56e3c13a1a3ea8610286cf5370ad9d6492da84 Mon Sep 17 00:00:00 2001 From: Octycs octycs <flow3r@octycs.eu> Date: Tue, 15 Aug 2023 21:53:43 +0000 Subject: [PATCH] Add udev infobox also in Programming page --- docs/badge/programming.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/badge/programming.rst b/docs/badge/programming.rst index 242b20bdf8..e396299327 100644 --- a/docs/badge/programming.rst +++ b/docs/badge/programming.rst @@ -60,7 +60,22 @@ After connecting your badge and making sure it runs: Use Ctrl-] or Ctrl-x to exit this shell [... logs here... ] -The badge will continue to run. Now, if you press Ctrl-C, you will interrupt the +The badge will continue to run. + +.. warning:: + **Your flow3r is not showing up using Linux?** + + To let ``mpremote`` to work properly your user needs to have access rights to ttyACM. + + Quick fix: ``sudo chmod a+rw /dev/ttyACM[Your Device Id here]``` + + More sustainable fix: Setup an udev rule to automatically allow the logged in user to access ttyUSB + + 1. To use this, add the following to /etc/udev/rules.d/60-extra-acl.rules: ``KERNEL=="ttyACM[0-9]*", TAG+="udev-acl", TAG+="uaccess"`` + 2. Reload ``udevadm control --reload-rules && udevadm trigger`` + + +Now, if you press Ctrl-C, you will interrupt the firmware and break into a Python REPL (read-eval-print-loop) prompt: :: -- GitLab