I have bought an Arduino and a USB cable. When I plug it in, the green LED on the board lights up, but I am not able to detect the device as a USB drive with my laptop or my Raspberry Pi 4 B+.
Today I bought another cable and told the clerk that I need to be able to transfer data. This cable, however, doesn't even light up the green LED.
Its quite frustrating. I have the thing here since a week and cannot use it. I have bought twice the "recommended" cable and still no luck.
I guess that that indicates where your problem is. Did you remove the Arduino from its conductive foam and out of the ESD bag? Is your Arduino laying on a conducting surface (e.g. metal table)?
Remove it from the breadboard and test again. If it's still failing, take it back to the shop; if it works, the breadboard is faulty (I hope that you did not use nails to mount it against the wall
My guess is that it's a Nano, it's the only Arduino that I know that comes with a mini USB-B connector; there are other manufacturers that use a mini USB-B on other boards (e.g. the SparkFun RedBoard is an Uno clone with a mini USB-B).
So I went to the store and the guy plugged the Arduino in his Windows computer and the device would show on the com port. He said it is ok but still replaced it. So I have a new one here now.
The situation has not changed. This time I did not put it in the breadboard first. I just took it out of the foam and on a sheet of paper.
I have plugged in my pohne into the same usb port of the Pi once, just to make sure something can in fact draw current from there and transfer data.
[56363.766300] usb 1-1.3: new high-speed USB device number 5 using xhci_hcd
[56363.898995] usb 1-1.3: New USB device found, idVendor=2717, idProduct=ff40, bcdDevice= 4.14
[56363.899018] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[56363.899037] usb 1-1.3: Product: POCO X3 NFC
[56363.899054] usb 1-1.3: Manufacturer: Xiaomi
[56363.899071] usb 1-1.3: SerialNumber: 57b7af09
[56368.182664] usb 1-1.3: USB disconnect, device number 5
With the old cable still silence and with the new cable still
[56587.350819] usb usb2-port1: over-current change #197
[56587.444168] usb 1-1-port1: over-current change #197
[56587.581686] usb usb2-port1: over-current condition
[56587.582000] usb usb2-port2: over-current change #197
[56587.684592] usb 1-1-port2: over-current change #195
[56587.821842] usb usb2-port2: over-current condition
[56587.822184] usb usb2-port3: over-current change #196
[56587.934462] usb 1-1-port3: over-current change #195
...
Edit:
I found something iteresting in the boot up logs. I have reimaged the sd card and run full-upgrade.
The below logs show that something called brcmf is failing to load the firmware for a chip called
BCM4345/6.
Afterwards this things is enabling power save which could explain why the something is drawing to much current.
[ 4.859174] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.860867] usbcore: registered new interface driver brcmfmac
[ 4.886273] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[ 5.122111] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip `BCM4345/6`
[ 5.132321] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[ 7.423141] random: crng init done
[ 7.423167] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.476104] uart-pl011 fe201000.serial: no DMA platform data
[ 7.566551] 8021q: 802.1Q VLAN Support v1.8
[ 7.733844] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 7.807371] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled