I am still quite new to Garuda and have searched the post but have not found similar issues to my own.
I have installed Arduino SDK (and dependencies) using GitHub - arduino/Arduino: Arduino IDE 1.x. When I try to launch the SDK, nothing appears to be happening and the software never opens. I have de-installed and re-installed Arduino SDK, Did system updates before and after this, looked for errors, and bounced this machine. No luck so far.
This method of the installation appears to have worked but this happened :
â•â”€jeff@falcon in ~/arduino-1.8.19
╰─λ sudo ./install.sh
[sudo] password for jeff:
Adding desktop shortcut, menu item and file associations for Arduino IDE...
ln: failed to create symbolic link '/usr/local/bin/arduino': File exists
Adding symlink failed. Hope that's OK. If not then rerun as root with sudo.
Could not parse file "/root/.local/share/applications/libinput-gestures-qt.desktop": Invalid key name: Path[$e]
Could not parse file "/root/.local/share/applications/lstopo.desktop": Invalid key name: Path[$e]
Could not parse file "/root/.local/share/applications/qwikaccess.desktop": Invalid key name: Path[$e]
Could not parse file "/root/.local/share/applications/xgps.desktop": Invalid key name: Path[$e]
Could not parse file "/root/.local/share/applications/xgpsspeed.desktop": Invalid key name: Path[$e]
Could not parse file "/root/.local/share/applications/yad-icon-browser.desktop": Invalid key name: Path[$e]
Could not parse file "/root/.local/share/applications/yad-settings.desktop": Invalid key name: Path[$e]
done!
...and now it launches!
But now I am trying to understand why this outputted. Do you think this is something I need to address? I am trying as much as I can to make Garuda my main OS but have a few very important Arduino projects for work and I would really carry on with them using Garuda. When Microsoft started this whole Trusted Platform crap, that did it for me. I think they are acting pompously and arrogantly. No one owns my computer but me and it seems like they are trying to reach into my system and make it their own...
To be honest, I’m not sure what those error messages mean or how problematic they are. The “/usr/local/bin/arduino symlink already exists” message could be related to your previous installation efforts, but I really don’t know.
Judging by this thread from the Arduino forum, it looks like getting this software working properly on Linux can be a bit challenging. One person goes so far as to make this rather critical remark:
This is why you should never use Arduino from a linux package manager, and always download it from Arduino.cc - the versions in the package manager have been altered from the official version, are often out of date, and frequently have problems that are not encountered with the official version.
Yikes.
Despite that, my inclination would be to trust the Arch package over the tarball; the fact that someone put together the ArchWiki documentation indicates that the author spent time troubleshooting and presumably getting it working.
There is a comment in the ArchWiki installation notes that says “You may need to load the cdc_acm module.” Do you know if you have that module loaded or not? (lsmod | grep cdc_acm to check.)
This thread makes it sound like you need to have arduino-avr-core installed for it to work, even though it isn’t listed as a dependency. If this is true, I agree with the comment that this should really be added to the ArchWiki article, but in either case it might be worth a shot. This package appears to pull in a few extra dependencies of its own as well:
sudo pacman -S arduino-avr-core
[sudo] password for jeremy:
resolving dependencies...
looking for conflicting packages...
Packages (9) avr-binutils-2.38-2 avr-gcc-12.1.0-1 avr-libc-2.1.0-1 avrdude-1:7.0-1
confuse-3.3-3 elfutils-0.187-1 libftdi-1.5-4 libusb-compat-0.1.7-1
arduino-avr-core-1.8.3-1
Total Download Size: 29.78 MiB
Total Installed Size: 234.86 MiB
A final consideration would be giving the arduide-git package a shot; it appears to be a Qt-based IDE for Arduino that is available in the AUR (this package would be instead of the normal version).
Thanks Jeremy. And yikes is right! I appreciate the tests on your machine. Thanks!
Well! It seems I get the "red ball" error while checking the status of the cdc_acm module
â•â”€jeff@falcon in ~ took 1ms
╰─λ lsmod | grep cdc_acm
â•â”€jeff@falcon in ~ took 2ms
[[]|[đź”´]] => đź”´ERROR Ă—
And I went for the avr-core
â•â”€jeff@falcon in ~ took 1ms
╰─λ sudo pacman -S arduino-avr-core
[sudo] password for jeff:
resolving dependencies...
looking for conflicting packages...
Packages (3) avrdude-1:7.0-1 elfutils-0.187-1 arduino-avr-core-1.8.3-1
Total Installed Size: 15.78 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
arduino-avr-core-1.8.3-1-any is up to date
elfutils-0.187-1-x86_64 is up to date
avrdude-1:7.0-1-x86_64 is up to date
(3/3) checking keys in keyring [------------------------------------] 100%
(3/3) checking package integrity [------------------------------------] 100%
(3/3) loading package files [------------------------------------] 100%
(3/3) checking for file conflicts [------------------------------------] 100%
(3/3) checking available disk space [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 54
:: Processing package changes...
(1/3) installing elfutils [------------------------------------] 100%
(2/3) installing avrdude [------------------------------------] 100%
(3/3) installing arduino-avr-core [------------------------------------] 100%
:: Running post-transaction hooks...
(1/7) Arming ConditionNeedsUpdate...
(2/7) Refreshing PackageKit...
(3/7) Foreign/AUR package notification
=> No foreign/AUR packages found.
(4/7) Orphaned package notification...
=> No orphans found.
(5/7) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pamac.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
(6/7) Performing snapper post snapshots for the following configurations...
==> root: 55
(7/7) Syncing all file systems...
I tethered up an Arduino Mega board before and after the avr-core packages and dependencies install. Whereas the microcontroller board would not receive my code before the installation, it DID receive the code afterward so that was a very essential package for functionality. I gave it a pretty complex upload with several libraries and everything works! It is driving a 7" capacitive touchscreen, being used as a (PLC Programmable Logic Controller). A good test!
Reading is knowledge
...and knowledge is power
It's a lesson I shouldn't have had to re-learn today. I'll spend some time in the ArchWiki and your link to that thread. Thanks for the spoon-feeding . Thank you for the support, it means quite a lot to me and I'm one hugh step further in these projects.