No sound with MPD player (Hifiberry AMP2)

Max2Play Home Forums Max2Play on Raspberry PI No sound with MPD player (Hifiberry AMP2)

Viewing 8 posts - 1 through 8 (of 8 total)
  • 28. Januar 2019 at 23:32 #44220

    Dear All,

    Sorry, beginner, my first Raspberry. And I thought it was easy ;-(. And yes, I googled this forum up and down to find help, try and error for a couple of hours also looked at all the relevant videos I could find. So, appologize for the basic questions. How do I get this to work?

    My setup:
    Rasberry Pi3B+
    Hifiberry AMP2

    I got the bundle from you guys M2P.

    The goal is to use my build in speakers in the bathroom Visaton DL 13/2T. Is the hifiberry AMP2 suitable for these? I tried also other speakers.

    What I got to work:
    – Connection to Network
    – Access to M2P screen and settings
    – The MPD Player starts
    – I can open web interface and select radio channel

    Then it ends, no sound. Sometimes I get the error in the player of cannot adjust mix.

    Are my player settings correct? see screen1
    Same for the rasberry settings? see screen2 and 3.

    Below also debug info.

    Thanks for the help, I am lost.

    Hanspeter

    #### FILESYSTEM ####
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/root 15046532 2523216 11883160 18% /
    devtmpfs 443724 0 443724 0% /dev
    tmpfs 448332 0 448332 0% /dev/shm
    tmpfs 448332 13392 434940 3% /run
    tmpfs 5120 4 5116 1% /run/lock
    tmpfs 448332 0 448332 0% /sys/fs/cgroup
    /dev/mmcblk0p1 42136 22534 19603 54% /boot
    tmpfs 89664 8 89656 1% /run/user/1000

    #### LOAD AVERAGE ####
    0.01 0.03 0.04 1/201 9353

    #### KERNEL ####
    Linux max2play 4.14.76-v7+ #1150 SMP Mon Oct 15 15:19:23 BST 2018 armv7l GNU/Linux

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

    —————————————————————-
    #### MPD Version ####
    Version: 0.19.21-1

    #### AUDIO-DEVICES (aplay -L) ####
    null
    Discard all samples (playback) or generate zero samples (capture)
    equal
    plugequal
    Equalizer for plughw:0,0
    default:CARD=sndrpihifiberry
    snd_rpi_hifiberry_dacplus,
    Default Audio Device
    sysdefault:CARD=sndrpihifiberry
    snd_rpi_hifiberry_dacplus,
    Default Audio Device
    dmix:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Direct sample mixing device
    dsnoop:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Direct sample snooping device
    hw:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Direct hardware device without any conversions
    plughw:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Hardware device with all software conversions

    #### MPD-LOGFILE LAST 50 ENTRIES ####
    Jan 28 21:53 : client: [0] opened from 127.0.0.1:33148
    Jan 28 21:53 : alsa_mixer: Failed to read mixer for ‚Max2Play ALSA Device‘: no such mixer control: Master
    Jan 28 21:53 : output: Failed to open mixer for ‚Max2Play ALSA Device‘
    Jan 28 21:54 : avahi: Client Disconnected, will reconnect shortly
    Jan 28 21:54 : avahi: Could not reconnect: An unexpected D-Bus error occurred
    Jan 28 21:54 : player: played „http://current.stream.publicradio.org/kcmp.mp3“
    Jan 28 21:54 : client: [0] opened from 127.0.0.1:53826
    Jan 28 21:54 : avahi: Service ‚Music Player‘ successfully established.
    Jan 28 21:54 : alsa_mixer: Failed to read mixer for ‚Max2Play ALSA Device‘: no such mixer control: Master
    Jan 28 21:54 : output: Failed to open mixer for ‚Max2Play ALSA Device‘
    Jan 28 21:55 : client: [0] closed
    Jan 28 21:55 : client: [1] opened from 192.168.1.130:44948
    Jan 28 21:55 : client: [1] closed
    Jan 28 21:55 : client: [2] opened from 192.168.1.130:44950
    Jan 28 21:57 : avahi: Client Disconnected, will reconnect shortly
    Jan 28 21:57 : avahi: Could not reconnect: An unexpected D-Bus error occurred
    Jan 28 21:57 : player: played „http://current.stream.publicradio.org/kcmp.mp3“
    Jan 28 21:57 : avahi: Service ‚Music Player‘ successfully established.
    Jan 28 21:57 : client: [0] opened from 127.0.0.1:35324
    ALSA lib conf.c:4858:(parse_args) Unknown parameter 1
    ALSA lib conf.c:4991:(snd_config_expand) Parse arguments error: No such file or directory
    ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0,0
    Jan 28 21:57 : output: Failed to open mixer for ‚Max2Play ALSA Device‘
    Jan 28 22:01 : client: [0] closed
    Jan 28 22:01 : player: played „http://current.stream.publicradio.org/kcmp.mp3“
    Jan 28 22:01 : avahi: Service ‚Music Player‘ successfully established.
    Jan 28 22:02 : client: [0] opened from 127.0.0.1:35336
    ALSA lib conf.c:4858:(parse_args) Unknown parameter 1
    ALSA lib conf.c:4991:(snd_config_expand) Parse arguments error: No such file or directory
    ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0,0
    Jan 28 22:02 : output: Failed to open mixer for ‚Max2Play ALSA Device‘
    Jan 28 22:03 : client: [0] closed
    Jan 28 22:03 : player: played „http://current.stream.publicradio.org/kcmp.mp3“
    Jan 28 22:04 : avahi: Service ‚Music Player‘ successfully established.
    Jan 28 22:04 : client: [0] opened from 127.0.0.1:35342
    Jan 28 22:04 : output: Failed to open mixer for ‚Max2Play ALSA Device‘
    Jan 28 22:04 : client: [0] closed
    Jan 28 22:04 : player: played „http://current.stream.publicradio.org/kcmp.mp3“
    Jan 28 22:05 : avahi: Service ‚Music Player‘ successfully established.
    Jan 28 22:05 : client: [0] opened from 127.0.0.1:35348
    Jan 28 22:05 : output: Failed to open mixer for ‚Max2Play ALSA Device‘
    Jan 28 22:24 : avahi: Client Disconnected, will reconnect shortly
    Jan 28 22:24 : avahi: Could not reconnect: An unexpected D-Bus error occurred
    Jan 28 22:24 : player: played „http://current.stream.publicradio.org/kcmp.mp3“
    Jan 28 22:24 : client: [0] opened from 127.0.0.1:43650
    Jan 28 22:24 : avahi: Service ‚Music Player‘ successfully established.
    Jan 28 22:26 : client: [0] closed
    Jan 28 22:26 : player: played „http://current.stream.publicradio.org/kcmp.mp3“
    Jan 28 22:26 : avahi: Service ‚Music Player‘ successfully established.
    Jan 28 22:26 : client: [0] opened from 127.0.0.1:43660

    29. Januar 2019 at 15:58 #44232

    Hi Hampi,

    I just tested on the device to make sure there is no general error.

    After selecting „Amp2“ in the HiFiBerry plugin and rebooting, I selected Starter and rebooted.

    Afterwards, your sound card settings in MPD should be:

    Sound Device
    default:CARD=sndrpihifiberry snd_rpi_hifiberry_dacplus, Default Audio Device
    	
    Audioformat	
    192000:24:2
    
    Mixer Device	
    default
    
    Mixer Control	
    Digital
    29. Januar 2019 at 18:25 #44233

    Hi Heiner

    Thanks for prompt reply.

    Done that. Just no sound. All settings look good and Players starts fine. just not sound.

    Is there something I can do wrong with connecting the speakers Red -> +, black -> -. Are the Visaton DL 13/2 suitable?

    Thanks

    Hanspeter

    30. Januar 2019 at 13:17 #44238

    Hi Hampi,

    Can you copy the log from your MPD player and your soudn card settings here again?

    31. Januar 2019 at 18:57 #44306

    Will reply when I am back @home. Thanks.

    7. Februar 2019 at 11:10 #44398

    Hi Heiner

    sorry, back again. Here your go.

    I hope it is not a hardware issue, player seems to work fine. Is there a simple way to test the hifiberry card?

    Regards

    Hanspeter

    #### MPD Version ####
    Version: 0.19.21-1

    #### AUDIO-DEVICES (aplay -L) ####
    null
    Discard all samples (playback) or generate zero samples (capture)
    equal
    plugequal
    Equalizer for plughw:0,0
    default:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
    sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
    dmix:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct sample mixing device
    dmix:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct sample mixing device
    dsnoop:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct sample snooping device
    dsnoop:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct sample snooping device
    hw:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct hardware device without any conversions
    hw:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct hardware device without any conversions
    plughw:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Hardware device with all software conversions
    plughw:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Hardware device with all software conversions
    default:CARD=sndrpihifiberry
    snd_rpi_hifiberry_dacplus,
    Default Audio Device
    sysdefault:CARD=sndrpihifiberry
    snd_rpi_hifiberry_dacplus,
    Default Audio Device
    dmix:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Direct sample mixing device
    dsnoop:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Direct sample snooping device
    hw:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Direct hardware device without any conversions
    plughw:CARD=sndrpihifiberry,DEV=0
    snd_rpi_hifiberry_dacplus,
    Hardware device with all software conversions

    #### MPD-LOGFILE LAST 50 ENTRIES ####
    Jan 29 17:14 : curl: curl failed: Failed to connect to xstream1.somafm.com port 8002: Connection refused
    Jan 29 17:14 : player: played „http://xstream1.somafm.com:8002“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream2.somafm.com port 9016: Connection refused
    Jan 29 17:14 : player: played „http://uwstream2.somafm.com:9016“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8002: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8002“
    Jan 29 17:14 : player: played „http://ice.somafm.com/secretagent“
    Jan 29 17:14 : curl: curl failed: Failed to connect to xstream1.somafm.com port 8002: Connection refused
    Jan 29 17:14 : player: played „http://xstream1.somafm.com:8002“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream2.somafm.com port 9016: Connection refused
    Jan 29 17:14 : player: played „http://uwstream2.somafm.com:9016“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8002: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8002“
    Jan 29 17:14 : player: played „http://ice.somafm.com/secretagent“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8002: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8002“
    Jan 29 17:14 : player: played „http://ice.somafm.com/secretagent“
    Jan 29 17:14 : curl: curl failed: Failed to connect to xstream1.somafm.com port 8000: Connection refused
    Jan 29 17:14 : player: played „http://xstream1.somafm.com:8000“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8000: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8000“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream2.somafm.com port 2666: Connection refused
    Jan 29 17:14 : player: played „http://uwstream2.somafm.com:2666“
    Jan 29 17:14 : curl: curl failed: Failed to connect to xstream1.somafm.com port 8000: Connection refused
    Jan 29 17:14 : player: played „http://xstream1.somafm.com:8000“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8000: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8000“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream2.somafm.com port 2666: Connection refused
    Jan 29 17:14 : player: played „http://uwstream2.somafm.com:2666“
    Jan 29 17:14 : player: played „http://ice.somafm.com/spacestation“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8000: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8000“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream2.somafm.com port 2666: Connection refused
    Jan 29 17:14 : player: played „http://uwstream2.somafm.com:2666“
    Jan 29 17:14 : player: played „http://ice.somafm.com/spacestation“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8000: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8000“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream2.somafm.com port 2666: Connection refused
    Jan 29 17:14 : player: played „http://uwstream2.somafm.com:2666“
    Jan 29 17:14 : player: played „http://ice.somafm.com/spacestation“
    Jan 29 17:14 : player: played „http://ice.somafm.com/spacestation“
    Jan 29 17:14 : curl: curl failed: Failed to connect to uwstream3.somafm.com port 8000: Connection refused
    Jan 29 17:14 : player: played „http://uwstream3.somafm.com:8000“
    Jan 29 17:14 : player: played „http://ice.somafm.com/spacestation“
    Jan 30 09:04 : client: [0] opened from 127.0.0.1:38246
    Jan 30 09:04 : avahi: Service ‚Music Player‘ successfully established.
    Feb 07 10:07 : client: [0] closed
    Feb 07 10:07 : player: played „http://onair.100fmlive.dk:80/klassisk_live.mp3“
    Feb 07 10:07 : client: [0] opened from 127.0.0.1:38264
    Feb 07 10:07 : avahi: Service ‚Music Player‘ successfully established.

    #### FILESYSTEM ####
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/root 15046532 2523472 11882904 18% /
    devtmpfs 443724 0 443724 0% /dev
    tmpfs 448332 0 448332 0% /dev/shm
    tmpfs 448332 19064 429268 5% /run
    tmpfs 5120 4 5116 1% /run/lock
    tmpfs 448332 0 448332 0% /sys/fs/cgroup
    /dev/mmcblk0p1 42136 22534 19603 54% /boot
    tmpfs 89664 8 89656 1% /run/user/1000

    #### LOAD AVERAGE ####
    0.47 0.43 0.36 2/210 5367

    #### KERNEL ####
    Linux max2play 4.14.76-v7+ #1150 SMP Mon Oct 15 15:19:23 BST 2018 armv7l GNU/Linux

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

    18. Februar 2019 at 10:59 #44492

    Hi Hans-Peter,

    Did you check the sound card settings and make sure they are as mentioned above?

    The log also indicates either a problem with your connection to the radio servers or a general issues with the specific radio channel.

    Try selecting none, rebooting, selecting the card and rebooting again to rule out an error with the hifiberry driver.

    25. Februar 2019 at 12:49 #44556

    Hi Heiner

    I tried all above and this multiple times. Radio runs through normal connector. I will try different software setup and see if it works.

    Thanks

    Hanspeter

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

You must be logged in to reply to this topic.

Register here