audio not working on 3.5mm audio jack, raspberry pi 2, running debian 10 and 11
MaiaBlanco opened this issue · 1 comments
I spent some time trying to figure this issue out after borking my previous working install on an older version of raspberry pi os (debian 10 or older).
I'm running this on a raspberry pi 2 B with a USB bluetooth dongle. Kernel version 5.10.63-v7+ (uname -r).
The issue I ran into appears to apply on both the debian 10 and debian 11 versions of raspberry pi OS with the debian 10 branch and main branches of this project, respectively. However, I have only verified a solution for debian 10.
The issue that I observed is that while I can run alsabat-test and get audio output on the 3.5mm audio jack, playback from rpi-audio-receiver over bluetooth would either sound extremely distorted or not play at all.
It seems that this may have something to do with newer linux kernels on the raspberry pi. At any rate, I that creating /etc/asound.conf with two lines to explicitly tell alsa to use the 3.5mm jack as default output has made things work. The two lines to put in that conf are:
defaults.pcm.card 1
defaults.ctl.card 1
If you have a different audio device you're trying to use, follow the instructions in the forum post's solution for "issue #1".
Suggestions for the project:
Perhaps this can be added to the documentation (if anyone else can repro the issue), or otherwise /etc/asound.conf could be created by the install script to ensure proper audio device output.
References:
https://forums.raspberrypi.com/viewtopic.php?t=322905
I checked the docs and this information is already available. My mistake for not seeing it earlier!
Anyone with the issue I faced can reference the issue writeup above and the docs here: https://github.com/nicokaiser/rpi-audio-receiver/wiki/Audio-configuration
Closing issue. Thanks for maintaining this awesome project!