Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4863

Troubleshooting • Need Audio when Monitor is Reconnected

$
0
0
Hi!
Have a Raspberry Pi 4 running Bookworm; the monitor is on an HDMI switch so sometimes the monitor is ‘missing’ (temporarily headless). I have configured so the Pi will display the monitor properly when reconnected but haven’t figured out how to force the audio to HDMI, if the monitor is not present the only option I have is the AV Jack. Appended to /boot/firmware/cmdline.txt is

Code:

vc4.force_hotplug=1 video=HDMI-A-1:1600x900@60 audio=HDMI-A-1:vc4hdmi0
The ‘hotplug’ and ‘video=’ statements work for keeping the monitor connected; the ‘audio=’ one is sort of a guess based on the video one and the output from ‘aplay -L | grep sysdefault’.
I did see this thread: viewtopic.php?t=368491 . I don’t have a /lib/firmware/elu2p.bin ….
So what I would like to do is have audio in addition to the current video when I switch the monitor to that Pi. I would also be happy with a little command line I could use to toggle on the HDMI audio rather than rebooting
Thanks!
Barry

Statistics: Posted by Barry_IA — Mon Dec 23, 2024 1:05 am



Viewing all articles
Browse latest Browse all 4863

Trending Articles