You are not logged in.

#1 2021-12-09 20:46:59

Hidasi Mate
Member
Registered: 2021-06-16
Posts: 8

Arduino can't find connected board.

I've recently installed the arduino-cli package(and the later the IDE as well) it can't see my Arduino NANO being connected. Based on other posts about similar problems the computer sees it but for some reason neither does the arduino cli nor the IDE. The output of arduino-cli board list` was a list of all the /dev/tty or /dev/usb devices(I can't remember) so after reading trough the Arduino/Installation wiki page I tried to load the cdc_acm module based on this guide and after that arduino-cli can't find any devices and deleting the file and rebooting didn't fix it. When I tried doing it from the IDE it gave the error Serial port not selected. when the button for setting the serial port is grey and non functional for some reason.

Offline

#2 2021-12-09 21:25:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,638

Re: Arduino can't find connected board.

When you connect the device, does it show up in /dev as /dev/ttyACM0 or, perhaps, /dev/ttyUSB0 ?
What is the output of groups  ?
What is the output of ls -l /dev/tty[UA]*


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2021-12-09 21:44:05

Hidasi Mate
Member
Registered: 2021-06-16
Posts: 8

Re: Arduino can't find connected board.

When you connect the device, does it show up in /dev as /dev/ttyACM0 or, perhaps, /dev/ttyUSB0 ?

neither of those exist according to ls

What is the output of groups  ?

 uucp wheel hmate 

What is the output of ls -l /dev/tty[UA]*

zsh: no matches found: /dev/tty[UA]*

Offline

#4 2021-12-09 23:32:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,638

Re: Arduino can't find connected board.

Is the kernel in memory the same revision as the one that is installed by Pacman?
verify that the version reported by uname -a   and by  pacman -Q linux  match (change that last command as appropriate if you are not booting a stock kernel.

IIRC, the Nano does not have a separate processor or FTDI chip for the USB interface.  You may need to fiddle with the reset button a couple times,  especially if you loaded a sketch that does not spend much time talking to the "serial" port.  But, let's cross that river after we go after the low hanging fruit.    Edit:  No, it does have an FTDI chip.  It should "Just Work"  https://content.arduino.cc/assets/NanoV3.3_sch.pdf

Last edited by ewaller (2021-12-09 23:35:21)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2021-12-10 01:37:13

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,676

Re: Arduino can't find connected board.

Are you positive you do not have a charge-only cable?

Offline

#6 2021-12-10 02:26:38

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Arduino can't find connected board.

Is brltty installed on the system?  https://bbs.archlinux.org/viewtopic.php?id=269299

Offline

#7 2021-12-10 06:38:56

Hidasi Mate
Member
Registered: 2021-06-16
Posts: 8

Re: Arduino can't find connected board.

loqs wrote:

Is brltty installed on the system?  https://bbs.archlinux.org/viewtopic.php?id=269299

Nope

Offline

#8 2021-12-10 06:41:00

Hidasi Mate
Member
Registered: 2021-06-16
Posts: 8

Re: Arduino can't find connected board.

skunktrader wrote:

Are you positive you do not have a charge-only cable?

I used it when I learned to program the thing so yes

Offline

#9 2021-12-10 17:03:22

Hidasi Mate
Member
Registered: 2021-06-16
Posts: 8

Re: Arduino can't find connected board.

ewaller wrote:

Is the kernel in memory the same revision as the one that is installed by Pacman?
verify that the version reported by uname -a   and by  pacman -Q linux  match (change that last command as appropriate if you are not booting a stock kernel.

I use the linux-lts 5.10.83-1 and it matches the uname -a output

Last edited by Hidasi Mate (2021-12-10 17:03:39)

Offline

Board footer

Powered by FluxBB