HEX
Server: Apache
System: Linux vpshost0650.publiccloud.com.br 4.4.79-grsec-1.lc.x86_64 #1 SMP Wed Aug 2 14:18:21 -03 2017 x86_64
User: bandeirantesbomb3 (10068)
PHP: 8.0.7
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/share/alsa/cards/pistachio-card.conf
#
# Configuration for the pistachio chip.
#
# The data sheet of the chip and technical reference manual can be 
found at 
https://docs.creatordev.io/ci40/guides/hardwaredocs/cXT200_datasheet2.p
df # and 
https://docs.creatordev.io/ci40/guides/hardwaredocs/MIPS_Creator_cXT200_Technical_Reference_Manual_1.0.112.pdf.
#
# The list of hardware devices is as per below:
#
#  root@OpenWrt:/# arecord -l
# **** List of CAPTURE Hardware Devices **** card 0: pistachiocard [pistachio-card], device 1: pistachio-spdif-in snd-soc-dummy-dai-1 []
#   Subdevices: 1/1
#   Subdevice #0: subdevice #0
# card 0: pistachiocard [pistachio-card], device 4: pistachio-i2s-in-0 snd-soc-dummy-dai-4 []
#   Subdevices: 1/1
#   Subdevice #0: subdevice #0
#
# root@OpenWrt:/# aplay -l
# **** List of PLAYBACK Hardware Devices **** card 0: pistachiocard [pistachio-card], device 0: pistachio-spdif-out snd-soc-dummy-dai-0 []
#   Subdevices: 1/1
#   Subdevice #0: subdevice #0
# card 0: pistachiocard [pistachio-card], device 2: pistachio-parallel-out pistachio_internal_dac-2 []
#   Subdevices: 1/1
#   Subdevice #0: subdevice #0
# card 0: pistachiocard [pistachio-card], device 3: pistachio-i2s-out snd-soc-dummy-dai-3 []
#   Subdevices: 1/1
#   Subdevice #0: subdevice #0
#

pistachio-card.pcm.default{
        @args [ CARD ]
        @args.CARD {
                type string
                default "pistachio"
        }
        @args.DEVICE {
                type integer
                default 2
        }

        type asym
        capture.pcm {
                type multi
                slaves.a.pcm "hw:0,4"
                slaves.a.channels 12
                bindings.0.slave a
                bindings.0.channel 4
                bindings.1.slave a
                bindings.1.channel 5
        }

        playback.pcm {
                type hw
                card $CARD
                device $DEVICE