Today I finally hooked up my new Audio-GD NFB11.32 DAC using usb to my RPI B+ (with Hifiberry Digi+).
I still have have the Digi+ connected using Coax/SPDIF directly to my NAD as fallback and comparison This works (and sounds) fine and plays up to 24/192 flac without issues.
The USB connected Audio-GD is recognized and selectable in the UI, BUT…sound is completely distorted.
I can somewhat hear what music it tries to play and it plays it way to fast (like twice).
volumio@volumio:~$ uname -a
Linux volumio 3.12.26+ #702 PREEMPT Wed Aug 6 17:43:49 BST 2014 armv6l GNU/Linux
volumio@volumio:/var/www$ git log -1
commit 7acbf3a5a23cf5fd3bc884b9bbb64ca2d2e04522
Author: Volumio <info@volumio.org>
Date: Thu Jan 1 20:51:32 2015 +0100
Fixed Typo
Thanks to Steve Rigg for reporting
volumio@volumio:~$ cat /proc/asound/cards
0 [Audiogd ]: USB-Audio - Audio-gd
Audio-gd Audio-gd at usb-bcm2708_usb-1.2, high speed
1 [sndrpihifiberry]: snd_rpi_hifiber - snd_rpi_hifiberry_digi
snd_rpi_hifiberry_digi
volumio@volumio:~$ cat /proc/asound/pcm
00-00: USB Audio : USB Audio : playback 1
01-00: HifiBerry Digi HiFi wm8804-spdif-0 : : playback 1 : capture 1
root@volumio:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audiogd [Audio-gd], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
root@volumio:~# lsmod
Module Size Used by
ecb 1863 0
md4 3311 0
md5 1784 1
hmac 2602 1
nls_utf8 1235 1
cifs 287100 2
nfsd 247413 2
ipv6 315765 34
snd_soc_hifiberry_digi 2572 0
bcm2708_dmaengine 5344 2
virt_dma 2329 1 bcm2708_dmaengine
snd_soc_pcm512x 9034 0
snd_soc_wm8804 7932 1
snd_usb_audio 117740 0
snd_usbmidi_lib 19299 1 snd_usb_audio
snd_hwdep 5838 1 snd_usb_audio
snd_seq_midi 4714 0
snd_seq_midi_event 6715 1 snd_seq_midi
snd_rawmidi 21968 2 snd_usbmidi_lib,snd_seq_midi
snd_soc_bcm2708_i2s 6194 2
regmap_mmio 2818 1 snd_soc_bcm2708_i2s
snd_soc_core 127841 4 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_digi,snd_soc_bcm2708_i2s
snd_compress 8259 1 snd_soc_core
regmap_i2c 1661 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm_dmaengine 5505 1 snd_soc_core
regmap_spi 1913 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm 83845 4 snd_usb_audio,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc 5132 1 snd_pcm
snd_seq 55484 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 6469 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 20998 2 snd_pcm,snd_seq
leds_gpio 2079 0
led_class 4118 1 leds_gpio
evdev 10661 0
snd 62252 11 snd_usb_audio,snd_soc_core,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_compress
spi_bcm2708 4960 0
i2c_bcm2708 4943 0
So a lot of things look ok. I should be running 1.51 (couldn’t find a version file or something so used git log).
Playing 24/192 on the Digi+ shows nicely:
root@volumio:~# cat /proc/asound/sndrpihifiberry/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 16384
buffer_size: 65536
Some reading and trying with kernel parameters ended up in the following:
root@volumio:~# cat /boot/cmdline.txt
force_turbo=1 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 elevator=noop rootfstype=ext4 rootwait smsc95xx.turbo_mode=N dwc_otg.fiq_split_enable=0
but still no success
Anyone any suggestions?