USB is not being detect in Ubuntu

hemanth@hemanth-Inspiron-5575:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0cf3:e009 Qualcomm Atheros Communications 
Bus 003 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:568a Realtek Semiconductor Corp. Integrated Webcam
Bus 001 Device 002: ID 0000:3825   USB OPTICAL MOUSE
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I an using Ubuntu in my laptop Port is not being detect in Arduino ide to dump the code.

Run dmesg -w with the board disconnected. The application will not close.
Press <enter> a few times. This will give some empty lines to separate the output of the next step.
Connect the board and observe the changes.

If the new output refers to BRLTTY, uninstall or disable it. Else post the additional output here.

Your topic has been moved to a more suitable location on the forum.

Could this be the Arduino?

Try lsusb command with the Arduino connected and disconnected. What new device appears?

hemanth@hemanth-Inspiron-5575:~$ sudo dmesg | grep ttyUSB
[ 5344.661550] usb 1-3: ch341-uart converter now attached to ttyUSB0
[ 5346.159591] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5379.350507] usb 1-2: ch341-uart converter now attached to ttyUSB0
[ 5380.110519] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5540.970318] usb 1-2: ch341-uart converter now attached to ttyUSB0
[ 5541.730373] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5554.736428] usb 1-3: ch341-uart converter now attached to ttyUSB0
[ 5555.503739] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5570.912994] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 5571.682309] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5575.713988] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 5576.480115] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5798.291046] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 5799.065296] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5990.743067] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 5992.001216] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 6424.089221] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 6424.921336] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 6447.982778] usb 1-3: ch341-uart converter now attached to ttyUSB0
[ 6448.759044] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 6457.997830] usb 1-2: ch341-uart converter now attached to ttyUSB0
[ 6458.769053] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 7686.828992] usb 1-3: ch341-uart converter now attached to ttyUSB0
[ 7688.074143] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 7705.310630] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 7706.082790] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 8386.632493] usb 1-3: ch341-uart converter now attached to ttyUSB0
[ 8387.534576] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 8397.513614] usb 1-2: ch341-uart converter now attached to ttyUSB0
[ 8398.270900] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 8411.574173] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 8412.338321] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 9328.113672] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 9328.964990] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0

I got these after run dmesg.

After disable BRLTTY also I am getting like this

hemanth@hemanth-Inspiron-5575:~$ sudo systemctl stop brltty
hemanth@hemanth-Inspiron-5575:~$ sudo systemctl disable brltty
hemanth@hemanth-Inspiron-5575:~$ ls /dev/ttyUSB0
ls: cannot access '/dev/ttyUSB0': No such file or directory
hemanth@hemanth-Inspiron-5575:~$

Yes this is a arduino but port is not being detected.

The constant attached / disconnect would indicate that there is something wrong with the CH340 or maybe a PC setting. I unfortunately can't tell you how to solve that; maybe something in these search result will help you: ch340 linux constant connect / disconnect - Google Search

Which board are you using?
Anything connected to it? If yes, what? Disconnect it all (except for USB).

Use this command and then unplug the USB and plug it back , what does the command window show.

sudo dmesg -w

After a new installation of Ubuntu you must be added to a user group.
Worked for me.

https://docs.arduino.cc/software/ide-v1/tutorials/Linux/

Maybe what was posted in post #5?

That is, to my knowledge, not related to board detection. You indeed need the permissions once you start uploading.