I'm using Ubuntu 22.04. I'd like to start using version 2.0 of the Arduino IDE with my Portenta H7.
With version 1.8.19, like @jerteach mentioned in this thread, I was unable to upload sketches to my Portenta without running the IDE from the terminal with sudo privaleges (sudo arduino). Running without sudo resulted in the same dfu-util: Invalid DFU suffix signature... problem as @jerteach mentioned.
I'm currently seeing the same issue when trying to upload from Arduino 2.0 using the AppImage. I'm curious if anyone has any ideas as to how to overcome this.
What I've tried:
Changing the owner of the AppImage to root
Running the AppImage from the terminal with sudo using sudo ./arduino-ide_2.0.0_Linux_64bit.AppImage, which then showed:
[0921/141843.613666:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap
Adding --no-sandbox gives me:
Starting backend process. PID: 158943
[158925:0921/141946.623973:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[158925:0921/141946.624048:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Authorization required, but no authorization protocol specified
[158925:0921/141946.657221:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.665163:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.667622:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.669777:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.671847:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.674091:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.676347:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.698032:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
Authorization required, but no authorization protocol specified
[158925:0921/141946.701023:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=1024
[158925:0921/141946.701036:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap
That's all I've got. So I'm open to other ideas. Thanks in advance.
Since you mention the @jearteach thread, I presume you have already added your user to the appropriate groups, i.e. dialout and plugdev?
Also, check whether the modemmanager service is running. If it is, then stop and disable it.
You may also have to add the UDEV rules - see here:
Look under 'Ubuntu issues troubleshooting' at the end of the page. After adding the rules, you must re-start udev. The simplest way is to just reboot as suggested.
Disconnect the USB cable of your Arduino board to your computer.
Connect the USB cable of your Arduino board to your computer.
Type this command:
dmesg | tail --lines=20
Press Enter
Click and drag the mouse to select all the output in the terminal window.
Press Ctrl+Shift+C.
This will copy the selected text to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
Press Ctrl+V.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
A bit presumptuous to assume I'd prefer to use my (admittedly) unsafe workaround rather than an IDE that works as expected.
I agree that I could have framed the question differently, but since the other thread was left unaddressed by the Arduino team I figured a workaround was my best bet at the moment. I'll reply with the dmesg output later when I'm back at my desk.
Hello there, I have the same problem, and since the author let me post my output:
[24464.583403] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[24464.583405] usb 1-1.2: Product: USB2.0-Serial
[24464.584025] ch341 1-1.2:1.0: ch341-uart converter detected
[24464.585285] usb 1-1.2: ch341-uart converter now attached to ttyUSB0
[24467.592125] usb 1-1.2: USB disconnect, device number 31
[24467.592463] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[24467.592515] ch341 1-1.2:1.0: device disconnected
[24471.021881] usb 1-1.2: new full-speed USB device number 32 using ehci-pci
[24471.135509] usb 1-1.2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[24471.135514] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[24471.135517] usb 1-1.2: Product: USB2.0-Serial
[24471.136090] ch341 1-1.2:1.0: ch341-uart converter detected
[24471.138742] usb 1-1.2: ch341-uart converter now attached to ttyUSB0
[24472.943290] wlp3s0: authenticate with de:3f:99:99:41:b2
[24472.944687] wlp3s0: send auth to de:3f:99:99:41:b2 (try 1/3)
[24472.948246] wlp3s0: authenticated
[24472.953925] wlp3s0: associate with de:3f:99:99:41:b2 (try 1/3)
[24472.966987] wlp3s0: RX AssocResp from de:3f:99:99:41:b2 (capab=0x1431 status=0 aid=3)
[24472.971270] wlp3s0: associated
[24472.996030] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Are you saying that you are encountering a dfu-util: Invalid DFU suffix signature... error while attempting to upload to an Arduino Portenta H7 board using Arduino IDE 2.x?