From ed2cd7befc7f80cff5c0c0fc6db3eec1d74f7857 Mon Sep 17 00:00:00 2001 From: giorez Date: Thu, 2 May 2024 13:00:57 +0200 Subject: [PATCH] ox64 find group allowed to serial ports --- content/documentation/Ox64/Software/Flashing.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/documentation/Ox64/Software/Flashing.adoc b/content/documentation/Ox64/Software/Flashing.adoc index b8d42bed..38509aef 100644 --- a/content/documentation/Ox64/Software/Flashing.adoc +++ b/content/documentation/Ox64/Software/Flashing.adoc @@ -365,7 +365,7 @@ $ bflb-iot-tool --chipname bl808 --interface uart --port $PORT --baudrate $BAUD > --addr 0x800000 --firmware bl808-firmware.bin --single ---- -If you get permission errors when running any of the commands above, you may need to add your user to the communication group (`dialout` for Debian or `uucp` for Arch Linux), using `sudo usermod -a -G [communication_gruop] $USER` and re-login. Running the commands as `root` is not recommended since this will make `bflb-iot-tool` create root-owned files in your home directory. You can now run `exit` from virtual environment. +If you get permission errors when running any of the commands above, run `ls -l /dev/tty[DEVICE]`, to find out which group is allowed to talk to serial ports and add your user to that group, with `sudo usermod -a -G [GROUP] $USER` (i.e. `dialout` for Debian or `uucp` for Arch Linux). Make sure you re-login. Running the commands as `root` is not recommended since this will make `bflb-iot-tool` create root-owned files in your home directory. You can now run `exit` from virtual environment. === BLDevCube flashing method