I'd to like to use Debian on Gemini to do microcontrollers development using USB cable (USB serial interface) to run Arduino IDE, MicroPython (via screen, rshell, etc). They use USB serial communication.
After installing the modular Linux kernel and extra module for the Gemini PDA with USB serial drivers, optimizatons, etc, from :
PL2303 serial adapter drivers?http://www.mygnu.de/index.php/2018/07/impr...the-gemini-pda/my microcontrollers (ESP8266, BC Micro:bit, Arduino Nano, etc) are recognized as /dev/ttyACM0 or /dev/ttyUSB0, but "screen" doesn't work (closes connection after starting) and Arduino IDE doesn't show any serial port.
(2018/08/21) :
SOLUTION FOUND :
solution is not only to add gemini user to dialout group (it was already becuase gemini is the unique user), but also
to change the group of the tty devices to dialout (it is not done automatically like other Linux) :
$ sudo usermod -a -G dialout gemini
$ sudo chgrp dialout /dev/ttyACM0
$ sudo chgrp dialout /dev/ttyUSB0
Repeat for any other USB serial tty port (USB1 for a 2nd microcontroller, etc).
Tested with :
- Arduino IDE (
v1.8.5 installed using Flatpak, see other topic) with ESP8266, worked well, only some large menu/dialog fonts.
- rshell or screen connecting Pyboard with MicroPython, 100% ok !
Important :
the microcontrollers were connected with microUSB & USB-A cable
to a USB-C -> USB-A hub in the left port of Gemini.