I have a Arduino mega 2560 and i want to upload a simple code to it to just write a serial line but it wont upload in the tools section i have the mega 2560 selected but then in ports it only shows the /dev/ttyS4 which i read is an internal serial port in my laptop so i belive that that port not being a proper usb port like i have the mega plugged into in is causing this "avrdude: stk500v2_ReceiveMessage(): timeout" i have already done the dialout group but lsusb and dmesg show no diffrence when its plugged in or not and have installed it as a deb from the app store through flatpak through apt install and am currently using the app image
Specs:
Lenovo T440p
Ubuntu 25.04
Arduino IDE 2.3.6(Cli 1.2.0)
SunFounder Arduino Mega 2560
i dont know i only have this arduino mega but i just tried it over on my windows desktop same issue with that timeout the lights power up and everything like it should though?
no just tty and ttyS but their is a bus folder with a usb folder inside showing 4 files which is how many usb ports i have and theirs another just usb file in the dev folder but it just has one file