Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non IT8951 screens incompatible with hifi berry #150

Open
txoof opened this issue Feb 25, 2024 · 1 comment
Open

Non IT8951 screens incompatible with hifi berry #150

txoof opened this issue Feb 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@txoof
Copy link
Owner

txoof commented Feb 25, 2024

Describe the bug
Boards that use gpiozero are incompatible with HiFiBerry due to a pin conflict on GPIO 24 (pin 18). gpiozero stops all sound output.

To Reproduce
Steps to reproduce the behavior:

  1. Start music playing via go-librespot/LMS client
  2. Start paperpi
  3. music stops

Expected behavior
Paperpi should not stop audio

Hardware

  • all non IT8951 screens

Plugin Issues
Impacts librespot and LMS plugins

Additional context
solution is to remap GPIO 24 to any other unused GPIO other than 18-21 (HiFiBerry GPIO pins). This will require patching epdconfig.py in the waveshare library.

@txoof txoof added the bug Something isn't working label Feb 25, 2024
@txoof
Copy link
Owner Author

txoof commented Mar 6, 2024

The solution looks like either monkey-patching the waveshare epdconfig or rewriting it entirely. This is a pretty difficult fix because simply loading the proper waveshare module for a non-IT8951 screen opens a gpiozro GPIO 24 pin and crashes the HiFiBerry sound output in an irrecoverable way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant