Tinkerboard + xmos 2.0 usb dac issue

Hello everybody,

I tried to connect my dac with xmos usb audio 2.0.
I tried any set is possible, with mixer type.
No sucess.
The dac switch everytime between 44K, 176k, 192k without music
The DAC gives music with Windows 10 usb connect.

Somebody has an idea ?

Volumio Information

Volumio Version: 2.9 et 3.114>
Hardware: Tinkerboard S
DAC: TotalDac D1-core

I attach the details below of volumio state in version 2.9 and version 3.114

Volumio 2.9

uname -a

volumio@volumio:/$ uname -a
Linux volumio 4.4.71+ #23 SMP Sun Sep 20 12:23:26 CEST 2020 armv7l GNU/Linux
volumio@volumio:/$

lsusb -t

volumio@volumio:/$ lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 4, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 5, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 255, Class=Human Interface Device, Driver=usbhid, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
    |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 4: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 4: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 4: Dev 4, If 3, Class=Application Specific Interface, Driver=, 480M
volumio@volumio:/$

aplay -l

volumio@volumio:/$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchipminiarm [rockchip,miniarm-codec], device 0: ff890000.i2s-i2s-hifi i2s-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: OnBoard [USB Audio OnBoard], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: OnBoard [USB Audio OnBoard], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: OnBoard [USB Audio OnBoard], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 5: X20 [XMOS USB Audio 2.0], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
volumio@volumio:/$

cat etc/mpd.conf

volumio@volumio:/$ cat etc/mpd.conf
# Volumio MPD Configuration File

# Files and directories #######################################################
music_directory         "/var/lib/mpd/music"
playlist_directory              "/var/lib/mpd/playlists"
db_file                 "/var/lib/mpd/tag_cache"
log_file                        "/var/log/mpd.log"
#pid_file                       "/var/run/mpd/pid"
#state_file                     "/var/lib/mpd/state"
#sticker_file                   "/var/lib/mpd/sticker.sql"
###############################################################################

# General music daemon options ################################################
user                            "mpd"
group                          "audio"
bind_to_address         "any"
#port                           "6600"
#log_level                      "default"
gapless_mp3_playback                    "no"
#save_absolute_paths_in_playlists       "no"
#metadata_to_use        "artist,album,title,track,name,genre,date,composer,performer,disc"
auto_update    "yes"
#auto_update_depth "3"
###############################################################################
# Symbolic link behavior ######################################################
follow_outside_symlinks "yes"
follow_inside_symlinks          "yes"
###############################################################################
# Input #######################################################################
#
input {
        plugin "curl"
#       proxy "proxy.isp.com:8080"
#       proxy_user "user"
#       proxy_password "password"
}
###############################################################################

# Decoder ################################################################





###############################################################################

# Audio Output ################################################################

resampler {
                plugin "soxr"
                quality "high"
                threads "0"
}

audio_output {
                type            "alsa"
                name            "alsa"
                device          "hw:5,0"
                dop                     "yes"




}





audio_output {
    type            "fifo"
    enabled         "no"
    name            "multiroom"
    path            "/tmp/snapfifo"
    format          "44100:16:2"
}

#replaygain                     "album"
#replaygain_preamp              "0"
volume_normalization            "no"
###############################################################################

# MPD Internal Buffering ######################################################
audio_buffer_size               "12288"
buffer_before_play              "30%"
###############################################################################


# Resource Limitations ########################################################
#connection_timeout             "60"
max_connections                 "20"
max_playlist_length             "81920"
max_command_list_size           "81920"
max_output_buffer_size          "81920"
###############################################################################

# Character Encoding ##########################################################
filesystem_charset              "UTF-8"
id3v1_encoding                  "UTF-8"
###############################################################################
volumio@volumio:/$

cat /var/log/mpd.log

volumio@volumio:/$ cat /var/log/mpd.log
Oct 27 13:16 : zeroconf: No global port, disabling zeroconf
Oct 27 13:16 : exception: Failed to register /var/lib/mpd/music/USB/volumio: inotify_add_watch() has failed: Permission denied
Oct 27 13:16 : client: [0] opened from local
Oct 27 13:16 : exception: Failed to read mixer for 'alsa': no such mixer control: PCM
Oct 27 13:16 : client: [1] opened from local
Oct 27 13:16 : client: [0] closed
Oct 27 13:16 : client: [1] closed
Oct 27 13:16 : ffmpeg/dca: Not a valid DCA frame
Oct 27 13:16 : ffmpeg/dts: Could not find codec parameters (Audio: dca, 0 channels, fltp)
Oct 27 13:16 : ffmpeg/dts: Estimating duration from bitrate, this may be inaccurate
Oct 27 13:16 : ffmpeg/dca: Not a valid DCA frame
Oct 27 13:16 : ffmpeg/dts: Could not find codec parameters (Audio: dca, 0 channels, fltp)
Oct 27 13:16 : ffmpeg/dts: Estimating duration from bitrate, this may be inaccurate
Oct 27 13:23 : client: [2] opened from local
Oct 27 13:23 : client: [3] opened from 127.0.0.1:41372
Oct 27 13:23 : zeroconf: No global port, disabling zeroconf
Oct 27 13:23 : client: [0] opened from local
Oct 27 13:24 : client: [1] opened from 127.0.0.1:41492
Oct 27 13:24 : exception: Failed to read mixer for 'alsa': no such mixer control: PCM
Oct 27 13:31 : zeroconf: No global port, disabling zeroconf
Oct 27 13:31 : client: [0] opened from local
Oct 27 13:32 : client: [1] opened from 127.0.0.1:41518
Oct 27 13:32 : exception: Failed to read mixer for 'alsa': no such mixer control: PCM
volumio@volumio:/$

Volumio 3.114

uname -a

volumio@volumio3:~$ uname -a
Linux volumio3 4.4.71+ #23 SMP Sun Sep 20 12:23:26 CEST 2020 armv7l GNU/Linux
volumio@volumio3:~$

lsusb -t

volumio@volumio3:~$ lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 4, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 5, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 255, Class=Human Interface Device, Driver=usbhid, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
    |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 6, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 4: Dev 6, If 1, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 4: Dev 6, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 4: Dev 6, If 3, Class=Application Specific Interface, Driver=,                                                                                                                                                              480M
volumio@volumio3:~$

aplay -l

volumio@volumio3:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchipminiarm [rockchip,miniarm-codec], device 0: ff890000.i2s-i2s-hifi i2s-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: OnBoard [USB Audio OnBoard], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: OnBoard [USB Audio OnBoard], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: OnBoard [USB Audio OnBoard], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: X20 [XMOS USB Audio 2.0], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
volumio@volumio3:~$

cat /etc/mpd.conf

volumio@volumio3:~$ cat /etc/mpd.conf
# Volumio MPD Configuration File

# Files and directories #######################################################
music_directory         "/var/lib/mpd/music"
playlist_directory              "/var/lib/mpd/playlists"
db_file                 "/var/lib/mpd/tag_cache"
log_file                        "/var/log/mpd.log"
#pid_file                       "/var/run/mpd/pid"
#state_file                     "/var/lib/mpd/state"
#sticker_file                   "/var/lib/mpd/sticker.sql"
###############################################################################

# General music daemon options ################################################
user                            "mpd"
group                          "audio"
bind_to_address         "any"
#port                           "6600"
#log_level                      "default"
#save_absolute_paths_in_playlists       "no"
#metadata_to_use        "artist,album,title,track,name,genre,date,composer,performer,disc"
auto_update    "no"
#auto_update_depth "3"
###############################################################################
# Symbolic link behavior ######################################################
follow_outside_symlinks "yes"
follow_inside_symlinks          "yes"
###############################################################################
# Input #######################################################################
#
input {
        plugin "curl"
#       proxy "proxy.isp.com:8080"
#       proxy_user "user"
#       proxy_password "password"
}
###############################################################################

# Decoder ################################################################





###############################################################################

# Audio Output ################################################################

resampler {
                plugin "soxr"
                quality "high"
                threads "0"
}

audio_output {
                type            "alsa"
                name            "alsa"
                device          "volumio"
                dop                     "yes"




}





audio_output {
    type            "fifo"
    enabled         "no"
    name            "multiroom"
    path            "/tmp/snapfifo"
    format          "44100:16:2"
}

#replaygain                     "album"
#replaygain_preamp              "0"
volume_normalization            "no"
###############################################################################

# MPD Internal Buffering ######################################################
audio_buffer_size               "2048"
###############################################################################


# Resource Limitations ########################################################
#connection_timeout             "60"
max_connections                 "20"
max_playlist_length             "81920"
max_command_list_size           "81920"
max_output_buffer_size          "81920"
###############################################################################

# Character Encoding ##########################################################
filesystem_charset              "UTF-8"
###############################################################################
volumio@volumio3:~$

cat /var/log/mpd.log

volumio@volumio3:~$ cat /var/log/mpd.log
Oct 27 14:14 : zeroconf: No global port, disabling zeroconf
Oct 27 14:15 : zeroconf: No global port, disabling zeroconf
Oct 27 14:16 : client: [0] opened from local
Oct 27 14:16 : exception: No such directory
Oct 27 14:16 : client: [1] opened from local
Oct 27 14:16 : zeroconf: No global port, disabling zeroconf
Oct 27 14:16 : client: [0] opened from local
Oct 27 14:16 : client: [1] opened from 127.0.0.1:43314
Oct 27 14:16 : client: [2] opened from 127.0.0.1:43318
Oct 27 14:16 : exception: Failed to read mixer for 'alsa': no such mixer control: PCM
Oct 27 14:17 : client: [1] closed
Oct 27 14:53 : exception: No such playlist
Oct 27 14:53 : exception: Failed to open mixer for 'alsa': no such mixer control: PCM
Oct 27 14:53 : client: [3] opened from 127.0.0.1:43770
Oct 27 14:53 : exception: Failed to play on "alsa" (alsa): snd_pcm_writei() failed: Broken pipe
Oct 27 14:53 : exception: Failed to open audio output
Oct 27 14:54 : client: [3] closed
Oct 27 14:54 : exception: Failed to open mixer for 'alsa': no such mixer control: PCM
Oct 27 14:54 : client: [4] opened from 127.0.0.1:43804
Oct 27 15:00 : player: played "json&c=volusonic"
Oct 27 15:00 : exception: No such playlist
Oct 27 15:00 : exception: Bad song index
Oct 27 15:00 : exception: Failed to open mixer for 'alsa': no such mixer control: PCM
volumio@volumio3:~$

alsamixer