Raspberry Pi2 Screen issues

This summary captures the "perfect storm" of hardware and software conflicts you are facing. It is designed to be shared with developers or used as a reference for future troubleshooting.

1. Hardware Inventory

2. Software Environment

3. The Core Problem: "The Legacy Gap"

The fundamental issue is that 2015 hardware is trying to communicate with a 2025 operating system.


4. Technical Facts for Future Reference

Fact Detail
Confirmed Working OS Raspbian Jessie (Legacy Kernel 4.x).
Fail Symptom Persistent White Screen (Backlight on, logic off).
Key Error Message lgpio.error: 'GPIO not allocated' or ImportError for legacy bitbang classes.
Incompatibility Modern vc4-kms-v3d graphics driver conflicts with SPI GPIO access.
Bus Speed Limit Shift registers typically fail above 1MHz to 2MHz on modern Pi hardware.
Pin Mapping (BCM) DC=9, RST=22, MOSI=10, SCK=11, CS=8.

If the "Zero Feed-in" automation is the priority, these are the only viable ways to view your data:

  1. The Web Dashboard: Since you are on a Pi 2, running a lightweight Flask web server allows you to see the status on your phone or laptop without using any GPIO pins for display.

  2. HDMI Status Screen: Since you have the "Desktop" version of Trixie, you can auto-launch a full-screen Python/Tkinter window on your HDMI monitor to show the power stats.

  3. Hardware Upgrade: Replace the 2015 KeDei with a modern I2C OLED (SSD1306) or a Waveshare SPI display that has native driver support in the 2025 Linux kernel.

Would you like me to help you set up the "Auto-Launching HDMI Dashboard" since you already have the Raspberry Pi Desktop environment running?


Revision #1
Created 2025-12-23 17:16:57 UTC by Max
Updated 2025-12-23 17:17:19 UTC by Max