I have a new laptop with Ubuntu 22.04.1 installed.
I installed the Arduino IDE Version 1.18.19
When I plug in a board, I can't find which of the 118 /dev/tty* ports to use.
Tips would be appreciated.
I have a new laptop with Ubuntu 22.04.1 installed.
I installed the Arduino IDE Version 1.18.19
When I plug in a board, I can't find which of the 118 /dev/tty* ports to use.
Tips would be appreciated.
Could be that...
https://forum.arduino.cc/t/solved-tools-serial-port-greyed-out-in-ubuntu-22-04-lts/991568
Problem sort-of solved. Removing the braille service and my IDE on Ubuntu finds the UNO.
But, I wasn't specific enough in my first question. The IDE on Ubuntu can't see my Wemos D1 Mini.
modinfo cp210x
returns lots of info indicating that the driver for the UART on the Wemos is in fact installed.
So, back to square one...
The last batch of wemos d1 minis I bought came with CH34x USB serial chips but clone board makers may change parts based on availability.
You can get a list of tty ports sorted by date and time by using this command 'ls -ltr /dev/tty*'. Let the output scroll by. The most recent ports are at the end.
Also the command 'sudo dmesg' dumps out system messages. Let the listing scroll by because the most recent events are at the end. On older versions of Linux the sudo was not required but is on 22.04. You should see messages about USB devices plugged in. If no messages appear, you may have a bad USB cable. Try other cables until you find one that works.
Is this your first Ubuntu experience, or did you have everything working on Ubuntu before, perhaps 20.04, and these problems appeared when you upgraded to 22.04?
I was going to suggest something similar. Type ls /dev/tty*
, then plug in the Arduino, then repeat the command to see what new devices have appeared.
I've been using Nanos, Wemos minis, and various other Arduino compatibles since Ubuntu 16 or earlier, and never needed to install any drivers, except for use with a Maple Mini. I've not upgraded to 22.04 yet, need to sort that out sometime.
It's the same cable that I use to program the Wemos D1 from the PC.
There is no new /dev/tty* device when I plug in the board, and no difference in dmesg.
I've been using Ubuntu on my home servers for two or three years now. This is a new laptop, so it's not an upgrade.
I've never needed a driver until this laptop- there was no WiFi drivers (rtl8723du) and I compiled it from the GitHub repository- WiFi works now.
The IDE does find the Uno, just not the Wemos D1 Mini.
Please post the result of lsusb with the Wemos connected.
steve@Alderaan:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 058f:3822 Alcor Micro Corp. USB 2.0 Camera
Bus 001 Device 006: ID 0bda:d723 Realtek Semiconductor Corp. 802.11n WLAN Adapter
Bus 001 Device 005: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 248a:8514 Maxxter Wireless Receiver
Bus 001 Device 002: ID 14cd:8601 Super Top 4-Port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
steve@Alderaan:~$
It's the same with the Wemos disconnected.
What do you get from "sudo dmesg | tail" immediately after plugging in the USB device? (This shows kernel activity log for when the USB device is plugged in)
On my (recently upgraded to) Ubuntu 22.04 machine, I get:
[ 156.366912] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 156.366915] usb 2-1.6: Product: CP2102 USB to UART Bridge Controller
[ 156.366918] usb 2-1.6: Manufacturer: Silicon Labs
[ 156.366920] usb 2-1.6: SerialNumber: 0001
[ 156.468573] usbcore: registered new interface driver usbserial_generic
[ 156.468583] usbserial: USB Serial support registered for generic
[ 156.476618] usbcore: registered new interface driver cp210x
[ 156.476634] usbserial: USB Serial support registered for cp210x
[ 156.476657] cp210x 2-1.6:1.0: cp210x converter detected
[ 156.477765] usb 2-1.6: cp210x converter now attached to ttyUSB0
Which is what is supposed to happen.
try this:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.