Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connect alsa with DAC of AV amp via USB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Satellit
n00b
n00b


Joined: 23 Aug 2023
Posts: 1

PostPosted: Wed Aug 23, 2023 5:55 pm    Post subject: Connect alsa with DAC of AV amp via USB Reply with quote

Hello,
I am new in this forum and I saw a lot of expertise about alsa, which is very impressive. My AV amp IOTAVX AVX17 has a USB plug to connect his DAC to external units. I have installed volumio on my Raspberry 4 and I connected it via USB with my AV amp. But I cannot get not a single beep out of it:
aplay $HOME/test-sound-raspberry-tips.wav

MY SETUP

AV amp not connect via USB:
Code:
volumio@volumio:~$ aplay -l | awk -F \: '/,/{print $2}' | awk '{print $1}' | uniq
b1
Headphones
sndrpihifiberry
Code:

volumio@volumio:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


With plugged AV amp via USB:

Code:

volumio@volumio:~$ aplay -l | awk -F \: '/,/{print $2}' | awk '{print $1}' | uniq
b1
Headphones
sndrpihifiberry
QCC3031
Code:

volumio@volumio:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0a12:4007 Cambridge Silicon Radio, Ltd
Bus 001 Device 005: ID 0a12:4010 Cambridge Silicon Radio, Ltd
Bus 001 Device 004: ID 10c4:1c02 Cygnal Integrated Products, Inc.
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Therefore, alsa recognises the DAC as QCC3031 card at USB 2.0. alsamixer shows QCC3031 as card number 5.

Linux registers QCC3031:
Code:

volumio@volumio:~$ dmesg | grep -i QCC3031
[    4.634944] usb 1-1.4.2.1: Product: QCC3031
[    4.654590] input: QTIL QCC3031 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.2/1-1.4.2.1/1-1.4.2.1:1.4/0003:0A12:4007.0002/input/input0
[    4.716350] hid-generic 0003:0A12:4007.0002: input,hidraw1: USB HID v1.11 Device [QTIL QCC3031] on usb-0000:01:00.0-1.4.2.1/input4
[    4.726994] input: QTIL QCC3031 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.2/1-1.4.2.1/1-1.4.2.1:1.5/0003:0A12:4007.0003/input/input1
[    4.796370] hid-generic 0003:0A12:4007.0003: input,hidraw2: USB HID v1.11 Keyboard [QTIL QCC3031] on usb-0000:01:00.0-1.4.2.1/input5
[    4.804992] hid-generic 0003:0A12:4007.0004: hiddev97,hidraw3: USB HID v1.11 Device [QTIL QCC3031] on usb-0000:01:00.0-1.4.2.1/input6
Code:

volumio@volumio:~$ cat /proc/asound/devices
  0: [ 0]   : control
  1:        : sequencer
 16: [ 0- 0]: digital audio playback
 32: [ 1]   : control
 33:        : timer
 48: [ 1- 0]: digital audio playback
 64: [ 2]   : control
 80: [ 2- 0]: digital audio playback
160: [ 5]   : control
176: [ 5- 0]: digital audio playback
184: [ 5- 0]: digital audio capture

The asound.conf looks like this:
Code:

volumio@volumio:/etc$ cat asound.conf
pcm.!default {
    type             empty
    slave.pcm       "volumio"
}

pcm.volumio {
    type             empty
    slave.pcm       "volumioOutput"
}


# There is always a plug before the hardware to be safe
pcm.volumioOutput {
    type plug
    slave.pcm "volumioHw"
}

pcm.volumioHw {
    type hw
    card "sndrpihifiberry"

the config.txt looks like this:
Code:

volumio@volumio:/boot$ cat config.txt
initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
force_eeprom_read=0

include userconfig.txt


#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dac


#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dac

I tried to set card 5 as default card via the /etc/asound.conf by inserting card 5 into the default statements:
Code:

pcm.!default {
    type             empty
    slave.pcm       "volumio"
    card            5
}
...

It doesn’t work. I am a little bit lost and I don’t know how to continue. Is there a way to success?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum