Skip to content
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

Support for Bullseye? #84

Open
lacojim opened this issue Feb 22, 2023 · 10 comments
Open

Support for Bullseye? #84

lacojim opened this issue Feb 22, 2023 · 10 comments

Comments

@lacojim
Copy link

lacojim commented Feb 22, 2023

I just installed Bullseye on my RPi3 and I cannot get this card/hat to be recognized. I have two, and I have tried them both. I bought both of these a few years ago, but this is my first attempt to actually use one of them. I have commented out the line in /boot/config.txt:
dtparam=audio=on
and added:
dtoverlay=audioinjector-wm8731-audio

aplay -l shows no sound devices. Any ideas or is this newer OS simply not supported?

Odd thing, the kernel module is loaded for this hat.
snd_soc_core 253952 2 snd_soc_bcm2835_i2s,snd_soc_audioinjector_pi_soundcard
snd_pcm 118784 6 snd_compress,snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core,snd_soc_audioinjector_pi_soundcard

However, nowhere to be found on the system is snd_soc_wm8731 which I believe should be there and loaded.

@nls-GitHub
Copy link

nls-GitHub commented Feb 22, 2023 via email

@lacojim
Copy link
Author

lacojim commented Feb 23, 2023

Thanks for the reply. I do have it showing up now with #aplay -l, just have not been able to get any sound from it. I will try installing PA and see if that helps. Would prefer Pipewire, but it's such an old version.

@nls-GitHub
Copy link

nls-GitHub commented Feb 23, 2023 via email

@lacojim
Copy link
Author

lacojim commented Feb 23, 2023

I have installed Pulseaudio and still cannot make any sound even though the device DOES show up in Pulse mixer. I threw in the towel and ordered a 384khz DAC audiophile card. Hopefully this one will work better. Thanks!

@flatmax
Copy link
Contributor

flatmax commented Feb 23, 2023

did you enable the output HIFI mixer ? Assuming you have the card setup as hw:0 you can do the following ...

amixer -Dhw:0 set 'Output Mixer HiFi' 'on'

@lacojim
Copy link
Author

lacojim commented Feb 23, 2023

Interesting. I did not do this. Thanks for the tip. I will give this a shot in the morning. Card0 is the built-in HDMI and Card1 is the AudioInjector. So I should be able to use -Dhw:1 instead of hw:0. This is on the Rpi 3B+ BTW. I have a Rpi4 which I may switch to at some point.

@nls-GitHub
Copy link

nls-GitHub commented Feb 24, 2023 via email

@lacojim
Copy link
Author

lacojim commented Feb 25, 2023

I installed Volumio OS and followed the instructions for this particular card/hat. Still no sound. Then I found a small snippet that mentioned Pulseaudio needs to be removed. So I did, and voila! It worked! The new card will be here tomorrow (Saturday) so we'll see how this one works as well. It's not an AudioInjector card, but I can certainly use more than one DAC in the household so a nice added addition hopefully.

@lacojim
Copy link
Author

lacojim commented Feb 26, 2023

I have two AudioInjectors running Volumio now, and one Inno device. All sound pretty darn good. The three rooms are nothing alike, so nothing scientific. Each sounds different according to the room, speakers and amps involved. My main system and most used is in the garage, a Rpi3 running through a vintage Pioneer SX-780 amp with the Inno card with DYI speakers. The second one is running in the Livingroom with an AudioInjector also on a Rpi3 into a Onkyo TX-NR609 amp with bookshelf speakers plus subwoofer. The third system is also an AudioInjector on Rpi4 running the bedroom speakers. Dayton Audio tube amp. All sound pretty darn good.

All good now. Thank you both for the help and advice. Very much appreciated.

@lukexi
Copy link

lukexi commented Nov 6, 2023

I had the AudioInjector board working on a Pi 3B+ and later switched to a Pi 4, both with Bullseye. The one difference that I found with the Pi4 install is that I now have to use sudo with the aplay or arecord commands, but other than that, there are no issues. Board shows up in raspi-config also. I have disabled the HDMI audio by modifying "dtoverlay=vc4-kms-v3d,noaudio".

To fix needing sudo, you can add the pi user to the audio group with sudo adduser pi audio. Log out and log back in and you should be able to use aplay and arecord without sudo!

(also can confirm audioinjector is working great here on Bullseye / kernel 6+ on a Pi Zero W original)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants