Tried uploading a sketch from the RPI4 running Aduino IDE 2.2.1 (OS Ubuntu 22.04.03) and fails with the following error:
Sketch uses 158996 bytes (8%) of program storage space. Maximum is 1966080 bytes.
Global variables use 49536 bytes (9%) of dynamic memory, leaving 474088 bytes for local variables. Maximum is 523624 bytes.
dfu-util 0.10-dev
dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Cannot open DFU device 2341:0366 found on devnum 16 (LIBUSB_ERROR_ACCESS)
dfu-util: No DFU capable USB device available
Failed uploading: uploading error: exit status 74