-
Notifications
You must be signed in to change notification settings - Fork 50
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
Raspberry Pi 4 HDMI audio modules conflict with loopbacks #4
Comments
you can disable the hdmi dirver in /boot/config.txt |
The HDMI audio needs to be disabled as mentioned in previous comments. I am closing this |
I've commented on this issue elsewhere: https://groups.io/g/BITX20/message/108542 -- you don't have to rely on order of discovery if you use proper names https://groups.io/g/BITX20/message/108485 -- stop using numbers, start using names A fix is IMO pretty easy: Then change /boot/config.txt to not disable HDMI audio (or standard broadcom headphone jack either). Then plug in a USB headset or soundcard dongle, reboot, retest. I'm pretty sure it will all just work based on the testing I did earlier. |
sudo modprobe snd-aloop enable=1,1,1 index=1,2,3
HDMI drivers are loaded at index 1, 2 and loopback at index 3.
Loopbacks are required at index 1, 2, 3.
cat /proc/asound/cards
0 [audioinjectorpi]: audioinjector-p - audioinjector-pi-soundcard
audioinjector-pi-soundcard
1 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
2 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1
3 [Loopback ]: Loopback - Loopback
Loopback 3
This problem can be fixed by adding the loopback driver in /etc/modules-load.d/modules.conf and loopback options in /etc/modprobe.d/alsa.conf
sudo nano /etc/modules-load.d/modules.conf
Add: snd-aloop
sudo nano /etc/modprobe.d/alsa.conf
Add: options snd-aloop index=1,2,3 enable=1,1,1
cat /proc/asound/cards
0 [audioinjectorpi]: audioinjector-p - audioinjector-pi-soundcard
audioinjector-pi-soundcard
1 [Loopback ]: Loopback - Loopback
Loopback 1
2 [Loopback_1 ]: Loopback - Loopback
Loopback 2
3 [Loopback_2 ]: Loopback - Loopback
Loopback 3
4 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
5 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1
The text was updated successfully, but these errors were encountered: