-
Notifications
You must be signed in to change notification settings - Fork 30
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
pulseaudio on Rpi4, bookworm, 64bit #43
Comments
AudioI'd guess the issue with audio playback is that all instructions/install scripts put stuff in DO NOT EDIT THIS FILE
The file you are looking for has moved to /boot/firmware/config.txt Which is rather unhelpful. I'm reasonably sure you can just add LEDsFor user control of the LEDs you'll eventually be able to use pimoroni/apa102-python#9 That APA102 library (which is what the LEDs on pHAT BEAT are, fundamentally) needs some updates with all the stuff I've learned over the last few months before it's ready for prime time though. ButtonsThese are just regular GPIOs on the following pins:
They're active-low, with a pull-up so you can probably just try the following in
With the expectation that this will make those buttons behave like volume up/down, prev/next, play/pause and stop keyboard media keys. (I haven't tested this!) The event codes header, that serves as a lookup table for the |
Adding
|
I can't believe I'm writing these words, but Are you running the full desktop or Lite flavour of Pi OS? What are you launching to try and get audio playing? |
yeah, I guess I should have read all the way to the right :) No, it's just the Lite version of Pi OS. I'm using it as a headless radio player. I've added some MQTT subscription in the phatbeatd code, so that I could remotely turn on the radio, that's why I don't need the buttons and the LEDs. Let me try to through the desktop onto this machine then |
Do you have any luck running something simple like: |
hm, I guess a little bit of UI didn't help.
|
@bjoernbusch I went into the same errors as you. I tried the easy way and slapped a Pi OS Desktop on the Pi Zero WH. With the usual tweaking of Now I have some issues with |
Hello void,
I know that this is completely unmaintained, but maybe someone is still listening in on this and has some ideas. I really like the phat-beat hat and it's still working fine, but I wanted to upgrade the RaspberryPi underneath for different reasons. I started the old install scripts on a brand new bookworm 64bit.
The phatbeat Python library doesn't properly connect to the board, when doing
phatbeat.set_all(0,128,0,0.1)
it crashes due toI can live without the actual phatbeat LED stuff, I only care about audio output, so I removed the
GPIO.add_event_detect
call from the python library.Now my last hurdle seems to be that pulseaudio can't connect to the actual board.
I guess both the Python issue and the pulseaudio issue are due to some GPIO changes, but here I'm a little but clueless. Any further hints would be appreciated.
Maybe @Gadgetoid, I saw you commenting on these things in the past.
The text was updated successfully, but these errors were encountered: