ttyACM0 not existing

Hi guys!

I'm posting here because the guys on the ubuntu-fr forum seem to don't know the answer to my problem. I've read a lot of posts and articles about that file, ttyACM0 that does not exist on some PCs. The problem always seem to be caused by an access authorization. So I tried the fixes that are usually proposed without results...

Here is the return to some commands :

nicolas@Nicolas:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 064e:9209 Suyin Corp. 
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 026: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 012: ID 0cf3:e005 Atheros Communications, Inc. 
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
nicolas@Nicolas:~$ ls /dev/ttyACM0
ls: impossible d'accéder à '/dev/ttyACM0': Aucun fichier ou dossier de ce type

The last line says : no file or folder of that type.

I've tried :

nicolas@Nicolas:~$ sudo -i
[sudo] Mot de passe de nicolas : 
root@Nicolas:~# 
root@Nicolas:~# usermod -a -G dialout nicolas
root@Nicolas:~# usermod -a -G tty nicolas

And still :

root@Nicolas:~# ls /dev/ttyACM0
ls: impossible d'accéder à '/dev/ttyACM0': Aucun fichier ou dossier de ce type
root@Nicolas:~#

I also tried to open /dev visually but still, nothing there...

I don't know what to do...

I'm on Ubuntu 18.04.1 LTS, all updates done.

Thanks !!
Nico

(deleted)

So it's forbidden to talk about problems that we encounter with our arduino if they are related to linux ? What about Windows and Mac then ?
The problem I have is about Arduino ! I can't connect mine to my computer because that file is missing... I figured that if this forum is specialized in Arduino, that problem might be known here.Tell me if I'm wrong.

(deleted)

The last line says : no file or folder of that type.

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 009: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)

Try a different cable.

dmesg should give you something like this.

dmesg
[ 5999.652327] usb 3-3.7: new full-speed USB device number 15 using xhci_hcd
[ 5999.754582] usb 3-3.7: New USB device found, idVendor=2341, idProduct=0043
[ 5999.754585] usb 3-3.7: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 5999.754586] usb 3-3.7: Manufacturer: Arduino (www.arduino.cc)
[ 5999.754588] usb 3-3.7: SerialNumber: 75533343236351202222
[ 5999.774307] cdc_acm 3-3.7:1.0: ttyACM0: USB ACM device

Sorry about that ! I thought it would be obvious that it's about an arduino since we are on an arduino forum. My bad...

I have a chinese Arduino NANO from Elegoo, equipped with an HL-340 USB-Serial adapter

We can see here that it's recognized by my computer (device 032) :

nicolas@Nicolas:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 064e:9209 Suyin Corp. 
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 027: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 032: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 031: ID 0cf3:e005 Atheros Communications, Inc. 
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg gives me something way too long ! I can't find any specific information about the arduino...

(deleted)

dmesg gives me something way too long ! I can't find any specific information about the arduino..

Last line of dmesg after plugging in clone.

[14736.640646] usb 3-3.5: ch341-uart converter now attached to ttyUSB0

You need to select /dev/ttyUSB*

ls -la /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Dec  8 11:01 /dev/ttyUSB0

Sorry, I locked in on /dev/ttyACM0, instead of the ch340 ttyUSB0.

[ 6085.255440] usb 1-2.2: Product: USB2.0-Serial
[ 6085.256901] ch341 1-2.2:1.0: ch341-uart converter detected
[ 6085.258483] usb 1-2.2: ch341-uart converter now attached to ttyUSB0

omg I'm so dumb !! It's ttyUSB0 and not ttyACM0 !! The problem is the same though... still doesn't work !

When I start Arduino IDE I get :

nicolas@Nicolas:~$ arduino

(java:2935): dbind-WARNING **: 19:33:29.134: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-zPdN5nuJDR: Connexion refusée
java.lang.NullPointerException thrown while loading gnu.io.RXTXCommDriver
java.lang.NullPointerException thrown while loading gnu.io.RXTXCommDriver
java.lang.NullPointerException thrown while loading gnu.io.RXTXCommDriver

What does it mean ?