Open bjoernbusch opened 2 years ago
I had a similar problem, and in my case installing wiringpi (see http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/) manually solved it, then I was downloading the installer for phatbeat curl get.pimoroni.com/phatbeat >setup.sh
; modified it similarly as below, to get the audio output running and the VU-meter.
If you want to use the vlc-radio project, then it may be required to check out the repository and modify setup.sh
#...
raspbian_check() {
IS_SUPPORTED=false
IS_EXPERIMENTAL=false
if [ -f /etc/os-release ]; then
if cat /etc/os-release | grep -q "/sid"; then
IS_SUPPORTED=false && IS_EXPERIMENTAL=true
elif cat /etc/os-release | grep -q "bullseye"; then # <-- added
IS_SUPPORTED=true && IS_EXPERIMENTAL=false # <-- added
pkgdeplist=${pkgdeplist_buster[@]} # <-- added
elif cat /etc/os-release | grep -q "buster"; then
IS_SUPPORTED=true && IS_EXPERIMENTAL=false
pkgdeplist=${pkgdeplist_buster[@]}
elif cat /etc/os-release | grep -q "stretch"; then
IS_SUPPORTED=false && IS_EXPERIMENTAL=true
elif cat /etc/os-release | grep -q "jessie"; then
IS_SUPPORTED=true && IS_EXPERIMENTAL=false
elif cat /etc/os-release | grep -q "wheezy"; then
IS_SUPPORTED=true && IS_EXPERIMENTAL=false
else
IS_SUPPORTED=false && IS_EXPERIMENTAL=false
fi
fi
}
#...
and run this created setup.sh to install the VLC-radio.
best Steve
// if time allows, I may create a pull request, however the dependency of the wiringpi package must be added in the get.pimoroni.com/phatbeat
script, which I found here https://github.com/pimoroni/get/blob/master/installers/phatbeat
The WiringPi dependency comes from the VU meter which I have a formative project to replace completely. If/when I solve all the many problems with it :grimacing: - https://github.com/pimoroni/pivumeter-pulseaudio/issues/1
It's unlikely WiringPi will return to Bullseye- we'll have to see what the maintainers of the fork think.
Should be possible to sideload it with the installer, but that's a little... ugh...
Hi,
I had to rebuild my Pirate Audio sd card this week after a failure, had a couple of false starts before I found this issue...
Although a manual install of WiringPi is iky it may be the way to go while your alternative takes shape, even if you don't update the installer and just make reference to it in the docs, either that or advise using PiOS Legacy edition .
I ended up only installing the vlc-radio project, which is all I actually wanted.
Looks like this is doubly broken by Bullseye 64bit, which does not support the base armhf WiringPi package. Worse still it prompts a dependency on libc6:armhf. I'm working on making .deb files available for arm64/armhf but it's a process.
WiringPi debs for 2.61-1 on armhf and arm64 - https://github.com/WiringPi/WiringPi/releases/tag/2.61-1
I tried to install this on the latest bullseye release, but there wiringpi is deprecated, thus the installation fails. Is there any hint on how to overcome this?
Thanks!