RPI3 + AMP2 – No Sound

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI RPI3 + AMP2 – No Sound

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Heiner Moderator 10 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • 19. November 2017 at 22:27 #32541

    Hi,

    I hope someone can help me to get sound out of the RB3+Hifiberry Amp 2 combination. I have tried to get it working with max2play, volumio, hifiberry installer (openelec) and the raspbian image on the hifiberry website. No sound via squeezelight, airplay and the test using sox (play –n synth sine 1000).

    Hardware:
    Tried with power only to the RB board (5.1V, 2.1A), with power only to the hifiberry (12V, 5A) and also with power to both.
    Connected 2 8ohm speakers.
    Tried all using WIFI only, since I can’t use a wired connection.

    Any help is much appreciated.

    Below the information:

    Software:
    Chose the Amp 2 option from the hifiberry plugin page.
    Chose the dacplus driver at the audioplayer tab at advanced options for both squeezelight and airplay. I tried removing the settings in the hardware field and also with leaving them there (tried with hw0 and hw1). Trying squeezelight and airplay one after the other because they can’t work both at the same time.

    System:
    #### FILESYSTEM ####
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/root 14942048 2130380 12180244 15% /
    devtmpfs 435668 0 435668 0% /dev
    tmpfs 440276 7624 432652 2% /dev/shm
    tmpfs 440276 6248 434028 2% /run
    tmpfs 5120 4 5116 1% /run/lock
    tmpfs 440276 0 440276 0% /sys/fs/cgroup
    /dev/mmcblk0p1 61384 22816 38568 38% /boot
    tmpfs 88056 8 88048 1% /run/user/1000

    #### LOAD AVERAGE ####
    0.53 0.81 0.61 2/302 15927

    #### KERNEL ####
    Linux Huiskamer 4.9.39-v7+ #1020 SMP Sat Jul 22 14:21:01 BST 2017 armv7l GNU/Linux

    #### LINUX-VERSION ####
    Distributor ID: Raspbian
    Description: Raspbian GNU/Linux 8.0 (jessie)
    Release: 8.0
    Codename: jessie

    /boot/config.txt:
    #### BOOT CONFIG TXT ####
    # For more options and information see
    # http://rpf.io/configtxtreadme
    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default „safe“ mode
    #hdmi_safe=1

    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan
    #disable_overscan=1

    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    #overscan_left=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16

    # uncomment to force a console size. By default it will be display’s size minus
    # overscan.
    #framebuffer_width=1280
    #framebuffer_height=720

    # uncomment if hdmi display is not detected and composite is being output
    #hdmi_force_hotplug=1

    # uncomment to force a specific HDMI mode (this will force VGA)
    #hdmi_group=1
    #hdmi_mode=1

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    #hdmi_drive=2

    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    #config_hdmi_boost=4

    # uncomment for composite PAL
    #sdtv_mode=2

    #uncomment to overclock the arm. 700 MHz is the default.
    #arm_freq=800

    # Uncomment some or all of these to enable the optional hardware interfaces
    #dtparam=i2c_arm=on
    #dtparam=i2s=on
    #dtparam=spi=on

    # Uncomment this to enable the lirc-rpi module
    #dtoverlay=lirc-rpi

    # Additional overlays and parameters are documented /boot/overlays/README

    # Enable audio (loads snd_bcm2835)
    gpu_mem=128

    dtoverlay=hifiberry-dacplus

    /etc/asound.conf:

    pcm.!default {
    type hw
    card 0
    }
    ctl.!default {
    type hw
    card 0
    }

    aplay –l:

    **** List of PLAYBACK Hardware Devices ****
    card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
    Subdevices: 0/1
    Subdevice #0: subdevice #0

    dmesg:
    [ 4.119230] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 4.166982] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
    [ 4.295354] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered – will retry
    [ 4.450704] snd-rpi-hifiberry-dacplus soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
    [ 4.505525] usbcore: registered new interface driver brcmfmac
    [ 4.543414] input: Apple Inc. Apple Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.2/1-1.4.2:1.0/0003:05AC:0250.0002/input/input1
    [ 4.607564] apple 0003:05AC:0250.0002: input,hidraw1: USB HID v1.11 Keyboard [Apple Inc. Apple Keyboard] on usb-3f980000.usb-1.4.2/input0
    [ 4.609489] input: Apple Inc. Apple Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.2/1-1.4.2:1.1/0003:05AC:0250.0003/input/input2
    [ 4.679864] apple 0003:05AC:0250.0003: input,hidraw2: USB HID v1.11 Device [Apple Inc. Apple Keyboard] on usb-3f980000.usb-1.4.2/input1
    [ 4.697933] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
    [ 4.788607] brcmfmac: power management disabled
    [ 5.104466] systemd-journald[143]: Received request to flush runtime journal from PID 1
    [ 5.615962] brcmfmac: power management disabled
    [ 15.141565] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 15.162895] nf_conntrack version 0.5.0 (14336 buckets, 57344 max)
    [ 16.455716] Adding 102396k swap on /var/swap. Priority:-1 extents:7 across:307200k SSFS
    [ 16.537421] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
    [ 42.106888] random: crng init done
    [ 432.975320] pcm512x 1-004d: No SCLK, using BCLK: -2
    [ 1101.123406] pcm512x 1-004d: No SCLK, using BCLK: -2
    [ 1101.133949] pcm512x 1-004d: No SCLK, using BCLK: -2

    play –n synth sine 1000:
    [email protected]:/home/pi# play -n synth sine 1000
    Encoding: n/a
    Channels: 1 @ 32-bit
    Samplerate: 48000Hz
    Replaygain: off
    Duration: unknown
    In:0.00% 00:00:04.78 [00:00:00.00] Out:229k [!=====|=====!] Hd:0.0 Clip:0

    23. November 2017 at 17:16 #32593

    Hi Willem,

    It looks like you have tried most options on the software side. Please also try putting out music via the headphone jack or HDMI to make sure your Pi is capable of putting out sound.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Register here