Ubuntu arduino IDE not showing any ports

You obviously miised that :wink: Uninstall it. Uninstall it as mentioned in post #11.

you're right, I will do it, thanks a lot.

@sterretje it didn't work.
when I type dmesg in terminal, this is the output:

[  133.943750] usb 1-1: device descriptor read/64, error -71
[  134.179865] usb 1-1: new full-speed USB device number 7 using xhci_hcd
[  134.307913] usb 1-1: device descriptor read/64, error -71
[  134.544122] usb 1-1: device descriptor read/64, error -71
[  134.652313] usb usb1-port1: attempt power cycle
[  135.308561] usb 1-1: new full-speed USB device number 8 using xhci_hcd
[  135.308826] usb 1-1: Device not responding to setup address.
[  135.516572] usb 1-1: Device not responding to setup address.
[  135.724688] usb 1-1: device not accepting address 8, error -71
[  135.852668] usb 1-1: new full-speed USB device number 9 using xhci_hcd
[  135.852853] usb 1-1: Device not responding to setup address.
[  136.061216] usb 1-1: Device not responding to setup address.
[  136.268927] usb 1-1: device not accepting address 9, error -71
[  136.269145] usb usb1-port1: unable to enumerate USB device
[  139.049985] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  139.050020] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  139.050030] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  139.050044] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  142.649436] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  142.649478] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  142.649489] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  142.649502] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  199.067625] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  199.067654] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  199.067663] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  199.067674] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  211.070092] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  211.070120] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  211.070128] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  211.070138] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  229.073499] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  229.073533] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  229.073543] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  229.073556] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  235.071387] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  235.071422] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  235.071433] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  235.071446] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  241.073976] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  241.074012] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  241.074023] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  241.074036] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  248.309301] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  248.309336] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  248.309347] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  248.309360] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  259.068113] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  259.068140] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  259.068148] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  259.068158] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  265.063590] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  265.063627] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  265.063638] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  265.063652] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  271.066263] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  271.066299] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  271.066309] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  271.066323] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  277.066560] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  277.066591] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  277.066601] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  277.066612] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  289.062903] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  289.062938] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  289.062950] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  289.062964] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  299.720897] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[  311.278839] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  311.278875] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  311.278886] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  311.278899] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  313.061639] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  313.061677] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  313.061688] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  313.061700] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  319.068036] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  319.068072] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  319.068083] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  319.068096] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  331.065191] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  331.065226] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  331.065237] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  331.065250] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  337.065292] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  337.065326] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  337.065337] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  337.065351] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  349.063437] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  349.063467] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  349.063476] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  349.063487] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  373.067032] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  373.067060] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  373.067068] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  373.067078] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  377.546800] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  377.546837] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  377.546848] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  377.546862] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  379.064601] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  379.064614] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  379.064616] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  379.064619] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  385.068526] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  385.068562] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  385.068573] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  385.068586] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  403.072310] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  403.072346] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  403.072357] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  403.072370] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  415.071854] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  415.071889] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  415.071900] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  415.071914] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  421.073337] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  421.073372] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  421.073384] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  421.073397] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  433.069123] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  433.069154] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  433.069164] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  433.069176] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  451.073282] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  451.073317] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  451.073328] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  451.073341] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  457.074646] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  457.074678] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  457.074688] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  457.074699] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  459.778179] usb 1-6: new full-speed USB device number 10 using xhci_hcd
[  459.906230] usb 1-6: device descriptor read/64, error -71
[  460.142263] usb 1-6: device descriptor read/64, error -71
[  460.378234] usb 1-6: new full-speed USB device number 11 using xhci_hcd
[  460.506288] usb 1-6: device descriptor read/64, error -71
[  460.742334] usb 1-6: device descriptor read/64, error -71
[  460.850245] usb usb1-port6: attempt power cycle
[  461.502353] usb 1-6: new full-speed USB device number 12 using xhci_hcd
[  461.502593] usb 1-6: Device not responding to setup address.
[  461.710469] usb 1-6: Device not responding to setup address.
[  461.918373] usb 1-6: device not accepting address 12, error -71
[  462.046387] usb 1-6: new full-speed USB device number 13 using xhci_hcd
[  462.046551] usb 1-6: Device not responding to setup address.
[  462.254657] usb 1-6: Device not responding to setup address.
[  462.462424] usb 1-6: device not accepting address 13, error -71
[  462.462600] usb usb1-port6: unable to enumerate USB device
[  462.734466] usb 1-6: new full-speed USB device number 14 using xhci_hcd
[  462.862379] usb 1-6: device descriptor read/64, error -71
[  463.098518] usb 1-6: device descriptor read/64, error -71
[  463.334516] usb 1-6: new full-speed USB device number 15 using xhci_hcd
[  463.462551] usb 1-6: device descriptor read/64, error -71
[  463.698587] usb 1-6: device descriptor read/64, error -71
[  463.806744] usb usb1-port6: attempt power cycle
[  464.458637] usb 1-6: new full-speed USB device number 16 using xhci_hcd
[  464.458880] usb 1-6: Device not responding to setup address.
[  464.666893] usb 1-6: Device not responding to setup address.
[  464.874472] usb 1-6: device not accepting address 16, error -71
[  465.002696] usb 1-6: new full-speed USB device number 17 using xhci_hcd
[  465.002984] usb 1-6: Device not responding to setup address.
[  465.210977] usb 1-6: Device not responding to setup address.
[  465.418731] usb 1-6: device not accepting address 17, error -71
[  465.418910] usb usb1-port6: unable to enumerate USB device
[  469.075449] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  469.075481] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  469.075490] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  469.075501] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  471.948711] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  471.948742] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  471.948751] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  471.948762] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  475.074099] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  475.074130] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  475.074140] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  475.074151] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  481.076974] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  481.077005] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  481.077014] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  481.077025] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  487.079726] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  487.079757] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  487.079766] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  487.079777] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  493.076826] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  493.076862] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  493.076873] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  493.076885] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  499.081081] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  499.081108] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  499.081117] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  499.081126] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  511.637816] usbcore: registered new interface driver usbserial_generic
[  511.637831] usbserial: USB Serial support registered for generic
[  511.640971] usbcore: registered new interface driver ch34x
[  511.640990] usbserial: USB Serial support registered for ch34x
[  517.081945] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  517.081980] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  517.081991] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  517.082005] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  529.086171] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  529.086198] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  529.086206] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  529.086216] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  535.086273] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  535.086302] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  535.086309] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  535.086319] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  538.072042] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  538.072071] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  538.072079] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  538.072089] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  541.083822] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  541.083853] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  541.083862] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  541.083873] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  553.087116] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  553.087145] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  553.087153] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  553.087163] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  559.088045] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  559.088081] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  559.088091] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  559.088104] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  577.381889] usb 1-6: new full-speed USB device number 18 using xhci_hcd
[  577.509955] usb 1-6: device descriptor read/64, error -71
[  577.745958] usb 1-6: device descriptor read/64, error -71
[  577.981959] usb 1-6: new full-speed USB device number 19 using xhci_hcd
[  578.110020] usb 1-6: device descriptor read/64, error -71
[  578.346047] usb 1-6: device descriptor read/64, error -71
[  578.454187] usb usb1-port6: attempt power cycle
[  579.106123] usb 1-6: new full-speed USB device number 20 using xhci_hcd
[  579.106363] usb 1-6: Device not responding to setup address.
[  579.314391] usb 1-6: Device not responding to setup address.
[  579.522104] usb 1-6: device not accepting address 20, error -71
[  579.654215] usb 1-6: new full-speed USB device number 21 using xhci_hcd
[  579.654476] usb 1-6: Device not responding to setup address.
[  579.862215] usb 1-6: Device not responding to setup address.
[  580.070266] usb 1-6: device not accepting address 21, error -71
[  580.070479] usb usb1-port6: unable to enumerate USB device
[  582.850624] audit: type=1400 audit(1670558429.552:124): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=4056 comm="cupsd" capability=12  capname="net_admin"
[  582.920741] audit: type=1400 audit(1670558429.620:125): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=4062 comm="cups-browsed" capability=23  capname="sys_nice"
[  583.087628] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  583.087663] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  583.087674] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  583.087687] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  613.096010] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  613.096045] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  613.096056] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  613.096069] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  619.096106] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  619.096142] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  619.096152] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  619.096166] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  625.099114] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  625.099142] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  625.099150] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  625.099159] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  632.465519] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  632.465536] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  632.465539] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  632.465544] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  637.098080] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  637.098119] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  637.098130] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  637.098143] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  661.102966] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  661.103002] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  661.103013] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  661.103027] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  691.107632] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  691.107667] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  691.107678] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  691.107692] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  703.106361] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  703.106396] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  703.106407] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  703.106420] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  709.110360] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  709.110442] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  709.110454] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  709.110469] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  730.155657] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  730.155702] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  730.155719] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  730.155732] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  739.110534] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  739.110548] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  739.110550] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  739.110552] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  745.474167] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  745.474214] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  745.474230] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  745.474247] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  757.113089] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  757.113125] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  757.113137] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  757.113150] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  761.647929] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  761.647970] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  761.647983] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  761.647999] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  775.115156] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  775.115191] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  775.115202] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  775.115216] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  805.118854] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  805.118891] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  805.118902] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[  805.118915] pcieport 0000:00:1c.5:    [ 0] RxErr                 
[  813.055095] usb 1-6: new full-speed USB device number 23 using xhci_hcd
[  813.183151] usb 1-6: device descriptor read/64, error -71
[  813.419175] usb 1-6: device descriptor read/64, error -71
[  813.655158] usb 1-6: new full-speed USB device number 24 using xhci_hcd
[  813.783190] usb 1-6: device descriptor read/64, error -71
[  814.019237] usb 1-6: device descriptor read/64, error -71
[  814.127361] usb usb1-port6: attempt power cycle
[  814.779275] usb 1-6: new full-speed USB device number 25 using xhci_hcd
[  814.779510] usb 1-6: Device not responding to setup address.
[  814.987465] usb 1-6: Device not responding to setup address.
[  815.195335] usb 1-6: device not accepting address 25, error -71
[  815.323227] usb 1-6: new full-speed USB device number 26 using xhci_hcd
[  815.323461] usb 1-6: Device not responding to setup address.
[  815.531379] usb 1-6: Device not responding to setup address.
[  815.739390] usb 1-6: device not accepting address 26, error -71
[  815.739589] usb usb1-port6: unable to enumerate USB device

Only posting to say thank you to pzg. Arduino 1.8.19 installed on a thinkpad T430 running LM20.3 cinnamon, no problems.

New PC, thinkcentre M720Q installed LM21.1 cinnamon, ports greyed out. Note I didn't reinstall arduino, I'd copied my home partition from the T430 to the M720Q. No need to re-install the IDE, it lives in home.

Not a member of dailout - fixed, no change. Checked T430 again, not a member of tty - fixed, no change. Found pzg's post, checked in synaptic and brltty was installed. Removed it and all is good!

Checked on the T430 and brltty was installed there?? Maybe if I'd done a fresh install of the Arduino IDE it would have sorted things. Not a newbie, but not sure I could have fixed this one on my own and it saved me having to crawl through dmesg.

Thanks again.

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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 002: ID 0bda:565c Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 013: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
Bus 001 Device 003: ID 8087:0026 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Hi @elbakkar-mahdi. Are you having a problem with Arduino IDE? If so, please provide a detailed description so we can help you out:

  • What did you do?
  • What were the results you expected from doing that thing?
  • What were the results you observed that did not match your expectations?
    • Make sure to include the full and exact text of any error or warning message you might have encountered.

Worked for me too - thanks. dmesg showed that brltty was detaching the Arduino from ttyUSB0. Removing brltty (Reddit - Dive into anything) solved the problem for me.

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 13d3:56d3 IMC Networks USB2.0 HD UVC WebCam
Bus 001 Device 010: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 011: ID 413c:2113 Dell Computer Corp. KB216 Wired Keyboard
Bus 001 Device 005: ID 13d3:3491 IMC Networks 
Bus 001 Device 002: ID 0461:4d22 Primax Electronics, Ltd USB Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

@warenmarksman

Any problems?

Bus 002 Device 003: ID 04f3:009c Elan Microelectronics Corp. Touchscreen
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a52 Importek TOSHIBA Web Camera - HD
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 016: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 003 Device 015: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 003 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Hi @redserpent. Are you experiencing some problem you would like assistance with? If so, please provide a detailed description of the problem you are having.

Include the following information:

  • What did you do?
  • What were the results you expected from doing that thing?
  • What were the results you observed that did not match your expectations?

Make sure to include the full and exact text of any error or warning messages you might have encountered.

I disabled 'brltty' :slight_smile:
$ sudo systemctl mask brltty-udev.service
[sudo] password for xxxx:
Created symlink /etc/systemd/system/brltty-udev.service → /dev/null.
$ systemctl stop brltty.service
$ systemctl disable brltty.service
........
problem persists

sudo dmesg | tail --lines=20
[598193.053564] usb 3-2.3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[598193.053581] usb 3-2.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[598193.053587] usb 3-2.3: Product: USB2.0-Ser!
[598193.054710] ch341 3-2.3:1.0: ch341-uart converter detected
[598193.056786] ch341-uart ttyUSB0: break control not supported, using simulated break
[598193.056891] usb 3-2.3: ch341-uart converter now attached to ttyUSB0
[598193.057170] usb 3-2.4: USB disconnect, device number 12
[598193.328714] usb 3-2.4: new low-speed USB device number 16 using xhci_hcd
[598193.435585] usb 3-2.4: New USB device found, idVendor=045e, idProduct=0084, bcdDevice= 0.00
[598193.435601] usb 3-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[598193.435606] usb 3-2.4: Product: Basic Optical Mouse
[598193.435610] usb 3-2.4: Manufacturer: Microsoft
[598193.440250] input: Microsoft Basic Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.4/3-2.4:1.0/0003:045E:0084.0005/input/input25
[598193.497229] hid-generic 0003:045E:0084.0005: input,hidraw1: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on usb-0000:00:14.0-2.4/input0
[598194.946594] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input26
[598195.062531] usb 3-2.3: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[598195.062990] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[598195.063018] ch341 3-2.3:1.0: device disconnected
[599657.291779] usb 3-2.3: USB disconnect, device number 15
[599822.908017] i915 0000:00:02.0: [drm] ERROR Atomic update failure on pipe A (start=5984847 end=5984848) time 380 us, min 763, max 767, scanline start 757, end 771

Arduino IDE fails to identify COM(Grey-out)

i suspect that this line account for the system trying to communicate with the Arduino UNO:
[598193.056891] usb 3-2.3: ch341-uart converter now attached to ttyUSB0

Hello

I think it would be more efficient to disable the brltty device udev rule.

But I don't know what version of ubuntu you're using.

Have a look in this thread :

I'm having the same problem.
I've removed and purged brltty, no help.
My system works with a UNO but not a Leanardo.
When I attach the Leanardo and run dmesg I get,

Blockquote[139066.234422] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[139232.632206] usb 1-2.1.2: new full-speed USB device number 64 using ehci-pci
[139232.741497] usb 1-2.1.2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[139232.741503] usb 1-2.1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[139232.741505] usb 1-2.1.2: Product: USB Serial
[139232.744348] ch341 1-2.1.2:1.0: ch341-uart converter detected
[139232.746393] usb 1-2.1.2: ch341-uart converter now attached to ttyUSB0
[139295.711753] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[139295.712114] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[139295.888353] usb 1-2.1.2: USB disconnect, device number 64
[139295.890281] usb 1-2.1.2: failed to send control message: -19
[139295.890490] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[139295.890531] ch341 1-2.1.2:1.0: device disconnected
[139486.053120] usb 1-2.3: new full-speed USB device number 65 using ehci-pci
[139486.182783] usb 1-2.3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[139486.182795] usb 1-2.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[139486.182856] usb 1-2.3: Product: USB2.0-Serial
[139486.183515] ch341 1-2.3:1.0: ch341-uart converter detected
[139486.185381] usb 1-2.3: ch341-uart converter now attached to ttyUSB0
[139491.814443] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[139491.814771] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[139491.958132] usb 1-2.3: USB disconnect, device number 65
[139491.960470] usb 1-2.3: failed to send control message: -19
[139491.960652] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[139491.960691] ch341 1-2.3:1.0: device disconnected

Glad for any help.
Linux mint cinnamon - gonna try upgrade to Victoria

Hi @pommie. From the dmesg output, it looks like the Leonardo board is not recognized by the operating system at all (which is different from the other reports here where it was recognized but then interfered with by BRLTTY).

Please try this experiment and then report back with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Connect the Arduino board to your computer with the USB cable.
  2. Press and release the reset button on the Arduino board.

Now please reply here on the forum thread with the answer to the following question:

  • Do you see the LED marked "L" on the board pulse after performing the above instructions?

When I press reset, the orange LED marked L flashes and then stays on for ~6 seconds, then goes off and stays off.

OK, great. I'm going to ask you to run the dmesg command from the command line again and post the output. This time I want you to reset the board before running dmesg, according to the instructions below.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Open a terminal.
  2. Connect the Arduino board to your computer with the USB cable.
  3. Press and release the reset button on the Arduino board.
    The LED marked "L" on the board will start pulsing.
  4. Wait for the LED marked "L" on the board to stop pulsing.
  5. Type this command:
    sudo dmesg | tail --lines=20
    
  6. Press Enter
  7. If prompted for it, enter your Linux account password and press the Enter key.
  8. Click and drag the mouse to select all the output in the terminal window.
  9. Press Ctrl+Shift+C.
    This will copy the selected text to the clipboard.
  10. Open a forum reply here by clicking the "Reply" button.
  11. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
    Code tags icon on toolbar
  12. Press Ctrl+V.
    This will paste the output into the code block.
  13. Move the cursor outside of the code block markup before you add any additional text to your reply.
  14. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

Next step.

Connect the Leonardo to the PC.
Tap the reset button.
Run lsusb. Do you see a board?

If not, you're more than likely using a chrge-only cable. Try different cables.