Jump to content

Recommended Posts

Posted

"starts playing late" means that you missing the first seconds?

on some board the amplifier has to be "started" from the system (because it is using a art of power-save for the sound).

This will take up to 3 seconds where you will get no sound....and the system will shut off the amplifier after some seonds with a small "poff"-sound....

 

I did read about a "switch" in a config-file (like on WiFi powersave) - but I dont know it now from my mind.

Got this also on my OPi Zero....

What I mean is in this thread:

Put the following line at the end of /boot/cmdline.txt

snd-soc-core.pmdown_time=-1

OR
echo -1> /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time 

Maybe that will help you recover the start of your sound?

 

Posted

Hmm there seems something changed:
 

root@opi-zero(192.168.6.99):~# echo -1> /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time
/sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time: 
Permission denied

root@opi-zero(192.168.6.99):~# ls -l /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time
ls: cannot access '/sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time': 
No such file or directory

root@opi-zero(192.168.6.99):~# ls -l /sys/devices/platform/soc/1c22c00.codec/cdc/power
total 0
-rw-r--r-- 1 root root 4096 May 29 19:16 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 29 19:16 control
-r--r--r-- 1 root root 4096 May 29 19:16 runtime_active_time
-r--r--r-- 1 root root 4096 May 29 19:16 runtime_status
-r--r--r-- 1 root root 4096 May 29 19:16 runtime_suspended_time

Maybe we have to set the autosuspend_delay_ms to -1 ?

But also
root@opi-zero(192.168.6.99):~# sudo echo -1 > /sys/devices/platform/soc/1c22c00.codec/cdc/power/autosuspend_delay_ms
echo: write error: Input/output error

Posted
On 5/29/2020 at 7:20 PM, guidol said:

Hmm there seems something changed:
 


root@opi-zero(192.168.6.99):~# echo -1> /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time
/sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time: 
Permission denied

root@opi-zero(192.168.6.99):~# ls -l /sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time
ls: cannot access '/sys/devices/platform/soc/1c22c00.codec/cdc/pmdown_time': 
No such file or directory

root@opi-zero(192.168.6.99):~# ls -l /sys/devices/platform/soc/1c22c00.codec/cdc/power
total 0
-rw-r--r-- 1 root root 4096 May 29 19:16 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 29 19:16 control
-r--r--r-- 1 root root 4096 May 29 19:16 runtime_active_time
-r--r--r-- 1 root root 4096 May 29 19:16 runtime_status
-r--r--r-- 1 root root 4096 May 29 19:16 runtime_suspended_time

Maybe we have to set the autosuspend_delay_ms to -1 ?

But also
root@opi-zero(192.168.6.99):~# sudo echo -1 > /sys/devices/platform/soc/1c22c00.codec/cdc/power/autosuspend_delay_ms
echo: write error: Input/output error

 

Thank you, but these were not the solution.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines