I have connected my new AMP+ to my Raspberry Pi 2. Which command under Raspberry Pi show me the sound card?
The dmesg command do not show me the Amp+ ??
Thank you for your answer.
I have connected my new AMP+ to my Raspberry Pi 2. Which command under Raspberry Pi show me the sound card?
The dmesg command do not show me the Amp+ ??
Thank you for your answer.
I found the command: aplay -l
My Result:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
Is this result OK? Is my Amp+ OK?
You need to configure the drivers first. The easiest way is using the HiFiBerry Installer:
http://support.hifiberry.com/hc/en-us/articles/205389831-HiFiBerry-installer
If you want to configure it by yourself, you will find the documentation here:
http://support.hifiberry.com/hc/en-us/articles/205377651-Configuring-Linux-3-18-x-or-higher
Best regards
Daniel
Hi Daniel,
which distribution is in HiFiBerry Installer included? I have the RASPBIAN JESSIE LITE because it is very fast and small.
I have another question. Can I use the GPIO pins that sticking out from the Amp+ for other purposes?
Thank you very much. :)
Raspbian Lite is not included, only the full version.
For the GPIOs check out this documentation:
http://support.hifiberry.com/hc/en-us/articles/205376201-GPIO-usage-of-HiFiBerry-boards
Best regards
Daniel
Hi!
I don't find the file "/etc/modprobe.d/raspi-blacklist.conf" of my Pi!?! I have this file: /etc/modprobe.d/fbdev-blacklist.conf and the content of this file is:
blacklist arkfb
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist kyrofb
blacklist matroxfb_base
blacklist mb862xxfb
blacklist neofb
blacklist pm2fb
blacklist pm3fb
blacklist s3fb
blacklist savagefb
blacklist sisfb
blacklist tdfxfb
blacklist tridentfb
blacklist vt8623fb
These modules are not available, as described in the documentation:
blacklist i2c-bcm2708 blacklist snd-soc-pcm512x blacklist snd-soc-wm8804
What should I do now to integrate my Amp+ right?
Thank you for your help. :)
I did add "dtoverlay=hifiberry-amp" to /boot/config.txt. Now I get the following result by the command aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sndrpihifiberry [snd_rpi_hifiberry_amp], device 0: HifiBerry AMP HiFi tas5713-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Was Amp+ recognized respectively Amp + is now supported?
If I type dmesg then I get the following:
[ 4.542984] snd-hifiberry-amp sound: ASoC: CPU DAI (null) not registered
[ 4.543027] snd-hifiberry-amp sound: snd_soc_register_card() failed: -517
[ 4.554667] snd-hifiberry-amp sound: ASoC: CODEC DAI tas5713-hifi not registered
[ 4.554703] snd-hifiberry-amp sound: snd_soc_register_card() failed: -517
What should I do now?
The Amp+ is configured correctly. You see that it is listed as sound card:
card 1: sndrpihifiberry [snd_rpi_hifiberry_amp], device 0: HifiBerry AMP HiFi tas5713-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Best regards
Daniel
Hi Daniel,
thank you, but what is this:
[ 4.542984] snd-hifiberry-amp sound: ASoC: CPU DAI (null) not registered
[ 4.543027] snd-hifiberry-amp sound: snd_soc_register_card() failed: -517
[ 4.554667] snd-hifiberry-amp sound: ASoC: CODEC DAI tas5713-hifi not registered
[ 4.554703] snd-hifiberry-amp sound: snd_soc_register_card() failed: -517
Should I ignore it?
Thanks.
Yes, you can ignore this. These are temporary errors as there are dependencies that are loaded later.
Best regards
Daniel
Super, Thank you. :)
Can you please share me the details of the setup you are using including the Raspberry Pi and the Amplifier?
Can you please share all of your hardware details and their specifications?
I am looking for a Raspberry Pi based amplification?
Hi Skyler,
you will find the details on the HiFiBerry Amp+ on the product page:
https://www.hifiberry.com/ampplus/
Best regards
Daniel
Hi Daniel,
I need your help. :)
When I play a file, I get an error message!?!
aplay /usr/share/sounds/alsa/Front_Center.wav
Result:
aplay: set_params:1297: Unable to install hw params:
And the result with mplayer with a lot of error messages:
mplayer /usr/share/sounds/alsa/Front_Center.wav
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/root/.mplayer/input.conf': No such file or directory
Failed to open /root/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing /usr/share/sounds/alsa/Front_Center.wav.
Detected file format: WAV / WAVE (Waveform Audio) (libavformat)
[lavf] stream 0: audio (pcm_s16le), -aid 0
Load subtitles in /usr/share/sounds/alsa/
Selected audio codec: Uncompressed PCM [pcm]
AUDIO: 48000 Hz, 1 ch, s16le, 768.0 kbit/100.00% (ratio: 96000->96000)
AO: [pulse] Init failed: Connection refused
[AO_ALSA] Unable to set hw-parameters: Invalid argument
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[JACK] cannot open server
[AO SDL] Samplerate: 48000Hz Channels: Mono Format s16le
[AO_ALSA] alsa-lib: pcm_hw.c:1557:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy
[AO SDL] Unable to open audio: No available audio device
AO: [null] 48000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 1.4 (01.3) of 1.4 (01.4) 0.1%
Audio output truncated at end.
Exiting... (End of file)
Hi,
aplay is not a good tool for tests. Check out our article on test sounds:
http://support.hifiberry.com/hc/en-us/articles/205322332-Playing-test-sounds
Best regards
Daniel
Thank you.
I'll test ist soon.
Can I ignore the error messages from mplayer?
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/root/.mplayer/input.conf': No such file or directory
Failed to open /root/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing /usr/share/sounds/alsa/Front_Center.wav.
Detected file format: WAV / WAVE (Waveform Audio) (libavformat)
[lavf] stream 0: audio (pcm_s16le), -aid 0
Load subtitles in /usr/share/sounds/alsa/
Selected audio codec: Uncompressed PCM [pcm]
AUDIO: 48000 Hz, 1 ch, s16le, 768.0 kbit/100.00% (ratio: 96000->96000)
AO: [pulse] Init failed: Connection refused
[AO_ALSA] Unable to set hw-parameters: Invalid argument
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[JACK] cannot open server
[AO SDL] Samplerate: 48000Hz Channels: Mono Format s16le
[AO_ALSA] alsa-lib: pcm_hw.c:1557:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy
[AO SDL] Unable to open audio: No available audio device
AO: [null] 48000Hz 1ch s16le (2 bytes per sample)
Video: no video
Looks like a process is already running that uses the sound card:
"open '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy"
You need to stop other applications that use the sound card.
Best regards
Daniel
I installed sox.
play -n synth sine 1000
play FAIL formats: can't open output file `default': snd_pcm_hw_params error: Invalid argument
What's wrong here?
Thank you.
play -n synth sine 1000 --> works if I activate the entry in file /boot/config.txt
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
What is this entry (dtparam=audio=on)?
I have this taken out because I thought that this entry for the onboard sound card is and I do not need this, because I use my own soundcard (Amp+). If this entry for the onboard sound card? Should I comment out this or should I just leave it like that?
The dtparam=audio=on is for the onboard sound. You should disable this.
You still get the error message because there is still a process using it. What distribution are you using? The easiest way to setup te system is our HiFiBerry installer:
http://support.hifiberry.com/hc/en-us/articles/205389831-HiFiBerry-installer
Best regards
Daniel
I have the RASPBIAN JESSIE LITE because it is very fast and small. I need no xServer.
Most likely you have a process running that blocks the sound card. Also check /etc/asound.conf. It could also a permission problem. As we don't use Raspbian lite, it is hard to say what might be the issue here. You might need some low level permission debugging with strace.
Best regards
Daniel
Can I remove the xServer (X-11) environment from raspbian, if I use HiFiBerry installer?
When do you want to install the RASPBIAN JESSIE LITE in HiFiBerry installer?
Many people will be happy about it. :)
We don't plan to support this as there are not many people using this. You can remove any package you like from the full Raspbian installation. But it is not even needed to remove it. Raspbian by default doesn't start the graphical environment but boots to command line.
Best regards
Daniel
My project works with HiFiBerry installer. :)
How and where can I upload a picture of a project to your Homepage?
Hi,
just post the project including pictures under http://support.hifiberry.com/hc/en-us/community/topics/200398351-Your-HiFiBerry-installation
From time to time we will publish projects we like under customer projects.
Best regards
Daniel