Closed johnyboi003 closed 2 years ago
FYI I've already tried:
output_device = "default";
output_device = "hw:vc4hdmi0"
output_device = "hw:vc4hdmi1"
unfortunatelly no help.
I've run into a similar problem, and I eventually solved it with help from #1300. Specifically, it's the point that you can't use the short names of the alsa devices. Instead, use aplay --list-pcms
to get the full device names for the output_device
.
The one that worked for me was output_device = "hdmi:CARD=vc4hdmi0,DEV=0";
. Notably, the hw
version did not work.
I've also got mixer_control_name = "PCM";
but I'm not sure if that makes a difference. Otherwise I haven't modified the default configuration at all.
Good luck!
@futuraprime, thanks for the solution. As a matter of interest, what version of Raspberry Pi OS are you running?
[Update] Unfortunately, this does not work for me on a Raspberry Pi 3B running 32-bit Bullseye:
Linux RaspberryPi3B 5.10.92-v7+ #1514 SMP Mon Jan 17 17:36:39 GMT 2022 armv7l GNU/Linux
@johnyboi003, this is something that seems to be an issue with new versions of Raspberry Pi OS. The utility sps-alsa-explore, which checks hardware output devices for suitability for Shairport Sync, can not even access the hw:vc4hdm...
devices. A possibility is that these devices need to be connected to the output device (e.g. the TV) and that this device is switched on and enabled to operate. Have you tried that, by any chance?
I installed everything without errors it appears in the name of the raspberry but I don't hear anything. HDMI use of the monitor and raspberry 3B + with OS 11 system (bullseye) who can help me thanks
I've run into a similar problem, and I eventually solved it with help from #1300. Specifically, it's the point that you can't use the short names of the alsa devices. Instead, use
aplay --list-pcms
to get the full device names for theoutput_device
.The one that worked for me was
output_device = "hdmi:CARD=vc4hdmi0,DEV=0";
. Notably, thehw
version did not work.I've also got
mixer_control_name = "PCM";
but I'm not sure if that makes a difference. Otherwise I haven't modified the default configuration at all.Good luck!
This worked for me as well. Setting output_device to hdmi:CARD=vc4hdmi0,DEV=0 and mixer_control-name to PCM. Thanks
@mikebrady Feel free to close the issue.
@johnyboi003, can you say what version of the Operating System you are using, i.e. the result from running:
$ uname -a
please?
Fcourse.
Linux raspberrypi-noc 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux
Super, thanks.
Sorry I didn’t understand I have an sorry question if stupid.
I have to remove these \ to get the option, because if I change my name but don’t remove them it doesn’t work.
Sorry I didn’t understand I have an sorry question if stupid.
I have to remove these \ to get the option, because if I change my name but don’t remove them it doesn’t work.
If I understand your question correctly, yes, you must remove the //
from a setting to enable it to work.
Linux raspberrypi 5.10.92-v7+ #1514 SMP Mon Jan 17 17:36:39 GMT 2022 armv7l GNU/Linux it's same ?
See also #1463.