You are not logged in.

#1 2020-01-20 20:30

atilla457
Member
Registered: 2020-01-20
Posts: 3

Arduino Mega 2560 not showing up in /dev/tty*

Hi there,

I recently got pinebook pro to do my arduino development.  However, arduino mega 2560 board does not show up in /dev/tty* folder. I am wondering if virtual com port not enabled or rules or something not enabled?
I will continue to debug it but if you have suggestions, it will save me time.

thank you.

1) laptop is pinebook pro (received it a few days ago).
2) installed Q4OS from website. Even upgraded to testing/experimental:
"Linux xxxx 4.4.203 #3 SMP Wed Nov 27 11:08:04 EST 2019 aarch64 GNU/Linux"
3) Installed Arduino IDE 1.8.10
4) when arduino mega 2560 is plugged into the laptop, it doesn't show up in /dev/tty*.
Normally it should show up as /dev/ttyACM0 or /dev/ttyUSB?? or similar.

dmesg shows it is detected in USB:

[  117.256637] usb 4-1: new full-speed USB device number 2 using xhci-hcd
[  117.484052] usb 4-1: New USB device found, idVendor=2341, idProduct=0042
[  117.484098] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[  117.484125] usb 4-1: Manufacturer: Arduino (www arduino cc)
[  117.484149] usb 4-1: SerialNumber: 857343232313519040A0

On a side note, I discovered Q4OS yesterday thru pinebook pro wiki. I am surprised how beautiful it is. I plan to keep it on my pinebook.

Thank you

Offline

#2 2020-01-20 21:56

atilla457
Member
Registered: 2020-01-20
Posts: 3

Re: Arduino Mega 2560 not showing up in /dev/tty*

I might need the "USB Modem (CDC ACM)" support.
Next step is to check if that is enabled by default, or if the module can be loaded, or if I need to recompile the kernel.

Offline

#3 2020-01-21 04:06

atilla457
Member
Registered: 2020-01-20
Posts: 3

Re: Arduino Mega 2560 not showing up in /dev/tty*

figured out the problem:

We need cdc-acm.ko module, which exists but for the wrong kernel version.  /lib/modules/ contains the 4.4.202/ folder but missing the 4.4.203/ folder.

So the next layer of the onion is how to build 4.4.203 modules smile
I will post a message on pinebook q4os thread as well.

Offline

Board footer

Powered by FluxBB