12-26-2019, 11:31 AM
(12-25-2019, 12:47 PM)miro279 Wrote:(12-24-2019, 05:08 PM)wou5er Wrote:(12-24-2019, 03:38 PM)miro279 Wrote: Softvol is not requred to run any GPIO DAC.. Usually all that is needed is i2s and the specific driver for the DAC you use. We thought softvol would be a solution for the problem Open Auto Pros volume silder controlling a channel that is not by default created by the DACs driver. But we failed to set it up for some reason.
If current version of OAP lets you choose which channel is controlled by the volume silder, softvol should not ne needed. Most DACs run with an empty .acsoundrc just fine. It could be a good idea to make the DAC default pcm via .asoundrc though.
I'm just downloading the updated version 5.0. Have to see when have time to test the new setup.
Happy christmas to all!
You got a Hifiberry to? Please let me know if you fixed it!
Just ordered that ugreen rca usb soundcard that will do better cause my creative x fi soundblaster works just fine!
I do have to mention when i edit .asoundrc the speaker in the top bar disappear if i let it empty the speaker show up again with saying that their's no sound. Cant do volume up or down either.. but that i couldn't do before when asoundrc was modified.
No I have a Allo Piano DAC, but it should work the same way..
I updated to latest 5.0 version today and edited /boot/config.txt to use i2s and load the needed driver for my DAC.
After booting and setting up everything I had a hard time to find the file where Audio.MixerName can be set. After I found openauto_system.ini I placed Digital in the respetive line and ist works just fine now!
I think the easyiest way to find the channel you want to use is to start alsamixer und try the silders you find there. Once you found the one thats controlling master volume (in my case "Digital"), just place it in /home/pi/.openauto/config/openauto_system.ini after Audio.MixerName= and thats it.
I also matched .asoundrc to make my DAC default (before it was set to the usb mic). But that is not needed to get it working.
Great work by BlueWave, easy fix!
If your alsamixer or or other components of alsa are not working, its probably a problem of DAC setup and unrelated to OAP. In this case check documentation of your DAC manufacturer how to setup. Is mostly about choosing the right driver for your board, e.g. the stuff after dtoverlay= in config.txt. For Hifiberry the drivers are listed here: https://www.hifiberry.com/docs/software/...ux-3-18-x/
Make sure you choose the right driver from list.
Yeah well i did al steps described as above.. in previous versions it worked just fine but now it doens't in version 5.. didn't tryed v4..
Doing Alsamixer isn't get me any outputs.. and amixer either, i think its the hifiberry cause it only gives me troubles. since i got it.
Because when I edit config.txt to add drivers and edit asound to match the hifiberry.. then doing aplay -l it says the devices is busy or resources are taken... and that happens straight after reboot after setting up drivers..
Tryed with a usb X-FI sound card and everything works just fine as it supposed to do.