Argon One install on Manjaro Raspberry Pi 4

in #linux3 years ago

Many moons ago I practised the dark arts of the Linux community and was a disciple of Arch Linux however, after a couple of years I became disenchanted with continually having to fix it or re-install, one of the downsides of using a truly 'Bleeding Edge' distribution. Fast forward a good few years and Manjaro, a fork of Arch Linux, has released an ARM version for the Raspberry Pi 4. Now I've always felt that Arch would run really fast on a Pi and to have that Pi in an Argon case would be like having a double helping of Geek porn rolled into one.

These really are beautiful metal cases, solid and clean with the added bonus that they come with fans which given you can fry an egg on the CPU of the Raspberry Pi 4 is a godsend. Argon40 do have a script for the Raspberry Pi to control the fan and power button but it's specifically written for Rasbian the default Pi OS so I knew I had to hope someone out there had rewritten the code for Manjaro.

There is a package in AUR but I couldn't get it to work. What finally worked for me was a GIT repo maintained by DarkElvenAngel https://gitlab.com/DarkElvenAngel/argononed but before we get carried away and install that you'll need to enable i2c first.

I'm going to assume that like me you ssh into your raspberry pi so this guide will be CLI based. Oh, and I use vim as my editor.

i2c will not be turned on and sadly there is no raspi-config as that is specific to Raspbian so you'll have to delve into the wonderful world of configuring.

sudo vim /boot/config.txt and add the following.
dtparam=i2c_arm=on

Next

sudo vim /etc/modules-load.d/raspberrypi.conf and add the following.
i2c-dev

Now you will need to reboot to get the config and the module loaded.

Once rebooted, you will need to install i2c Tools
sudo pacman -S i2c-tools

Next run
sudo i2cdetect -y 1

You should see something similar to

Now we are ready to install the Argon One Daemon from DarkElevenAngel
git clone https://gitlab.com/DarkElvenAngel/argononed.git

Next cd into argononed (You might need to install dtc sudo pacman -S dtc) and run
./configure && make all && sudo make install

You should be good to go. If you want to make sure everything is OK run
systemctl status argononed.service


"If you don't have enough voting power or crypto to upvote me; reshare me instead. Reshares are worth their weight in gold!"

My actual name is Pete

Find out Here why I have the username dick_turpin.


Find me on Social Media

https://mastodon.org.uk/@dick_turpin
https://twitter.com/dick_turpin
https://www.facebook.com/peter.cannon3

This work is licensed under a Creative Commons Attribution 4.0 International License.
License explained: Examples
Create your license: Choose

Creative Commons Licence


Podcaster. FOSS, Linux & Creative Commons Advocate.
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind."

Sort:  

I am beginning to formulate some theories about what distros say about their users. How close the mark am I?

Ubuntu: Linux n00b. Looked down upon as a casual, barely a step above Windows and Mac plebs.

Mint: maybe a step above Ubuntu? Someone who sees their computer as a workhorse.

Debian: tech hippie FOSS purist who looks down on anyone who sullies their system with anything with license restrictions of any sort.

Gentoo: hipster.

Arch: either a power user, or a poser who wants people to perceive them as a power user.

Scientific Linux: you wear a lab coat as your work uniform.

My Pi is still running Raspberry Pi OS for now, but I do have some plans to revive some old Windows Vista laptops with different lightweight distros and see what works best.

I think you're pretty close with your list.

The community always makes me smile where it's portrayed as a fluffy, inclusive, family when in fact it's an association whose membership is made up of the worst group possible, humans! I know a fair few who wield the sword of "Code of Conduct" like some sort of Joan of Arc and yet break that very same code with impunity.

Arch users used to be the most anal-retentive OS snobs on the planet. A community that was more than willing to eat its own young in the pursuit of elitism:
User: "How do I........?"
Community: "RTFMP!"

I should say, I have no idea if it is still like that anymore by the way.

I erroneously earned a reputation for being a Canonical-nee-Ubuntu hater; nothing could be further from the truth. I think it's a brilliant OS not only for new users but also for those who want something that "Just Works" what I couldn't stand was all the false claims and especially vapourware surrounding it. When I first started using Linux it was very much niche OS really only pursued by geeks, enthusiasts and one or two disenchanted with Microsoft. Some of the initial users gave me the impression that they didn't mind a few people joining in but that it wasn't for everyone, I would watch with stunned amazement as folk would complain "Why are people not moving to Linux and away from that bloatware and broken operating system?" and then with the very next breath "You use Windows? You bastard!" I'm sure every Windows user on the receiving end of a Linux Zealot tirade felt inclined to switch operating system? As the community grew some of shall we say "The Old Gaurd" started to get the hump that the great unwashed were now using it, no longer did you need to be in a LUG to get help. You didn't need to consult the wise old sage of any given project because the Internet is awash with tutorials and guides.

Knowledge is power

Any sort of 'distro wars' are likely to be bad for Linux. Although it's actually everywhere these days most people still don't know it's an option and could do all the average user needs.

LUGs seem to be less of a thing now. I went to one for a while, but it was less active in recent years. There's less need to get a local geek to help get your system working. I'd still like to see what others are up to, but it's mostly online now.

!ENGAGE 25

Thank you for your engagement on this post, you have recieved ENGAGE tokens.

Great description.
I am definitely a Linux nOOb running Ubuntu to get my Hive witness servers working.

I'm starting to get the hang of it.

Can either @jacobtothe or @dickturpin explain why Arch is faster than Ubuntu and why you would go to all this trouble (other than the reasons listed above for Arch).

In a nutshell, because a base Arch install has nothing, that means that all the little hooks and overlays that Ubuntu, for example, implements to ensure you have a nice and easy experience are not there in Arch you add only what you want which is makes it faster. Now that is pretty scary for someone who doesn't know what they're doing which is why the likes of Manajaro came about.

Thanks. So its like the race car version of the family car. With all the niceties striped out to make it go faster.

Yeah, think of it like those kit cars you build yourself. Only need one seat? Want fog lights? Brakes are for wimps!

I use Ubuntu Studio having been using Linux for getting on for 20 years (I think). I don't consider myself a real expert and I am pragmatic about having something that does what I need. I see nothing wrong with easy to use distros if it gets more people away from proprietary operating systems. Canonical have done a good job in that area.

I wish I had more time to delve into the depths of my system. It is actually playing up a bit lately as I don't always get the login prompt, but I can get the system up by other means. I at least know enough to do that.

!ENGAGE 25

Thank you for your engagement on this post, you have recieved ENGAGE tokens.

So does it all work well? I never got into Arch, but used to know some people who used it.

It looks like it. systemctl reports everything is running fine.