Arduino Mega not being seen in ubuntu

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

Unplug the Mega from the computer.
Start a terminal and type in:

dmesg -w |grep -i usb [ENTER]

Plug the Mega in, see if dmesg changes.
Type in [CNTRL + c] to exit dmesg.

Here's mine in Mint 21 and Arduino Nano.

nope nothing changes and im using two known good ports and a known good cable

Do other Arduinos work?

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?

Which USB to serial adapter is on your Mega clone? If a CH340, might be a driver problem.

What is the result of lsusb ?

no it is the mega 16u2

Look in your /dev directory for entries like ttyACM0 or ttyUSB0.

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

Oh well, afraid I'm done. Check back once in a while, one of the Linux experts will log in.
Good luck.

Does the Windows device manager show anything useful?

Ok well thanks for the help