Go Down

Topic: Can't make /dev/ttyACM or /dev/ttyUSB on CentOS 6.7 (Read 332 times) previous topic - next topic

Hongsuh

Dear friends

I spent many days but I failed....

I connected Arduino (zero) to the linux macine (CentOS 6.7).
I installed the Arduino Linux IDE 1.8.5 software at /usr/local.

The Linux machine recognized the Arduino.

[root@LinuxServer ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 2341:804d Arduino SA
Bus 002 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 005: ID 03f0:044a Hewlett-Packard

But, there is no USB or ACM drivers in /dev/.

[root@LinuxServer ~]# ls /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory
[root@LinuxServer ~]# ls /dev/ttyACM*
ls: cannot access /dev/ttyACM*: No such file or directory

There is no change after the rebooting the machine.

How can I make /dev/ttyACM or /dev/ttyUSB...?


Hongsuh

Thanks.
But, it doesn't work ...
I think permission is not a problem.

After plug the Arduino,  I got message from dmesg

[root@machine arduino-1.8.5]# dmesg
....
usb 2-1.4: new full speed USB device number 5 using ehci_hcd
usb 2-1.4: New USB device found, idVendor=2341, idProduct=804d
usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.4: Product: Arduino Zero
usb 2-1.4: Manufacturer: Arduino LLC
usb 2-1.4: SerialNumber: 2B138A21514E3254384C2020FF101F2B
usb 2-1.4: configuration #1 chosen from 1 choice
[root@machine arduino-1.8.5]#

But, there is no /dev/ttyUSB  or /dev/ttyACM

[root@macine arduino-1.8.5]# ls /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory
[root@macine arduino-1.8.5]# ls /dev/ttyACM*
ls: cannot access /dev/ttyACM*: No such file or directory
[root@macine arduino-1.8.5]#

How do I do?...



ieee488

On my Linux Mint it is /dev/ttyACM0 if connecting up the Arduino Uno or /dev/ttyUSB0 if connecting up a USB-TTL adapter to Arduino Pro Mini.



.


Hongsuh

Thanks.  But I failed.

I tried to load cdc_acm driver manually.

[root@machine rules.d]# modprobe cdc_acm
[root@machine rules.d]#

and then I connected the Arduino to the linux computer again.
But, there is no /dev/ttyACM* and /dev/ttyUSB* files.

[root@machine rules.d]# dmesg | tail -7
usb 2-1.4: new full speed USB device number 9 using ehci_hcd
usb 2-1.4: New USB device found, idVendor=2341, idProduct=804d
usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.4: Product: Arduino Zero
usb 2-1.4: Manufacturer: Arduino LLC
usb 2-1.4: SerialNumber: 2B138A21514E3254384C2020FF101F2B
usb 2-1.4: configuration #1 chosen from 1 choice
[root@machine rules.d]#
[root@machine arduino-1.8.5]# ls /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory
[root@machine arduino-1.8.5]# ls /dev/ttyACM*
ls: cannot access /dev/ttyACM*: No such file or directory
[root@machine arduino-1.8.5]#

How can I do make /dev/ttyACM or /dev/ttyUSB driver?

kprims


Quote
If you want to program your Zero while offline you need to install the Arduino Desktop IDE and add the Atmel SAMD Core to it.
https://www.arduino.cc/en/Guide/ArduinoZero

gdsports

I use the Arduino IDE on various versions of Ubuntu and Raspbian (Raspberry Pi) with no problems except removing modemmanager. Other users mention succesfully using Arch and Mint.

I suggest asking for help at a CentOS forum because this appears to be a problem specific to CentOS.

Hongsuh

I added the Atmel SAMD Core for using Arduino Zero and then tried to connect it again. But I failed.

Maybe my hardware and CentOS need something to load Arduini driver, like kernel compile...

As gdsports mentioned, I ask help to CetOS forum.

Thank you kprims, ieee488.
Specially thanks to gdsports !!

Go Up