I have been trying get the serial port to work from the SparkFun RedBoard Artemis Nano on an Ubuntu 22.04 VM, but I am having no luck.
NOTE: I can see the serial output in the Arduino IDE from Windows and the Python code I have does work with another board such as a Nano 33 BLE Sense on the same Ubuntu 22.04 VM.
I have gone through the SparkFun “How to Install CH340 Drivers”, but this references an older driver,
I’ve tried other update drivers such as:
https://github.com/WCHSoftGroup/ch341ser_linux
https://www.wch-ic.com/downloads/CH341S … X_ZIP.html
I can get the driver to load and seems to recognize the Artemis Nano board, but if I attempt to read from the serial port via something like pyserial, I am getting no output.
I did have to comment out an entry for the brltty rules since the device id from the Artemis nano is the same as one listed in the rules file and was preventing the driver from loading.
Ex:
sudo view /usr/lib/udev/rules.d/85-brltty.rules
# Device: 1A86:7523
# Baum [NLS eReader Zoomax (20 cells)]
#ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"
This is the output of dmesg when I attach the Artemis board to the VM:
[ 7634.592277] usb 1-2.1: USB disconnect, device number 5
[ 7634.592459] usb_ch341 1-2.1:1.0: ch341 usb device disconnect.
[ 7638.702687] usb 1-2.1: new full-speed USB device number 6 using uhci_hcd
[ 7638.919161] usb 1-2.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 7638.919167] usb 1-2.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 7638.919168] usb 1-2.1: Product: USB Serial
[ 7638.922065] usb_ch341 1-2.1:1.0: ttyCH341USB0: ch341 USB device
Any suggestions?