Skip to content
Snippets Groups Projects
Commit 17c67375 authored by TheNewCivilian's avatar TheNewCivilian Committed by q3k
Browse files

docs: Fix copy + bring back title

parent 3b3da2dc
No related branches found
No related tags found
1 merge request!139docs: Add USB access instructions
Pipeline #6707 passed
...@@ -77,23 +77,9 @@ This is the SPI flash partition layout we use: ...@@ -77,23 +77,9 @@ This is the SPI flash partition layout we use:
Setup USB access rules Accessing files from a PC
------------------------- -------------------------
.. warning::
**Did you set up USB access rules already?**
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 systemd 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``
If the badge is running correctly, you can access the filesystem over the micropython REPL, using tools like mpremote. If the badge is running correctly, you can access the filesystem over the micropython REPL, using tools like mpremote.
:: ::
...@@ -114,6 +100,18 @@ If the badge is running correctly, you can access the filesystem over the microp ...@@ -114,6 +100,18 @@ If the badge is running correctly, you can access the filesystem over the microp
0 st3m 0 st3m
0 .sys-installed 0 .sys-installed
.. 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``
You can also put the badge into :ref:`Disk Mode` to make it appear as a USB pendrive You can also put the badge into :ref:`Disk Mode` to make it appear as a USB pendrive
on your PC. However, only one of the two FAT32 block devices (internal flash on your PC. However, only one of the two FAT32 block devices (internal flash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment