Sunday, February 23, 2025

Hackberry Pi

The Hackberry Pi is a handheld Linux terminal similar to the Clockworkpi uConsole. Its key feature is it uses left over keyboard stock from the old Blackberry phones of yesteryear.

Both devices are available from Tindie;

Hackberry Pi Zero

Hackberry Pi 5

You can read my comparison to the uConsole here, and here are 10 things to do after you get your Hackberry Pi 5.

The Hackberry Pi currently comes in two flavors, one based on the Raspberry Pi Zero 2 W (RPi 0) and one based on the Raspberry Pi 5 (RPi 5). Both devices have a 4" 720x720 screen, both have a battery life of 2-3 hours depending on what you are doing with it and both cost roughly the same, before you purchase the Rasperry Pi you need to power it.

The RPi 0 version is a rather limited device, primarily because the RPi 0 is a limited device. It has 512 MB of RAM and runs at 1 Ghz. You can run a desktop environment (DE) on it, but you will not be happy with the performance of some application like Firefox, Chrome or well anything more complicated then a text editor or calculator. The RPi 0 was not designed to be a desktop computer, it was designed to be a hopped up micro controller, so it does not do well in this area. However, if you are a command line junkie, this limitation will not bother you in the slightest.

There are plenty of reasonably good replacements for GUI applications that run in text mode. Alpine and W3m for email and web browsing, cmus and mpv for playing music and videos, and wordgrinder, sc and tpp replace LibreOffice (mostly? I guess). While you will find these applications limited compared to their GUI counter parts and the learning curve a bit annoying, once you get use to them, they are usable and have a certain minimalist appeal to them.

The biggest problem I had with the RPi 0 version is the wireless does not work well. This is because the front cover is made of aluminum and blocks the signal. It seems some people have better luck than others, I tried two different RPi 0's in mine and both could connect to my router, but neither could actually communicate with it in any meaningful manner. I had several USB wifi dongles laying around and I just plugged one of those in to solve the problem.

Edit: I did eventually get the on board WiFi working. I wish I could tell you how I did it, but I cannot, it just started working one day.

The RPi 5 version is a much more usable device, depending on what RPi 5 you buy. If you get the 4 GB version, you will want to stick with a light DE and stay away from Gnome or KDE. If you get an 8 GB or 16 GB RPI 5, you can pretty much do anything you want with it. I bought the 8 GB version and it has handled everything I have thrown at it so far.

The big, I do mean big, advantage the RPi 5 version has over the RPi 0 version and the uConsole for that matter, is the PCIE connector on the board. The designer of this device left room to mount a M.2 hat on the RPi 5 that provides access to the PCIE connector. It just so happens Waveshare makes such a hat. This hat not only provides an M.2 slot, it also provides active cooling to the RPi 5, something it really needs. You can mount just about any 2242 / 2230 M.2 card into it, like a fancy A.I. accelerator, but we all know the primary use case is mounting an NVME SSD card to it. SSD storage is faster and more reliable than an SD card. This by itself, makes this the stand out product among hand held terminals.

I only really had one issue with this device, when I first put it together I couldn't get video to save my life. As an assembly tip for those who have not purchased one yet, if you assemble it and don't get video after waiting 5-10 minutes, chances are good you didn't line up the GPIO contacts properly. Remove the cover to the RPi 5 and remove the standoff screws. If you did not remove the piece of plastic that came inside the case, take it out now and throw it away. Now place the Raspberry RPi 5 back in and put the bottom left stand off screw in first, it is the one closest to the GPIO pogo pins, tighten it down and then back it off 1 or 2 turns. Then put in the right stand off screw, tighten it down and then back it off 1 or 2 turns. The Raspberry Pi 5 should have just a little bit of wiggle, move it around until you feel the pogo pins snap into place, you should feel it click. Then tighten both screws down and put in the top two screws and tighten them down. Put the cover back on and try to boot it up again, you should get video.

Both of these devices share the same keyboard and I do need to talk about it. The keyboards take some getting use to, not just because they are hideously small, but because the keyboard is a challenge to use. It takes time to figure things out and learn all key combinations needed to do even basic typing. I can see how this keyboard was considered innovative back in the early 2000's, but there is a good reason why they were replaced, they are awkward to use. Part of the issue was, I am Gen X and did not grow up thumb typing like the younger generations did. I have adapted to it, though it has been a struggle.

Overall, if you are considering the purchase of one of these devices, I would go with the RPi 5 version, as a real functioning tool, it is the better choice. The RPi 0 version is really not much more than a command line junky toy. The RPi 0 version does not do anything the RPi 5 doesn't do better and its not that much cheaper. It's only advantage is it is smaller and lighter, and it will actually fit in your pocket.

Friday, February 14, 2025

Eulogy for my Brother

We have known my Brother was dying for about 6 months now. He had ALS and although he had just been officially diagnosed, he had the symptoms for quit some time. His decline over the last 6 months has been very rapid.

Before my Brother died, I kind of assumed it would not affect me much, I mean we were not close in any meaningful way. We had not talked much in decades and even when we did, our conversations tended to be shallow and I hate to say it, but uninteresting. Neither of us made any effort to change that, even in the last months of his life.

However, I find that is not the case at all. Even though we not been close since we were teenagers, there was a time when we were. We grew up together, we did things together, we had adventures together and we even had many of the same friends. When I say that, I of course mean, he and his friends let me hang around them sometimes.

You know he was the one who taught me to play chess. I remember the first time I beat him, how happy I was. Incidentally, that was also the last game we ever played, LOL, yes, I think that is funny.

My Brother taught me to drive, actually both of my Brothers were tasked with teaching me to drive. My Mother had taught them to drive and her revenge for that was they had to teach me. However, my older Bother was out of the house by then and so the majority of the teaching was done by the middle son. I cannot say whether or not he was a good teacher or not, but I did manage to learn to drive and eventually get my license with out killing anyone, so I am sure he considered that a win.

I also remember a conversation we once had about the turn of century, he said we would live to see the 21st century and that I would only be 38 years old. Of course being in the 4th grade at the time, that seemed an impossible amount of time in the future. Of course I started to imagine flying cars and jet packs, I am still disappointed about that by the way.

When I discovered my inner dialog, I thought everyone could hear it as well, it was my Brother who explained to me that that was not the case, I was probably 4 at the time.

I think I will miss him.

Tuesday, February 11, 2025

My Brother died today

 I am at that point in my life where people start dying around me. My Father died 15 years ago, but that was a small bump, I never really had a relationship with him, so it did not matter much to me. I know my Mother does not have many if any years left and of course I have lost grandparents and such as well, but it is weird and eye opening when someone you grew up with and is only a couple of years older dies.

Friday, January 31, 2025

NixOS

Last month I talked about GUIX and how much I disliked it. This month a took swing at NixOS, which is the Linux distro GUIX is based on. NixOS is a much more polished distribution of Linux than GUIX ever was or probably will be. NixOS brings a decent graphical installer to help you get through the basic install and once you are in, you then have access to the packaging and configuration system.

The packaging and configuration system is really where GUIX was supposed to shine, but I never got to the point where it was useful to me. NixOS on the other hand, did the tedious stuff for me, which is what an installer should be doing.

Everything about packaging and configuration is kept in the /etc/configuration.nix file which can be edited easily to add or remove functions or programs. Then once you have the file setup the way you like it, you can then take this file to a fresh install of NixOS and use it to reproduce your setup. The first thing you will probably want to do is break out the packages you want installed into a separate packages.nix file to keep you configuration file from becoming unwieldy. If you have more than 3 or 4 users, you probably want to break that out into a different file as well. This will help keep your configuration.nix file short and manageable.

Honestly, this is how GUIX should have been done. Since GUIX is a newer spin on NixOS, there is no reason why it should not have been better. I still prefer Debian, I certainly am not switching to NixOS. Because of the way it handles packages and maintains backup of old configurations, it eats hard drive space, which is fine if you have a couple of terabytes of storage, but not so good if you are using an old laptop with 512 GB or less of storage. On top of that, the good things about NixOS can be done with any other distribution by simply writing a shell script and running it after an install. So this does not really bring much to the table.

Mastodon