Score:0

Ubuntu 21.10 64b (dtop) / Raspberry Pi 4B - Arduino upload via usb/serial com is inop

de flag

Ive recently begun to experiment with the subject os/hw combo. My hw setup is verified functional using the Raspbian (Buster) 32bit OS and its associated arduino ide version. But ive had no success - despite an exhaustive search, setup, and debug effort - to achieve com between the Arduino and Pi to allow routine board upload/flash or serial com with the subject OS and the latest Arduino IDE for ARM64 (v1.8.18).

Debug shows the device is being recognized and permissions for the relevant device are as rqd. I do see differences in how serial devices (/dev/serial*, ttyACMx vs tty AMA*) appear between os's, but not sure if this is or relates to root cause (ive got alot to learn about the Linux world....).

Its not clear to me if the arduino-1.8.18 install has set up access to the serial device properly or not. The install scripts set udev rules for ttyACMx (and ttyUSBx), neither of which are present in /dev for the 64bit os. My attempts to modify things have not been successful.

There are hundreds of posts out there that relate to device access and i've made project out of trying uderstand whats going on, but no luck....

My inital q's are:

  1. Has anyone faced this issue w/ the subject hw/sw/os/setup? I have seen many posts related to usb / serial com on the PI (with and without Arduino hardware involved) but not with the exact subject os version in use.

  2. I've posted lots of relevant version/device/process info + observations at https://github.com/shamoke00/raspi_ard_debug1/tree/main/system_info, based on the current state of my setup. Can someone have a look and provide any hints on where to go next, specifically in the area of setup and serial port com diagnostics?

Comparable data from the Raspbian OS is there as well.

Appreciate any help/advice/etc. Thx!

Note: This question mentions a package called linux-modules-extra but when i attempt to install it i get 'E: Unable to locate package linux-modules-extra'

EDIT (12/22): I misread This post; the answer mentions linux-modules-extra-raspi, which i was able to install. Serial com / upload is now functional.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.