Skip to content

feat: add MHS35 script for Kali Linux on Raspberry Pi 5#421

Open
Flo5k5 wants to merge 1 commit intogoodtft:masterfrom
Flo5k5:fix/kali-pi5-compatibility
Open

feat: add MHS35 script for Kali Linux on Raspberry Pi 5#421
Flo5k5 wants to merge 1 commit intogoodtft:masterfrom
Flo5k5:fix/kali-pi5-compatibility

Conversation

@Flo5k5
Copy link

@Flo5k5 Flo5k5 commented Jan 8, 2026

Summary

  • Adds MHS35-show-kali-pi5 script for Kali Linux on Raspberry Pi 5 compatibility
  • Auto-detects boot directory (/boot/firmware/ vs /boot/)
  • Works without raspi-config dependency

Problem

The original MHS35-show script fails on Kali Linux / Pi 5 with errors:

grep: /boot/cmdline.txt: No such file or directory
cp: cannot create regular file '/boot/overlays/': Not a directory
sudo: raspi-config: command not found

Solution

New script that:

  • Detects correct boot partition location
  • Properly installs display overlay
  • Configures touchscreen with evdev driver
  • No raspi-config dependency

Test plan

  • Tested on Raspberry Pi 5
  • Tested on Kali Linux ARM64
  • MHS35 3.5" LCD working after reboot

The original MHS35-show script fails on Kali Linux / Pi 5 due to:
- raspi-config not available on Kali
- Different boot paths (/boot/firmware/ vs /boot/)
- No /etc/rc.local (Kali uses systemd)
- Missing Raspberry Pi OS specific config files

This new script auto-detects the boot directory and works without
raspi-config dependency.

Tested on: Raspberry Pi 5, Kali Linux ARM64, MHS35 3.5" LCD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant