I am running Linux Mint Cinnamon 21.1 with a new Lenovo "IdeaCentre" computer. I have installed the 2.1.1 Arduino IDE. My UNO board and cable work fine on my old computer (also running Linux but the IDE used there was the 1.18 version) but when I plug it into any of the serial ports on my new computer, I am not given the option of selecting a port.
In "Tools", Port is show light grey - inactive but Board is shown as ."Arduino Uno". My groups in the command menu includes 'dialout' and I have rebooted and restarted both the IDE and Linux itself. No problem with the cable or port, since they work with other things.
What is the problem?
This is my first Arduino Forum post, so I hope I have posted in the right place.. I found the pull-down list of Category Options a bit tedious to use and nothing relating to Uno or Serial Ports.
Also, the Aduino IDE shown in the screenshot is the older 1.18 version. I updated it after taking the shot and tried again. I am now running 2.1.1 and I'm still showing as dialout OK.
I ran dmesg from Command and put the output in a file, then did a search for BRLTTY in that file - returned Null. Also scanned the whole document by eye and couldn't find any mention either. (This is something to do with Braille reading, I think). I can send the whole file with dmesg output but I don't think that it will help.
I'm not sure about 1susb . Is this also a command ? I tried but got the return , "not found, did you mean 'lsusb' from deb usbutils.. I'll need a bit of step-by step here, I think... lsusb returned :-
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 004: ID 174f:11a0 Syntek Integrated RGB Camera
Bus 001 Device 005: ID 0bda:4852 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 17ef:60a9 Lenovo Lenovo Essential Wireless Keyboard and Mouse Combo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
There is no sign of an Arduino in the lsusb output as far as I can see.
It is indeed the braille reader; I did jump the gun a bit as I do not know what the TTL-to-USB converter on your board is. Problems due to BRLTTY are (till now) only associated with the CH340.
You can do the following
Disconnect the board
Run dmesg -w; the application will not close
Connect the board and observe the changes.
You can close dmesg -w using <ctrl>C
If you still have the old laptop, you can compare the outputs of the commands and check the differences.
Thanks for that.
I forgot to mention that the Lenovo PC I am using originally came with Windows 11 and I have it set up as a dual boot. I am running the Arduino software in the Linux environment.
dmesg output refers to brltty and CH341 (see below). Still no Ports Discovered by Arduino.
[ 216.306923] usb 3-3: USB disconnect, device number 2
[ 294.346210] usb 3-3: new full-speed USB device number 3 using xhci_hcd
[ 294.508622] usb 3-3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 294.508631] usb 3-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 294.508635] usb 3-3: Product: USB Serial
[ 294.513436] ch341 3-3:1.0: ch341-uart converter detected
[ 294.527776] usb 3-3: ch341-uart converter now attached to ttyUSB0
[ 295.074976] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input13
[ 295.081476] usb 3-3: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 295.084608] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 295.084641] ch341 3-3:1.0: device disconnected
[ 449.800666] usb 3-3: USB disconnect, device number 3
[ 463.669733] usb 1-1: new full-speed USB device number 6 using xhci_hcd
[ 463.832717] usb 1-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 463.832729] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 463.832733] usb 1-1: Product: USB Serial
[ 463.846832] ch341 1-1:1.0: ch341-uart converter detected
[ 463.859880] usb 1-1: ch341-uart converter now attached to ttyUSB0
[ 464.403300] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input14
[ 464.408532] usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 464.411695] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 464.411723] ch341 1-1:1.0: device disconnected
Do you have any idea what the problem might be?
Thanks
alodium
BRLTTY is the problem; uninstall it or use udev rules to disable it. You can find instructions on this forum and on the web; search for e.g. disable brltty or uninstall brltty.
Linux associates the Ch340 woth the braille reader.
I think this means that brltty is disabled. BUT after doing this, Arduino still shows NO PORTS DISCOVERED and dmesg -w returns text including below:
[ 5.274526] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input12
[ 5.280118] usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 5.283310] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5.283338] ch341 1-1:1.0: device disconnected
[ 5.343256] kauditd_printk_skb: 12 callbacks suppressed
Is the brltty being re-enabled somewhere?
I could try your second option “edit the udev entry specifically for this CH340/CH341-based chip.” but I don’t know how to do this and can’t find anything if I search the Forum.