mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 18:36:55 +00:00
Root causes identified and fixed:
1. Wrong device tree overlay
- Was: dtoverlay=hyperpixel4 (rectangular display)
- Now: dtoverlay=hyperpixel2r (round display)
2. LCD init script failure on Bookworm
- Was: RPi.GPIO using lgpio ("GPIO not allocated" errors)
- Now: pigpio library via pigpiod daemon
Changes:
- hyperpixel2r-init: Rewritten to use pigpio instead of RPi.GPIO
- hyperpixel2r-init.service: Added pigpiod dependency
- build-eye-remote-image.sh v1.10.0:
- Added python3-pigpio and pigpio packages
- Fixed overlay name in config.txt
- Removed ,disable-i2c flag
- Added display_default_lcd=1 setting
- Enable pigpiod.service at boot
Tested on hardware:
- GPIO pins correctly set to ALT2 (DPI function)
- ST7701S LCD initialized via software SPI
- Display shows framebuffer content
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
364 B
Desktop File
16 lines
364 B
Desktop File
[Unit]
|
|
Description=HyperPixel 2.1 Round LCD Display Initialization
|
|
# Requires pigpiod for GPIO access (RPi.GPIO/lgpio has allocation issues on Bookworm)
|
|
After=pigpiod.service
|
|
Requires=pigpiod.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/hyperpixel2r-init
|
|
RemainAfterExit=yes
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|