Hello!I'm currently experimenting with the Evaluation Board RZ/G2UL and have encountered some issues with the audio functionality.Here's my setup: I've connected a headset to the "Microphone in" and "Headphone out" jacks, and I've installed the RZ/G Verified Linux Package Version 3.0.3, which was built with Yocto. I've also added the pulseaudio recipe.My problem is that when I use the aplay command to play an wav audio file, I only get white noise as output.The used command was:$> aplay -D default:CARD=rzssidaiwm8978h --channel=1 ~/test.wavHere is some alsa background information:$> aplay -Lnull Discard all samples (playback) or generate zero samples (capture)default:CARD=rzssidaiwm8978h rz-ssi-dai-wm8978-hifi, Default Audio Devicesysdefault:CARD=rzssidaiwm8978h rz-ssi-dai-wm8978-hifi, Default Audio DeviceAfter running the aplay command, the white noise persists and a reboot is usually necessary to fix the issue.However, I've discovered something interesting: if I start pulseaudio, I am able to play the audio file using paplay:$> paplay -d alsa_output.platform-sound.analog-stereo ~/.baresip/sounds/error.wavIn order to make paplay work, I had to adjust the alsamixer settings as follows:amixer sset 'Headphone' 100 onamixer sset 'Speaker' 100 onamixer sset 'PCM' 1000 onUnfortunately, I haven't been able to get the microphone working. My approach was to try it with alsa record:arecord -D default:CARD=rzssidaiwm8978h --channel=2 --format=S16_LE --rate=48000 test1.wavI've also tried adjusting the alsamixer capture settings, but without any success. parecord also doesn't produce any useful output.Has anyone else experienced this issue and found a solution?
Thank you in advance!
arecord -D hw:0,0 -t wav -d 5 -c 2 -r 44100 -f S16_LE /tmp/test.wav
Thank you for your reply! Unfortunately the same behaviour.Here is the output test.wav:I have checked the alsamixer capture settings and played a bit with these settings (e.g. set them to a high value). It seems like it records something, but the signal is very weak. I have also tried a different microphone, same behavior.
amixer cset name='Headphone Playback Volume' 100 > /dev/null 2>&1 amixer cset name='PCM Volume' 100% > /dev/null 2>&1 amixer cset name='Input PGA Volume' 100 > /dev/null 2>&1 amixer cset name='L2/R2 Boost Volume' 100 > /dev/null 2>&1
Again, this leads to only very slight changes. Maybe there is a bug in the kernel driver?
No bug, this feature is tested during the board production.