Pi In The Sky

Simply a work area and/or catch-all for miscellaneous Raspberry Pi tips, tricks, tools, tweaks, research or harebrainers - most-likely a mess, but potentially useful to others.  

Sub-Pages 


Earmarked for migration - will see how much of this moves to this site
// whoops!  Lost them!   They were a mess anyhoo ... below  from wayback machine: //  

// I'll re-do benchmarks if/when I ever get a RPI5 // 


Struggles

(Ongoing or Solved Issues/Oddities)

RPI 4 No HDMI Output

 Oct 2021:  First RPI Hardware issue?!  SmartiePi RPI4 board from June 2021 has lost ability to emit HDMI signal.  Runs fine if I SSH into it, but cannot get HDMI output to save my life!   Pi has been used headless for past 6 months or so.  When reconnected to HDMI there is NO signal/output.

22 October:  FIXED!  It was the damn CASE!  NO HDMI cable or adapter would work (and I tested a quite a few!).  Finally removed the case and POOF!  The cable clicked in a nanometer farther and it came right up!   VERY bizarre, RPI 4B was mounted in that case the day it arrived and worked fine right out of the box for months!  I can also see the case is no longer available on Amazon.

Others w/ similar issues

See also:   Kludge for getting HDMI AUDIO working on RaspOS Lite/Bookworm

Pi Power


Mini Project - A tangent while on my quest to build CamperPi that will provide low-power/offgrid entertainment.  I also have a pile of questionable RPi power supplies that need to be weeded through - I keep plugging in bad ones!  THEY NEED TO BE TOSSED!

Jan 2022 - Built a contraption to test cables and PSU's ... I had a mess on my hands!

Built new TesterPi image 

Initial tests:  Ghadzooks, this is interesting!  I knew I had some crappy cables, but many surprises here ... 

 

Unforgettables

(Stuff I should remember but always forget)

Archlinux/Manjaro:  Modifying AUR Package builds for RPI

Ghadzooks, why do I keep forgetting this!?!


To build RPI (4/5) packages from AUR:


Change the arch=() line in the PKGBUILD to include 'aarch64'

Fix Raspbian error:  'InRelease' changed its 'Suite' value from 'testing' to 'oldstable'

I keep digging around for the answer when I run into raspbian package install errors like these:

apt-get install xxxxx returns this

E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/n/ncurses/libncurses5_6.1+20181013-2+deb10u2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

If you do as told and try ...  apt-get update --fix-missing, you get something like this:

Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]

Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]                    

Reading package lists... Done

E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'

N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'

N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

FIX:  sudo apt update --allow-releaseinfo-change

Then on with normal  update/installs .... 

Check for Installable or Installed packages

Find a specific package via apt-cache search <package>

List of ALL installed packages (pipe to grep or page thru) via dpkg -l

SSH:  Remove offending key when a IP is reused

ssh-keygen -R <ip> 

Regular Expression (Regexp) Stuff

Stuff to Research