Can't enable HifiBerry DAC plus or I2S

Raspberry Pi related support

Can't enable HifiBerry DAC plus or I2S

Postby Bartguy » 21 Jun 2015, 22:37

Hi, I'm a total Linux noob so it took me a while to figure out how to edit the /boot/config.txt file. But I've edited it to remove the # from in front of the HifiBerry DAC plus. But it doesn't seem to have any effect on the runeaudio.local dashboard. All I see are USB and HDMI outputs as options. I even tried to uncomment the I2S settings and the other HiFiBerry dac, but those didn't seem to have any effect either. I've enclosed an excerpt from my debug file (full file was too big to fit) and a screen grab of the config.txt file. Can anybody see what I'm doing wrong. Really frustrating to not be able to make my DAC play.

Thanks for any help.

config.jpg
config.jpg (197.09 KiB) Viewed 6936 times



###### System info ######
Linux version 3.18.7-3-ARCH (builduser@leming) (gcc version 4.9.2 20141224 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Feb 13 06:23:21 MST 2015

system time: Sun Jun 21 23:21:49 CEST 2015

system load: 0.86 0.19 0.06 1/136 906

HW platform: RaspberryPi2 (08)

playerID: 08b26fff2ac4ddac6fee7fbbc1890504ae


###### System load statistics (procinfo -H) ######
sh: procinfo: command not found


###### Active processes (pstree) ######
systemd-+-2*[agetty]
|-avahi-daemon---avahi-daemon
|-cmd_async---sh---debug_collector---sh---pstree
|-dbus-daemon
|-devmon---udevil
|-dhcpcd
|-ifplugd
|-mpd-+-{decoder}
| |-{io}
| |-{mpd}
| |-{output:bcm2835 }
| `-{player}
|-nginx---nginx
|-nmbd
|-ntpd---{ntpd}
|-php-fpm---3*[php-fpm]
|-redis-server---2*[{redis-server}]
|-rune_PL_wrk
|-rune_SY_wrk
|-shairport---{shairport}
|-smbd---smbd
|-sshd
|-systemd-network
|-systemd-resolve
|-systemd-udevd---2*[systemd-udevd]
|-upmpdcli---7*[{upmpdcli}]
|-wpa_actiond
`-wpa_supplicant


###### Audio backend ######
Advanced Linux Sound Architecture Driver Version k3.18.7-3-ARCH.

Card list: (/proc/asound/cards)
--------------------------------------------------
0 [ALSA ]: bcm2835 - bcm2835 ALSA
bcm2835 ALSA


PLAYBACK devices: (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


PCM devices: (aplay -L)
--------------------------------------------------
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device


Simple mixer controls: (amixer scontrols)
--------------------------------------------------
card 0:
Simple mixer control 'PCM',0


Mixer controls: (amixer controls)
--------------------------------------------------
card 0:
numid=3,iface=MIXER,name='PCM Playback Route'
numid=2,iface=MIXER,name='PCM Playback Switch'
numid=1,iface=MIXER,name='PCM Playback Volume'
numid=5,iface=PCM,name='IEC958 Playback Con Mask'
numid=4,iface=PCM,name='IEC958 Playback Default'


MPD audio outputs status: (mpc outputs)
--------------------------------------------------
Output 1 (bcm2835 ALSA_2) is disabled
Output 2 (bcm2835 ALSA_1) is enabled


###### mpd.conf ######
###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use RuneUI MPD config section
###################################

state_file "/var/lib/mpd/mpdstate"
zeroconf_enabled "yes"
zeroconf_name "RuneAudio"
bind_to_address "/run/mpd.sock"
bind_to_address "any"
port "6600"
max_connections "20"
user "mpd"
group "audio"
db_file "/var/lib/mpd/mpd.db"
sticker_file "/var/lib/mpd/sticker.sql"
pid_file "/var/run/mpd/pid"
music_directory "/mnt/MPD"
playlist_directory "/var/lib/mpd/playlists"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
auto_update "yes"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
volume_normalization "no"
audio_buffer_size "2048"
buffer_before_play "10%"
gapless_mp3_playback "yes"
mixer_type "disabled"

input {
plugin "curl"
}

decoder {
plugin "ffmpeg"
enabled "yes"
}

audio_output {
name "bcm2835 ALSA_2"
type "alsa"
device "hw:0,0"
auto_resample "no"
auto_format "no"
}

audio_output {
name "bcm2835 ALSA_1"
type "alsa"
device "hw:0,0"
auto_resample "no"
auto_format "no"
enabled "yes"
}


###### Kernel optimization parameters ######
hardware platform: RaspberryPi2
current orionprofile: RuneAudio


kernel scheduler for mmcblk0: [noop] deadline cfq bfq
/proc/sys/vm/swappiness: 0
/proc/sys/kernel/sched_latency_ns: 18000000
/proc/sys/kernel/sched_rt_period_us: 1000000
/proc/sys/kernel/sched_rt_runtime_us: 950000
/proc/sys/kernel/sched_autogroup_enabled: 1
/proc/sys/kernel/sched_rr_timeslice_ms: 10
/proc/sys/kernel/sched_min_granularity_ns: 2250000
/proc/sys/kernel/sched_wakeup_granularity_ns: 3000000


###### Kernel module snd_usb_audio settings ######
Error opening module snd_usb_audio


php version: 5.5.19
debug level: 1


Debug data collected in 2.074 seconds.
Bartguy
 
Posts: 2
Joined: 21 Jun 2015, 22:23

Re: Can't enable HifiBerry DAC plus or I2S

Postby hondagx35 » 21 Jun 2015, 22:54

Hi Bartguy,

your config.txt looks good.
You only have to uncomment the line with HifiBerry DAC plus.

Did you reboot the device after you edited the file?

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Can't enable HifiBerry DAC plus or I2S

Postby LLZZ » 22 Jun 2015, 11:35

Hello,
you have to remove # both before the line device_tree_param=i2s=on and before the line corresponding the dacplus.
LLZZ
 
Posts: 6
Joined: 21 Jun 2015, 14:48

Re: Can't enable HifiBerry DAC plus or I2S

Postby Bartguy » 10 Jul 2015, 01:50

Thanks all. Uncommenting the device_tree_param got it to work.
Bartguy
 
Posts: 2
Joined: 21 Jun 2015, 22:23

Re: Can't enable HifiBerry DAC plus or I2S

Postby parametric » 24 Jul 2015, 10:09

Hi all,
I have exactly the same issue described by Bartguy but with Iqaudio dac+ board.
Did the same modification in config.txt (uncomment both lines related to I2S and iqaudio-dacplus), now I see Iqaudio dac (not dac+ !!!) in MPD menu but the sound is very poor & volume control don't works.
Any idea ?
Thx
parametric
 
Posts: 1
Joined: 24 Jul 2015, 09:55

Re: Can't enable HifiBerry DAC plus or I2S

Postby Tristan » 27 Jul 2015, 20:47

I simply uncommented the two lines below and everything ran fine.
Previously I used Volumio and had to set the the volume via alsamixer as the volume was low and distorted when I turned it up on the amp.

config.txt settings:
device_tree_param=i2s=on
device_tree_overlay=iqaudio-dacplus

Runeaudio GUI:
Audio Control: Disabled
Audio Output Interface: IQaudIO DAC (even though I also have the plus)
Tristan
 
Posts: 1
Joined: 27 Jul 2015, 20:39

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Bing [Bot] and 19 guests
cron