Page 1 of 1
Nano Pi Neo Core / Core 2 audio clicks
Posted: Thu Jun 14, 2018 6:23 am
by nvn
I have two nano Pi Neo Core boards and one Nano Pi Neo Core 2 Board. On all boards there is a glitch. When I play the audio file at the beginning and at the end, I hear a click. I think it's because of the DAC's on / off switch. Also, at the beginning of playback, the initial sound is lost for about one second.
I use for example:
"aplay audio.wav"

How to make the DAC never turned off?
Re: Nano Pi Neo Core / Core 2 audio clicks
Posted: Mon Oct 15, 2018 4:08 pm
by slentz5678
Here is what I did. Installed pulseaudio,
sudo apt-get install pulseaudio
then:
sudo nano /etc/pulse/default.pa
comment out near the bottom:
#load-module module-suspend-on-idle
then update at the bottom:
### Make some devices default
set-default-sink 2
set-default-source 2
then:
sudo nano /etc/pulse/system.pa
and comment out near the bottom
#load-module module-suspend-on-idle
finally
rm -Rf ~/.config/pulse
sudo reboot
Re: Nano Pi Neo Core / Core 2 audio clicks
Posted: Tue Oct 16, 2018 5:05 pm
by slentz5678
If you don't want pulse, I found this:
https://forum.armbian.com/topic/4230-po ... ne-kernel/which lead me to doing this:
sudo chmod 777 /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time
sudo echo -1 > /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time
to make permanent:
sudo nano /etc/rc.local
paste in:
echo -1 > /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time
Re: Nano Pi Neo Core / Core 2 audio clicks
Posted: Fri Nov 02, 2018 9:15 am
by nvn
Hi, dear friend!!!
Thanks you for answer, it is solv my problem!!!