I cannot communicate with my arduino because an error with the usb interface.
I am on a raspberrypi400 with kernel
Linux mangia-pi 5.10.31-1-MANJARO-ARM #1 SMP PREEMPT Mon Apr 19 13:28:29 UTC 2021 aarch64 GNU/Linux
My arduino is identified normally by the IDE:
[ 533.434688] usb 1-1.2: new full-speed USB device number 8 using xhci_hcd
[ 533.548098] usb 1-1.2: New USB device found, idVendor=2341, idProduct=0243, bcdDevice= 0.01
[ 533.548123] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 533.548137] usb 1-1.2: Product: Genuino Uno
[ 533.548150] usb 1-1.2: Manufacturer: Arduino LLC (www.arduino.cc)
[ 533.548162] usb 1-1.2: SerialNumber: 755333538373511090D1
[ 533.558879] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[ 550.448837] cdc_acm 1-1.2:1.0: acm_port_activate - usb_submit_urb(ctrl irq) failed
[ 564.449628] usb 1-1.2: USB disconnect, device number 8
[ 566.719419] usb 1-1.3: new full-speed USB device number 9 using xhci_hcd
[ 566.832882] usb 1-1.3: New USB device found, idVendor=2341, idProduct=0243, bcdDevice= 0.01
[ 566.832907] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 566.832920] usb 1-1.3: Product: Genuino Uno
[ 566.832933] usb 1-1.3: Manufacturer: Arduino LLC (www.arduino.cc)
[ 566.832946] usb 1-1.3: SerialNumber: 755333538373511090D1
[ 566.841616] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
but when I try to send the code I have this error in syslog:
Looking at the kernel config there is one that stands out to me that is not enabled. If enabled it might bring in more configs also. Could you check your ubuntu kernel config and see if this is enabled?
That is a much older kernel by @ 32 weeks. It is probably the same but they changed around the name. It is by default enabled in our kernel also. I use the RPi defconfig as a base to build our kernel.
I see the fix in the kernel I pushed yesterday to the unstable branch. Kernel:
linux-rpi4 5.10.33-1
This is likely due to commit 6069e3e927c8 (“USB: cdc-acm: untangle a
circular dependency between callback and softint”) which had a bug that
was just fixed by commit a8b3b519618f (“USB: CDC-ACM: fix
poison/unpoison imbalance”).
It might be a good idea to download and install the same version of the kernel headers package: linux-rpi4-headers
Especially if you build and install packages from the AUR.