Can't connect Arduino R4 wifi on PC running Fedora 41 linux

I just bought a Sunfounder Kepler Kit that contains an Arduino R4 wifi. My PC runs Fedora 41 linux. Plugging the USB cable to the Arduino board and the other end to my PC results in the Arduino lighting up, a heart appearing in the matrix area, green power light is on, and the led connected to pin 13 is blinking.

when setting the port via the Arduino IDE 2.3.4, there are 2 choices: /dev/ttyS0 and /dev/ttyUSB0. Tried both with a blank "bare minimum" program. Attempting to upload to either port resulted in error message "No device found on ttyS0, respectively ttyUSB0". Arduino R4 state remains as described above.

Unplugged USB cable from PC, opened a terminal window, ran "journalctl -f" (this captures log messages as they occur) and plugged the USB cable back into my PC. Arduino R4 again as above. The terminal window shows the following error messages: (the xxxxx is redacted information)

Feb 14 10:09:18 xxxxx kernel: usb 2-4.3: new full-speed USB device number 6 using ehci-pci
Feb 14 10:09:19 xxxxx kernel: usb 2-4.3: device descriptor read/64, error -32
Feb 14 10:09:19 xxxxx kernel: usb 2-4.3: device descriptor read/64, error -32
Feb 14 10:09:19 xxxxx kernel: usb 2-4.3: new full-speed USB device number 7 using ehci-pci
Feb 14 10:09:19 xxxxx kernel: usb 2-4.3: device descriptor read/64, error -32
Feb 14 10:09:19 xxxxx kernel: usb 2-4.3: device descriptor read/64, error -32
Feb 14 10:09:19 xxxxx kernel: usb 2-4-port3: attempt power cycle
Feb 14 10:09:20 xxxxx kernel: usb 2-4.3: new full-speed USB device number 8 using ehci-pci
Feb 14 10:09:20 xxxxx kernel: usb 2-4.3: device not accepting address 8, error -32
Feb 14 10:09:20 xxxxx kernel: usb 2-4.3: new full-speed USB device number 9 using ehci-pci
Feb 14 10:09:21 xxxxx kernel: usb 2-4.3: device not accepting address 9, error -32
Feb 14 10:09:21 xxxxx kernel: usb 2-4-port3: unable to enumerate USB device

Result: not connected This certainly explains why trying to upload the blank sketch failed.

Any suggestions on what I might be doing wrong?

Since posting I've done additional testing. First, I tested my Arduino Uno 3. Works fine. Note: port used was/dev/ttyACM0, as expected. Second, thinking it might be the USB to USB-c cable, I tried another cable with the Arduino R4. Now /dev/ttyACM0 is a choice for the port. Now the Arduino R4 works!?

Unplugged the second cable, went back to the original cable. Still works. Rebooted my PC, then tried the R4 again with original cable without first trying the Uno. Still works. ??? I'm guessing that I must not have plugged the USB-c end of the cable in completely. If the problem comes back, I will probably post to the Fedora Forum.

Summary. It appears that the problem wass due to the cable not being properly connected. All seems to be okay now.

1 Like