Hi
Am a complete and utter newbie, and try as i might with all the installation guides, there is always a pre-requisite of knowledge that I don't have.
I am currently trying to install the hifiberry DAC on my pi 2.
After doing the update for rasbian i get stuck....
under 'configure the software it says to add the few lines to the file/etc/modules?
where is this file?
any very basic and simple instructions will be most welcome!
Date
Votes
18 comments
-
HiFiBerry team Hi,
/etc/modules is in /etc. You can just edit it. However, with the latest Linux, you need to configure /boot/config.txt as documented here:
https://www.hifiberry.com/guides/configuring-linux-3-18-x/
Best regards
Daniel -
hetixo thank you.
how do i get to "/etc/modprobe.d/raspi-blacklist.conf on Raspbian"?
H -
HiFiBerry team just use your editor with the file name, e.g.
nano /etc/modprobe.d/raspi-blacklist.conf
Best regards
Daniel -
Stuart MacLean Hi
From the command line typecd /etc/modprobe.d
in order to get to the /etc/modprobe.d. Then typenano raspi-blacklist.conf
this will launch the text editor 'nano' that open and edit the raspi-blacklist.conf file for you, if it exists, and from there you can edit the file.
Note, if you're using the latest version of Raspbian (their latest version from https://www.raspberrypi.org/downloads/ is dated 05-05-2015) then it runs the 3.18 Linux kernel. This means that using "Device Tree Overlay" configuration should be sufficient by adding the line to /boot/config.txtdtoverlay=hifiberry-dacplus
in order for your system to see and load the DAC device drivers.
I see that the Raspbian distribution no longer has an /etc/modprobe.d/raspi-blacklist.conf file (probably because of this new device tree overlay functionality)... Hence this particular configuration step maybe redundant with regards to the latest Raspbian distribution.
You can confirm if the device has been loaded using the following commandaplay -l
and you should so hopefully see an output something like (in this case my setup is using the Digi with Raspberry Pi2)**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: 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 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
Note that in my configuration I have not removed the snd_bcm2835 line from /etc/modules, hence the onboard sound cards are listed.
Hope this helps,
Stuart -
hetixo ok thanks Stuart
I'm in Nano editor but the page is blank? At the top it says File: raspi-blacklist.conf but there is no code on the page?
H -
hetixo so i've typed in aplay -l and it's come up similar to yours but no sign of DAC -
HiFiBerry team Hi,
what is the output of the command:
cat /boot/config.txt
Best regards
Daniel -
hetixo bash: cat/boot/config.txt: No such file or directory -
HiFiBerry team There must be a space between cat and /boot/config.txt
Best regards
Daniel
BTW: Did you try our image with auto-detection from here:
https://www.hifiberry.com/guides/sd-card-images/ -
hetixo in nano, cat/boot/config.txt just comes up with a blank page -
HiFiBerry team You should not use nano, just post the output of the command cat /boot/config.txt
This will display the content of the file /boot/config.txt
As you are new to Linux, Raspbian might not be the optimal distribution for you. What exactly do you plan to do with the Raspberry Pi? Maybe another distribution might be easier to setup for your specific use case.
Best regards
Daniel -
hetixo ok
I've rerun that command (think i didn't have a space there when i tried it before)
at the bottom of the code it says dtoverlay=hifiberry-dacplus
I use my pi predominantly as a music centre but the sound output was not good enough so I bought one of these. -
HiFiBerry team Hi,
what software do you run on your Raspbian? Did you have a look at audio-distributions like RuneAudio, Volumio or Max2Play? With these you can configure everything from a web GUI.
What is the output of the commandsudo vcdbg log msg
Best regards
Daniel -
hetixo ok, don't know how to print screen image, unless it's the same as Windows.
But within the code i can actually see it says; Loaded Overlay 'hifiberry-dacplus'
I am going to look at the image thing you suggested?
The software that came with raspbian is the only one on there that plays files, so I guess i'm using the standard one. -
HiFiBerry team Hi,
if you want to play music from an network share or a directly attached USB stick or hard disk, have a look at RuneAudio, PiMusicBox or Volumio. These are quite easy to configure using a web interface.
Best regards
Daniel -
hetixo easy to configure the DAC to? -
HiFiBerry team With these distributions, you usually only have to select it in the settings menu and reboot.
Best regards
Daniel -
hetixo Ok thank for all your help, unfortunately SourceForge is down so I can't install volumio or runeaudio unless i can find another file host.
kind regards
hetixo
Please sign in to leave a comment.