I'm currently using Ubuntu 21.10 64 bit in a VM on QEMU/KVM on RHEL 8.4, system detail at end of post.
I'm work with the ROC audio streamer, which works as expected when I use modprobe snd-aloop
from the command prompt to create the ALSA loopback driver.
However, when I include snd-aloop
in the /etc/modules
instead, I get the following error when calling the aloop from aplay,
aplay -fcd -Dhw:1,1,0 ~/Music/file_example_WAV_10MG.wav
aplay: main:852: audio open error: No such file or directory
The module appears in the lsmod
list when loaded as part of the boot just as it does when loaded using modprobe
.
Any advice appreciated.
Linux VM7 5.13.0-28-generic #31-Ubuntu SMP Thu Jan 13 17:41:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@VM7:/etc/modprobe.d# cat /etc/os-release
PRETTY_NAME="Ubuntu 21.10"
NAME="Ubuntu"
VERSION_ID="21.10"
VERSION="21.10 (Impish Indri)"
VERSION_CODENAME=impish
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=impish
dpkg -l | grep linux-image
ii linux-image-5.13.0-19-generic 5.13.0-19.19 amd64 Signed kernel image generic
ii linux-image-5.13.0-28-generic 5.13.0-28.31 amd64 Signed kernel image generic
ii linux-image-generic-hwe-20.04 5.13.0.28.38 amd64 Generic Linux kernel image