Hi
Linux Mint 21.3
Have a Nano with L298N. Compiles good. When selecting Nano and Port, the Port is greyed out. Same Nano on a previous laptop worked good (Linux Mint17 I think)
How do I get the 'upload' to work?
Thanks
Charles
Hi
Linux Mint 21.3
Have a Nano with L298N. Compiles good. When selecting Nano and Port, the Port is greyed out. Same Nano on a previous laptop worked good (Linux Mint17 I think)
How do I get the 'upload' to work?
Thanks
Charles
Is your user a member of the dialout group on the new laptop?
Hi Charles, are you comfortable in linux? Then dive into a shell, or do it anyway ![]()
Check that the kernel recons the Nano and assigns a tty:
Unplug the Nano, run dmesg --follow, plug the Nano back. Did a line with /dev/ttyS* appear? Restart the IDE. Is the port available now? (End dmesg)
Member of the right group?
Type the command groups. Is either dialout or uucp there? If none are, you need to add your user to the right group. Type ls -l /dev/ttyS*, what group do they belong to? Now enter sudo usermod -a -G <group> <yourusername> followed by your password. Restart your IDE, check available ports again.
Lets see what you find.
In addition to /dev/ttyS*, more generally it might also be /dev/ttyACM* or /dev/ttyUSB*.
So unplug the device, run
ls /dev/tty*
in a terminal and note what is listed. Then plug in the device, wait a few seconds, and do it again; is anything new on the list? Then do
ls -l /dev/tty*
to see the owner and group of that item.
That's true. I chose the ttyS* since those and the ACM and USB ones will share the same group.
Is ttyS* only for actual serial ports? Might not have one nowadays, especially on a laptop.
Yes, and it's a whole bunch (32) of them ttyS's in /dev, at least in my Manjaro install. Meanwhile the computer only got 1.
Prolly to be on the safe side in case dude got a fat Moxa card installed.
Hi. Not making any progress yet. Have a new Nano and a new cable. Still get the 'no port provided' from Linux Mint 21.3. Will try on Linux group to find out how I get it to show. Thanks for your patience.
Charles
New Zealand in upside down land
So, dmesg showed the Nano being plugged in?
Greets NZ ![]()
Do you get a /dev/ttyACMx or /dev/ttyUSBx when you connect the board?
Any reference to BRLTTY in dmesg output?
Do you have anything connected to the 0 & 1 pins?
Back on the Linux box: same here. And I got 64 with just the number.
A minor annoyance: they're sorted so that tty63 comes before tty7. Checking the man page, the -v (for "version") option fixes that. Also looked up the globbing rules to exclude those 96(!)
$ ls -vl /dev/tty[!0-9S]* # or [:digit:] instead of 0-9
crw------- 1 root root 5, 3 Mar 10 2025 /dev/ttyprintk
Makes it easier to see if your device is added
Of course, you need some more advanced sorting if it first will sort by letters and then by value, not numbers. Clever to find out that option -v tho. One way is to check the length, sort the shortest names by letters, then go on and sort length +1.
I've only seen ttyUSB0 or ttyACM0 so far, they are easy to spot. Only tty's that are not, are the serial ports as we concluded, without checking the kernel boot log (dmesg) you never know for sure how many serial ports are installed...
I'm lazy: I usually just want to see the latest added tty when I plug something in so I use:
ls -ltr /dev/tty*
dmesg | grep -B 5 -A 3 tty
![]()
I have not progressed at all despite trying lots of things. With ledsyn terminal I get:
charlie@charlie-Aspire-5741:~$ dmesg | grep -B 5 -A 3 tty
[ 0.207133] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.207136] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.227480] NR_IRQS: 524544, nr_irqs: 1000, preallocated irqs: 16
[ 0.228032] spurious 8259A interrupt: IRQ7.
[ 0.228082] Console: colour dummy device 80x25
[ 0.228127] printk: console [tty0] enabled
[ 0.228207] ACPI: Core revision 20210730
[ 0.228617] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns
[ 0.228649] APIC: Switch to symmetric I/O mode setup
--
[ 7682.710480] usbcore: registered new interface driver usbserial_generic
[ 7682.710528] usbserial: USB Serial support registered for generic
[ 7682.825689] usbcore: registered new interface driver ch341
[ 7682.830043] usbserial: USB Serial support registered for ch341-uart
[ 7682.830445] ch341 5-1:1.0: ch341-uart converter detected
[ 7682.847082] usb 5-1: ch341-uart converter now attached to ttyUSB0
charlie@charlie-Aspire-5741:~$
and previously:
charlie@charlie-Aspire-5741:~$ dmesg | grep -B 5 -A 3 tty
[ 0.207133] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.207136] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.227480] NR_IRQS: 524544, nr_irqs: 1000, preallocated irqs: 16
[ 0.228032] spurious 8259A interrupt: IRQ7.
[ 0.228082] Console: colour dummy device 80x25
[ 0.228127] printk: console [tty0] enabled
[ 0.228207] ACPI: Core revision 20210730
[ 0.228617] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns
[ 0.228649] APIC: Switch to symmetric I/O mode setup
--
[ 7682.710480] usbcore: registered new interface driver usbserial_generic
[ 7682.710528] usbserial: USB Serial support registered for generic
[ 7682.825689] usbcore: registered new interface driver ch341
[ 7682.830043] usbserial: USB Serial support registered for ch341-uart
[ 7682.830445] ch341 5-1:1.0: ch341-uart converter detected
[ 7682.847082] usb 5-1: ch341-uart converter now attached to ttyUSB0
charlie@charlie-Aspire-5741:~$
Any help would be much appreciated. Some of the code above courtesy of Perplexity AI !!
Thankyou
Charles
Old and slow
They are the same outputs, and both shows the serial port as ttyUSB0.
Did you do step 2 in post #3?
Hi
This is what I should have posted. My bad. Seems like everything is there, but not finding the port # to use.
Thanks
Charles
charlie@charlie-Aspire-5741:~$ lsusb
Bus 002 Device 002: ID 04f2:b3d6 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1))
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
charlie@charlie-Aspire-5741:~$ dmesg | grep -i usb
[ 0.604258] ACPI: bus type USB registered
[ 0.604312] usbcore: registered new interface driver usbfs
[ 0.604338] usbcore: registered new interface driver hub
[ 0.604358] usbcore: registered new device driver usb
[ 0.698110] pci 0000:00:12.0: quirk_usb_early_handoff+0x0/0x160 took 18735 usecs
[ 0.718115] pci 0000:00:13.0: quirk_usb_early_handoff+0x0/0x160 took 19111 usecs
[ 0.794331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.794851] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 1
[ 0.812798] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 0.813044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.813055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.813061] usb usb1: Product: EHCI Host Controller
[ 0.813066] usb usb1: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.813071] usb usb1: SerialNumber: 0000:00:12.2
[ 0.813405] hub 1-0:1.0: USB hub found
[ 0.814278] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 2
[ 0.832814] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 0.833044] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.833053] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.833059] usb usb2: Product: EHCI Host Controller
[ 0.833065] usb usb2: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.833070] usb usb2: SerialNumber: 0000:00:13.2
[ 0.833482] hub 2-0:1.0: USB hub found
[ 0.834205] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.834688] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 3
[ 0.900974] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.900993] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.901000] usb usb3: Product: OHCI PCI host controller
[ 0.901005] usb usb3: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.901011] usb usb3: SerialNumber: 0000:00:12.0
[ 0.901376] hub 3-0:1.0: USB hub found
[ 0.902220] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 4
[ 0.968975] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.968994] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.969000] usb usb4: Product: OHCI PCI host controller
[ 0.969005] usb usb4: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.969011] usb usb4: SerialNumber: 0000:00:13.0
[ 0.969416] hub 4-0:1.0: USB hub found
[ 0.970123] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.202386] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.422996] usb 2-1: New USB device found, idVendor=04f2, idProduct=b3d6, bcdDevice=39.07
[ 1.423015] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.423022] usb 2-1: Product: HD WebCam
[ 1.423027] usb 2-1: Manufacturer: SunplusIT INC.
[ 1.488808] usb 3-2: new full-speed USB device number 2 using ohci-pci
[ 1.693946] usb 3-2: New USB device found, idVendor=045e, idProduct=07fd, bcdDevice= 3.15
[ 1.693964] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.693971] usb 3-2: Product: Microsoft Nano Transceiver 1.1
[ 1.693977] usb 3-2: Manufacturer: Microsoft
[ 1.920804] usb 4-2: new full-speed USB device number 2 using ohci-pci
[ 2.109859] usb 4-2: New USB device found, idVendor=04ca, idProduct=300b, bcdDevice= 0.01
[ 2.109878] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.173473] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 5
[ 4.174252] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 6
[ 4.174264] xhci_hcd 0000:00:10.0: Host supports USB 3.0 SuperSpeed
[ 4.225238] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 4.225253] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.225260] usb usb5: Product: xHCI Host Controller
[ 4.225264] usb usb5: Manufacturer: Linux 5.15.0-121-generic xhci-hcd
[ 4.225269] usb usb5: SerialNumber: 0000:00:10.0
[ 4.225614] hub 5-0:1.0: USB hub found
charlie@charlie-Aspire-5741:~$ lsusb
Bus 002 Device 002: ID 04f2:b3d6 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 001: ID 1d6b:0002 Lincharlie@charlie-Aspire-5741:~$ lsusb
Bus 002 Device 002: ID 04f2:b3d6 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
charlie@charlie-Aspire-5741:~$ dmesg | grep -i usb
[ 0.604258] ACPI: bus type USB registered
[ 0.604312] usbcore: registered new interface driver usbfs
[ 0.604338] usbcore: registered new interface driver hub
[ 0.604358] usbcore: registered new device driver usb
[ 0.698110] pci 0000:00:12.0: quirk_usb_early_handoff+0x0/0x160 took 18735 usecs
[ 0.718115] pci 0000:00:13.0: quirk_usb_early_handoff+0x0/0x160 took 19111 usecs
[ 0.794331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.794851] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 1
[ 0.812798] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 0.813044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.813055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.813061] usb usb1: Product: EHCI Host Controller
[ 0.813066] usb usb1: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.813071] usb usb1: SerialNumber: 0000:00:12.2
[ 0.813405] hub 1-0:1.0: USB hub found)
[ 0.814278] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 2
[ 0.832814] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 0.833044] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.833053] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.833059] usb usb2: Product: EHCI Host Controller
[ 0.833065] usb usb2: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.833070] usb usb2: SerialNumber: 0000:00:13.2
[ 0.833482] hub 2-0:1.0: USB hub found
[ 0.834205] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.834688] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 3
[ 0.900974] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.900993] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.901000] usb usb3: Product: OHCI PCI host controller
[ 0.901005] usb usb3: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.901011] usb usb3: SerialNumber: 0000:00:12.0
[ 0.901376] hub 3-0:1.0: USB hub found
[ 0.902220] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 4
[ 0.968975] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.968994] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.969000] usb usb4: Product: OHCI PCI host controller
[ 0.969005] usb usb4: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.969011] usb usb4: SerialNumber: 0000:00:13.0
[ 0.969416] hub 4-0:1.0: USB hub found
[ 0.970123] uhci_hcd: USB Universal Host Controller Interface driver)
[ 1.202386] usb 2-1: new high-speed USB device number 2 using ehci-pci)
[ 1.422996] usb 2-1: New USB device found, idVendor=04f2, idProduct=b3d6, bcdDevice=39.07
[ 1.423015] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.423022] usb 2-1: Product: HD WebCam
[ 1.423027] usb 2-1: Manufacturer: SunplusIT INC.
[ 1.488808] usb 3-2: new full-speed USB device number 2 using ohci-pci
[ 1.693946] usb 3-2: New USB device found, idVendor=045e, idProduct=07fd, bcdDevice= 3.15
[ 1.693964] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.693971] usb 3-2: Product: Microsoft Nano Transceiver 1.1
[ 1.693977] usb 3-2: Manufacturer: Microsoft
[ 1.920804] usb 4-2: new full-speed USB device number 2 using ohci-pci
[ 2.109859] usb 4-2: New USB device found, idVendor=04ca, idProduct=300b, bcdDevice= 0.01
[ 2.109878] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.173473] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 5
[ 4.174252] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 6
[ 4.174264] xhci_hcd 0000:00:10.0: Host supports USB 3.0 SuperSpeed
[ 4.225238] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 4.225253] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.225260] usb usb5: Product: xHCI Host Controller
[ 4.225264] usb usb5: Manufacturer: Linux 5.15.0-121-generic xhci-hcd
[ 4.225269] usb usb5: SerialNumber: 0000:00:10.0
[ 4.225614] hub 5-0:1.0: USB hub found
charlie@charlie-Aspire-5741:~$ lsusb
Bus 002 Device 002: ID 04f2:b3d6 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
charlie@charlie-Aspire-5741:~$ dmesg | grep -i usb
[ 0.604258] ACPI: bus type USB registered
[ 0.604312] usbcore: registered new interface driver usbfs
[ 0.604338] usbcore: registered new interface driver hub
[ 0.604358] usbcore: registered new device driver usb
[ 0.698110] pci 0000:00:12.0: quirk_usb_early_handoff+0x0/0x160 took 18735 usecs
[ 0.718115] pci 0000:00:13.0: quirk_usb_early_handoff+0x0/0x160 took 19111 usecs
[ 0.794331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.794851] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 1
[ 0.812798] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 0.813044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.813055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.813061] usb usb1: Product: EHCI Host Controller
[ 0.813066] usb usb1: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.813071] usb usb1: SerialNumber: 0000:00:12.2
[ 0.813405] hub 1-0:1.0: USB hub found
[ 0.814278] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 2
[ 0.832814] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 0.833044] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.833053] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.833059] usb usb2: Product: EHCI Host Controller
[ 0.833065] usb usb2: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.833070] usb usb2: SerialNumber: 0000:00:13.2
[ 0.833482] hub 2-0:1.0: USB hub found
[ 0.834205] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.834688] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 3
[ 0.900974] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.900993] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.901000] usb usb3: Product: OHCI PCI host controller
[ 0.901005] usb usb3: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.901011] usb usb3: SerialNumber: 0000:00:12.0
[ 0.901376] hub 3-0:1.0: USB hub found
[ 0.902220] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 4
[ 0.968975] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.968994] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.969000] usb usb4: Product: OHCI PCI host controller
[ 0.969005] usb usb4: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.969011] usb usb4: SerialNumber: 0000:00:13.0
[ 0.969416] hub 4-0:1.0: USB hub found
[ 0.970123] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.202386] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.422996] usb 2-1: New USB device found, idVendor=04f2charlie@charlie-Aspire-5741:~$ lsusb
Bus 002 Device 002: ID 04f2:b3d6 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
charlie@charlie-Aspire-5741:~$ dmesg | grep -i usb
[ 0.604258] ACPI: bus type USB registered
[ 0.604312] usbcore: registered new interface driver usbfs
[ 0.604338] usbcore: registered new interface driver hub
[ 0.604358] usbcore: registered new device driver usb
[ 0.698110] pci 0000:00:12.0: quirk_usb_early_handoff+0x0/0x160 took 18735 usecs
[ 0.718115] pci 0000:00:13.0: quirk_usb_early_handoff+0x0/0x160 took 19111 usecs
[ 0.794331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.794851] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 1
[ 0.812798] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 0.813044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.813055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.813061] usb usb1: Product: EHCI Host Controller
[ 0.813066] usb usb1: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.813071] usb usb1: SerialNumber: 0000:00:12.2
[ 0.813405] hub 1-0:1.0: USB hub found
[ 0.814278] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 2
[ 0.832814] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 0.833044] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.833053] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.833059] usb usb2: Product: EHCI Host Controller
[ 0.833065] usb usb2: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.833070] usb usb2: SerialNumber: 0000:00:13.2
[ 0.833482] hub 2-0:1.0: USB hub found
[ 0.834205] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.834688] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 3
[ 0.900974] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.900993] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.901000] usb usb3: Product: OHCI PCI host controller
[ 0.901005] usb usb3: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.901011] usb usb3: SerialNumber: 0000:00:12.0
[ 0.901376] hub 3-0:1.0: USB hub found
[ 0.902220] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 4
[ 0.968975] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.968994] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.969000] usb usb4: Product: OHCI PCI host controller
[ 0.969005] usb usb4: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.969011] usb usb4: SerialNumber: 0000:00:13.0
[ 0.969416] hub 4-0:1.0: USB hub found
[ 0.970123] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.202386] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.422996] usb 2-1: New USB device found, idVendor=04f2, idProduct=b3d6, bcdDevice=39.07
[ 1.423015] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.423022] usb 2-1: Product: HD WebCam
[ 1.423027] usb 2-1: Manufacturer: SunplusIT INC.
[ 1.488808] usb 3-2: new full-speed USB device number 2 using ohci-pci
[ 1.693946] usb 3-2: New USB device found, idVendor=045e, idProduct=07fd, bcdDevice= 3.15
[ 1.693964] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.693971] usb 3-2: Product: Microsoft Nano Transceiver 1.1
[ 1.693977] usb 3-2: Manufacturer: Microsoft
[ 1.920804] usb 4-2: new full-speed USB device number 2 using ohci-pci
[ 2.109859] usb 4-2: New USB device found, idVendor=04ca, idProduct=300b, bcdDevice= 0.01
[ 2.109878] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.173473] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 5
[ 4.174252] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 6
[ 4.174264] xhci_hcd 0000:00:10.0: Host supports USB 3.0 SuperSpeed
[ 4.225238] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 4.225253] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.225260] usb usb5: Product: xHCI Host Controller
[ 4.225264] usb usb5: Manufacturer: Linux 5.15.0-121-generic xhci-hcd
[ 4.225269] usb usb5: SerialNumber: 0000:00:10.0
[ 4.225614] hub 5-0:1.0: USB hub found
charlie@charlie-Aspire-5741:~$ lsusb
Bus 002 Device 002: ID 04f2:b3d6 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
charlie@charlie-Aspire-5741:~$ dmesg | grep -i usb
[ 0.604258] ACPI: bus type USB registered
[ 0.604312] usbcore: registered new interface driver usbfs
[ 0.604338] usbcore: registered new interface driver hub
[ 0.604358] usbcore: registered new device driver usb
[ 0.698110] pci 0000:00:12.0: quirk_usb_early_handoff+0x0/0x160 took 18735 usecs
[ 0.718115] pci 0000:00:13.0: quirk_usb_early_handoff+0x0/0x160 took 19111 usecs
[ 0.794331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.794851] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 1
[ 0.812798] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 0.813044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.813055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.813061] usb usb1: Product: EHCI Host Controller
[ 0.813066] usb usb1: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.813071] usb usb1: SerialNumber: 0000:00:12.2
[ 0.813405] hub 1-0:1.0: USB hub found
[ 0.814278] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 2
[ 0.832814] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 0.833044] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.833053] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.833059] usb usb2: Product: EHCI Host Controller
[ 0.833065] usb usb2: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.833070] usb usb2: SerialNumber: 0000:00:13.2
[ 0.833482] hub 2-0:1.0: USB hub found
[ 0.834205] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.834688] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 3
[ 0.900974] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.900993] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.901000] usb usb3: Product: OHCI PCI host controller
[ 0.901005] usb usb3: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.901011] usb usb3: SerialNumber: 0000:00:12.0
[ 0.901376] hub 3-0:1.0: USB hub found
[ 0.902220] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 4
[ 0.968975] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.968994] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.969000] usb usb4: Product: OHCI PCI host controller
[ 0.969005] usb usb4: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.969011] usb usb4: SerialNumber: 0000:00:13.0
[ 0.969416] hub 4-0:1.0: USB hub found
[ 0.970123] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.202386] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.422996] usb 2-1: New USB device found, idVendor=04f2, idProduct=b3d6, bcdDevice=39.07
[ 1.423015] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.423022] usb 2-1: Product: HD WebCam
[ 1.423027] usb 2-1: Manufacturer: SunplusIT INC.
[ 1.488808] usb 3-2: new full-speed USB device number 2 using ohci-pci
[ 1.693946] usb 3-2: New USB device found, idVendor=045e, idProduct=07fd, bcdDevice= 3.15
[ 1.693964] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.693971] usb 3-2: Product: Microsoft Nano Transceiver 1.1
[ 1.693977] usb 3-2: Manufacturer: Microsoft
[ 1.920804] usb 4-2: new full-speed USB device number 2 using ohci-pci
[ 2.109859] usb 4-2: New USB device found, idVendor=04ca, idProduct=300b, bcdDevice= 0.01
[ 2.109878] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.173473] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 5
[ 4.174252] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 6
[ 4.174264] xhci_hcd 0000:00:10.0: Host supports USB 3.0 SuperSpeed
[ 4.225238] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 4.225253] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.225260] usb usb5: Product: xHCI Host Controller
[ 4.225264] usb usb5: Manufacturer: Linux 5.15.0-121-generic xhci-hcd
[ 4.225269] usb usb5: SerialNumber: 0000:00:10.0
[ 4.225614] hub 5-0:1.0: USB hub found
, idProduct=b3d6, bcdDevice=39.07
[ 1.423015] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.423022] usb 2-1: Product: HD WebCam
[ 1.423027] usb 2-1: Manufacturer: SunplusIT INC.
[ 1.488808] usb 3-2: new full-speed USB device number 2 using ohci-pci
[ 1.693946] usb 3-2: New USB device found, idVendor=045e, idProduct=07fd, bcdDevice= 3.15
[ 1.693964] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.693971] usb 3-2: Product: Microsoft Nano Transceiver 1.1
[ 1.693977] usb 3-2: Manufacturer: Microsoft
[ 1.920804] usb 4-2: new full-speed USB device number 2 using ohci-pci
[ 2.109859] usb 4-2: New USB device found, idVendor=04ca, idProduct=300b, bcdDevice= 0.01
[ 2.109878] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.173473] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 5
[ 4.174252] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 6
[ 4.174264] xhci_hcd 0000:00:10.0: Host supports USB 3.0 SuperSpeed
[ 4.225238] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 4.225253] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.225260] usb usb5: Product: xHCI Host Controller
[ 4.225264] usb usb5: Manufacturer: Linux 5.15.0-121-generic xhci-hcd
[ 4.225269] usb usb5: SerialNumber: 0000:00:10.0
[ 4.225614] hub 5-0:1.0: USB hub found
ux Foundation 2.0 root hub
Bus 004 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
charlie@charlie-Aspire-5741:~$ dmesg | grep -i usb
[ 0.604258] ACPI: bus type USB registered
[ 0.604312] usbcore: registered new interface driver usbfs
[ 0.604338] usbcore: registered new interface driver hub
[ 0.604358] usbcore: registered new device driver usb
[ 0.698110] pci 0000:00:12.0: quirk_usb_early_handoff+0x0/0x160 took 18735 usecs
[ 0.718115] pci 0000:00:13.0: quirk_usb_early_handoff+0x0/0x160 took 19111 usecs
[ 0.794331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.794851] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 1
[ 0.812798] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 0.813044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.813055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.813061] usb usb1: Product: EHCI Host Controller
[ 0.813066] usb usb1: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.813071] usb usb1: SerialNumber: 0000:00:12.2
[ 0.813405] hub 1-0:1.0: USB hub found
[ 0.814278] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 2
[ 0.832814] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 0.833044] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.833053] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.833059] usb usb2: Product: EHCI Host Controller
[ 0.833065] usb usb2: Manufacturer: Linux 5.15.0-121-generic ehci_hcd
[ 0.833070] usb usb2: SerialNumber: 0000:00:13.2
[ 0.833482] hub 2-0:1.0: USB hub found
[ 0.834205] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.834688] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 3
[ 0.900974] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.900993] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.901000] usb usb3: Product: OHCI PCI host controller
[ 0.901005] usb usb3: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.901011] usb usb3: SerialNumber: 0000:00:12.0
[ 0.901376] hub 3-0:1.0: USB hub found
[ 0.902220] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 4
[ 0.968975] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 0.968994] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.969000] usb usb4: Product: OHCI PCI host controller
[ 0.969005] usb usb4: Manufacturer: Linux 5.15.0-121-generic ohci_hcd
[ 0.969011] usb usb4: SerialNumber: 0000:00:13.0
[ 0.969416] hub 4-0:1.0: USB hub found
[ 0.970123] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.202386] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.422996] usb 2-1: New USB device found, idVendor=04f2, idProduct=b3d6, bcdDevice=39.07
[ 1.423015] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.423022] usb 2-1: Product: HD WebCam
[ 1.423027] usb 2-1: Manufacturer: SunplusIT INC.
[ 1.488808] usb 3-2: new full-speed USB device number 2 using ohci-pci
[ 1.693946] usb 3-2: New USB device found, idVendor=045e, idProduct=07fd, bcdDevice= 3.15
[ 1.693964] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.693971] usb 3-2: Product: Microsoft Nano Transceiver 1.1
[ 1.693977] usb 3-2: Manufacturer: Microsoft
[ 1.920804] usb 4-2: new full-speed USB device number 2 using ohci-pci
[ 2.109859] usb 4-2: New USB device found, idVendor=04ca, idProduct=300b, bcdDevice= 0.01
[ 2.109878] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.173473] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 5
[ 4.174252] xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 6
[ 4.174264] xhci_hcd 0000:00:10.0: Host supports USB 3.0 SuperSpeed
[ 4.225238] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 4.225253] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.225260] usb usb5: Product: xHCI Host Controller
[ 4.225264] usb usb5: Manufacturer: Linux 5.15.0-121-generic xhci-hcd
[ 4.225269] usb usb5: SerialNumber: 0000:00:10.0
[ 4.225614] hub 5-0:1.0: USB hub found
I doubt you'll catch the device this way. Try what I wrote:
dmesg --followHi
Just opened up project again. In: Tools "Port" I now get (have not before) : "Port/dev/ttyUSB0"
Something working at last. No t sure why. Probably after I rebooted the laptop overnight.
But when I try to upload a code I still get 'no port provided'.
How to make sure that the port is connected to the sketch for uploading.
Friday morning here. Have a good weekend.
Charles