AirPlayer ARM - using GPIO on Pi 4
Posted: Tue Aug 08, 2023 1:20 pm
Just wondering if anyone has worked through a similar issue. I've got AirPlayer ARM running on a RPi 4. As I understand it, as the video is via HDMI, I should be able to utilize the GPIO of the Pi to connect to a rotary encoder. I put a current version of the raspberry pi linux distribution on the microsd card. Downloaded and installed AirPlayer. Set it to autostart as per the instructions. Here is where things start to go sideways. As per the wiki, you need to run bootloader as root in order to use GPIO.
So when I sudo ./Bootloader from the AirPlayer directory, it runs...but gives an error message (and the encoder doesn't work).
I have installed AirPlayer into the default account that the pi setup program configures for me when I first ran the stock distribution. Should I have instead configured the Pi to boot as root and downloaded and installed AirPlayer into the root account?
Either way, I'm having trouble getting GPIO to work with AirPlayer ARM on an RP 4. If anyone has any suggestions, that would be greatly appreciated.
So when I sudo ./Bootloader from the AirPlayer directory, it runs...but gives an error message (and the encoder doesn't work).
I have installed AirPlayer into the default account that the pi setup program configures for me when I first ran the stock distribution. Should I have instead configured the Pi to boot as root and downloaded and installed AirPlayer into the root account?
Either way, I'm having trouble getting GPIO to work with AirPlayer ARM on an RP 4. If anyone has any suggestions, that would be greatly appreciated.