latinet:ull:problems:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
latinet:ull:problems:start [2023/10/25 14:52] – rolf.becker | latinet:ull:problems:start [2023/10/25 14:59] (current) – [Problems with the Arduino installation on Linux] rolf.becker | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
- | ===== Problems with the Arduino installation on LInux ====== | + | ===== Problems with the Arduino installation on Linux ====== |
+ | |||
+ | We downloaded the zip archive of IDE version 2.2.1 (Oct. 2023) and encountered the followig problems: | ||
=== esptool cannot find pyserial ==== | === esptool cannot find pyserial ==== | ||
Line 7: | Line 10: | ||
Workaround: | Workaround: | ||
+ | |||
< | < | ||
sudo apt install pip3 | sudo apt install pip3 | ||
Line 24: | Line 28: | ||
</ | </ | ||
- | Plug in and unplug | + | **Plug in the board** and observe the dmesg output. You will see that the usb-to-serial driver is unloaded in the end. This is the problem. The driver, i.e. the serial communication device, is finally not available. |
Workaround: | Workaround: | ||
- | Several. | + | |
+ | If you do not need a Braille interface the easiest would be to deinstall the full driver support by | ||
**Remove the brltty driver:** | **Remove the brltty driver:** | ||
+ | |||
< | < | ||
sudo apt remove brltty | sudo apt remove brltty | ||
Line 35: | Line 41: | ||
** Alternative: | ** Alternative: | ||
+ | |||
< | < | ||
systemctl stop brltty-udev.service | systemctl stop brltty-udev.service | ||
Line 45: | Line 52: | ||
Solution: | Solution: | ||
+ | |||
Add the resepective Linux user to the user group dialout: | Add the resepective Linux user to the user group dialout: | ||
- | sudo usermod -g ... | + | |
+ | < | ||
+ | sudo usermod -a -G dialout < | ||
+ | </ | ||
+ | |||
+ | Log out completely and log in again. A restart is not necessary. The Arduino IDE running under user id < | ||
latinet/ull/problems/start.1698238375.txt.gz · Last modified: 2023/10/25 14:52 by rolf.becker