Activating of HifiBerry DAC without Web UI

Hello!

I have a HfiBerry DAC connected to my Raspi. Unfortunately I can’t activate HifiBerry using Web UI.
I tried to start the I2S driver from WebUI, but after reboot it not possible to choose any audio output.

  1. Which files I need to run HifiBerry DAC and where can I get these?
  2. It is necessary to modify a config file after adding the files?

Greetings
ONormahl

I had the same problem with the 1.1, and I had to reinstall the v1 for use the Hifiberry

had the same, raspyfi does better then volumio
see
hifiberry.com/products/dac/h … -software/

Hi!

(Excuse my poor english! :wink:

Try the following:

Connect via SSH to your Volumio,

sudo apt-get update sudo apt-get install git-core sudo apt-get bintutils sudo rpi-update sudo reboot

After the reboot activate the I2S Driver via WebUI.
Then connect via SSH an do

sudo nano /etc/modules

make sure the /etc/modules contains the following:

snd_soc_bcm2708 snd_soc_bcm2708_i2s bcm2708_dmaengine snd_soc_pcm5102a snd_soc_hifiberry_dac

Exit nano with Ctrl-X and save the modules file.

Reboot volumio and enjoy your DAC-Sound :wink:

I don’t own an Hifiberry DAC but have my DIY DAC hooked up with I2S to my Pi an it works like a charm :wink:

I hope this will work for you!

Yes, this procedure is correct. In next version everything wiil be working again.
Ps: I am really interested in knowing more on your DIY I2S DAC!
Let us know!

Thank you all for the info!

I have just reinstalled volumio1.1beta in a 8gb sd card and proceeded with the instructions. When finishing apt-get install git-core it shows:

[code]Selecting previously unselected package rsync.
Unpacking rsync (from …/rsync_3.0.9-4_armhf.deb) …
Setting up liberror-perl (0.17-1) …
Setting up git-man (1:1.7.10.4-1+wheezy1+rpi2) …
Setting up git (1:1.7.10.4-1+wheezy1+rpi2) …
Setting up git-core (1:1.7.10.4-1+wheezy1+rpi2) …
Setting up rsync (3.0.9-4) …
insserv: warning: script ‘K02shairport’ missing LSB tags and overrides
insserv: warning: script ‘shairport’ missing LSB tags and overrides
localepurge: Disk space freed in /usr/share/locale: 188 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB

Total disk space freed by localepurge: 188 KiB[/code]

Is everything ok?

Yeesss, now everything is up&running!

Somehow with 1.1Beta I feel music now sounds with a higher volume, could it be? I will try to toast the previous image in another sd card and compare volumes…

Hi!

nice tor read about your succes!

Many thanks for your interest! :slight_smile:
It’s actually more like a modular development-platform, used to determine different DAC topologies,
espacially analog outstages and things like ASRCs on the digital side.
Started almost 5 years ago with my search for the ‘holy grail’ of most natural music reproduction using digital sources… :unamused: a never ending story of course :smiley:
At the moment my DAC consists of an RPI feeding I2S into an AD1896 ASRC, an standard 50ps oscillator providing masterclock for the ASRC and the DACs,
two Ti PCM1794 DACs in mono configuration, I2S isolated via ISO7240 from the noisy digital ground of the digital frontend (RPI, DIR, ASRC and so on.) Symmetrical I/V conversion after the DACs is done via mosfets a’la nelson pass, followed by differential amplifiers utilizing ECC88 tubes.
Beside this an quite a bit overdosed Power supply feeds the “ensemble”…

Maybe i’ll post some photo of this mess someday… :wink:

Hello!
I try to ask for help here, too, I had an exchange of information with Daniel Cazy Audio of the non-functioning diHifiberry DAC. It made me do a lot of testing, but so far have not been able to listen to any song! :frowning:
I try to list the various attempts that I made:
I first tried the latest version delsw Volumio Beta 1.1
then I did the updates as indicated in the post above … but nothing!
Daniel then advised me to go to the Beta1
remade all the steps to update firmware etc etc … but nothing!
Via enclose the latest evidence that Daniel made ​​me do it … he claims he is not a hardware problem but a software problem.
Thanks for the help that you can give me

[code]login as: root
root@volumio.local’s password:
Linux volumio 3.10.27+ #630 PREEMPT Fri Jan 17 19:44:36 GMT 2014 armv6l
___
/_ \ __
__ __ //\ \ __ __ ___ ___ /_\ ___
/\ /\ \ / __\ \ \ /\ /\ \ /’ __ __/\ \ / __
\ \ _/ |/\ \L\ \
\ _\ \ _\ /\ /\ /\ \ \ /\ \L\
\ _
/ \ _//_\ _/\ _\ _\ _\ _\ _/
// // // // /////////___/

         Free Audiophile Linux Music Player - Version Beta1

             C 2013 Michelangelo Guarise - Volumio.org

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jan 22 17:35:27 2014 from htpc-pc.local
root@volumio:~# aplay -l
aplay: device_list:252: no soundcards found…
root@volumio:~# sudo nano /etc/modules
GNU nano 2.2.6 File: /etc/modules

snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_rpi_pcm5102a

                            [ Read 5 lines ]

^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
[/code]

In /etc/Modules must be another module at the end, search hifiberry website for how to configure linux system

Sent from my Nexus 4 using Tapatalk

I know that in the file /etc/modules/ configuration is different, the last line must be snd_soc_hifiberry_dac "… but when I change it and then I’m going to activate I2S Web page Volumio and then I reboot, it changes with what I posted above.

Place for completeness also the release of “demsg”

[code]login as: root
root@volumio.local’s password:
Linux volumio 3.10.27+ #630 PREEMPT Fri Jan 17 19:44:36 GMT 2014 armv6l
___
/_ \ __
__ __ //\ \ __ __ ___ ___ /_\ ___
/\ /\ \ / __\\ \ \ /\ \/\ \ /' __ __\/\ \ / __
\ \ _/ |/\ \L\ \
\ _\ \ _\ /\ /\ /\ \ \ /\ \L\
\ _
/ \ _//_\ _/\ _\ _\ _\ _\ _/
// // // // /////////___/

         Free Audiophile Linux Music Player - Version Beta1

             C 2013 Michelangelo Guarise - Volumio.org

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jan 22 21:25:44 2014 from htpc-pc.local
root@volumio:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.27+ (dc4@dc4-arm-01) (gcc version 4.7.2 201207 31 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #630 PREEMPT Fri Jan 17 19:44:36 GMT 2014
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr =00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruc tion cache
[ 0.000000] Machine: BCM2708
[ 0.000000] cma: CMA: reserved 16 MiB at 1e000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 126976
[ 0.000000] free_area_init_node: node 0, pgdat c05cfe74, node_mem_map c067d00 0
[ 0.000000] Normal zone: 992 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 126976 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 125984
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 b cm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x32f86e03 smsc95xx.m acaddr=B8:27:EB:F8:6E:03 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base =0x1fa00000 vc_mem.mem_size=0x20000000 force_turbo=1 dwc_otg.lpm_enable=0 conso le=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 elevato r=noop rootfstype=ext4 rootwait smsc95xx.turbo_mode=N
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 496MB = 496MB total
[ 0.000000] Memory: 480420k/480420k available, 27484k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdf800000 - 0xff000000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdf000000 ( 496 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05727a8 (5546 kB)
[ 0.000000] .init : 0xc0573000 - 0xc0597364 ( 145 kB)
[ 0.000000] .data : 0xc0598000 - 0xc05d0970 ( 227 kB)
[ 0.000000] .bss : 0xc05d0970 - 0xc067c4e0 ( 687 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4 294967ms
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.001197] Calibrating delay loop (skipped), value calculated using timer fr equency… 2.00 BogoMIPS (lpj=10000)
[ 0.001263] pid_max: default: 32768 minimum: 301
[ 0.001739] Mount-cache hash table entries: 512
[ 0.002548] Initializing cgroup subsys memory
[ 0.002657] Initializing cgroup subsys devices
[ 0.002698] Initializing cgroup subsys freezer
[ 0.002733] Initializing cgroup subsys blkio
[ 0.002893] CPU: Testing write buffer coherency: ok
[ 0.003371] Setting up static identity map for 0xc0406268 - 0xc04062c4
[ 0.005175] devtmpfs: initialized
[ 0.019673] NET: Registered protocol family 16
[ 0.025708] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.026885] bcm2708.uart_clock = 0
[ 0.028655] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.028712] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.028752] mailbox: Broadcom VideoCore Mailbox driver
[ 0.028851] bcm2708_vcio: mailbox at f200b880
[ 0.028958] bcm_power: Broadcom power driver
[ 0.028998] bcm_power_open() -> 0
[ 0.029027] bcm_power_request(0, 8)
[ 0.529745] bcm_mailbox_read -> 00000080, 0
[ 0.529789] bcm_power_request -> 0
[ 0.530013] Serial: AMBA PL011 UART driver
[ 0.530162] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.875125] console [ttyAMA0] enabled
[ 0.901176] bio: create slab at 0
[ 0.906492] SCSI subsystem initialized
[ 0.910470] usbcore: registered new interface driver usbfs
[ 0.916198] usbcore: registered new interface driver hub
[ 0.921762] usbcore: registered new device driver usb
[ 0.928399] Switching to clocksource stc
[ 0.932745] FS-Cache: Loaded
[ 0.935916] CacheFiles: Loaded
[ 0.951562] NET: Registered protocol family 2
[ 0.956975] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.964247] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.970772] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.977253] TCP: reno registered
[ 0.980514] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.986421] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.993160] NET: Registered protocol family 1
[ 0.998090] RPC: Registered named UNIX socket transport module.
[ 1.004156] RPC: Registered udp transport module.
[ 1.008883] RPC: Registered tcp transport module.
[ 1.013635] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.021056] bcm2708_dma: DMA manager at f2007000
[ 1.025874] bcm2708_gpio: bcm2708_gpio_probe c05a5e50
[ 1.031341] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000 000(512 MiB)
[ 1.040742] audit: initializing netlink socket (disabled)
[ 1.046416] type=2000 audit(0.890:1): initialized
[ 1.208597] VFS: Disk quotas dquot_6.5.2
[ 1.212972] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.221815] FS-Cache: Netfs ‘nfs’ registered for caching
[ 1.228555] NFS: Registering the id_resolver key type
[ 1.233849] Key type id_resolver registered
[ 1.238060] Key type id_legacy registered
[ 1.242851] msgmni has been set to 970
[ 1.248714] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 52)
[ 1.256565] io scheduler noop registered (default)
[ 1.261396] io scheduler deadline registered
[ 1.266129] io scheduler cfq registered
[ 1.270242] bcm2708_fb_debugfs_init: could not create debugfs entry
[ 1.277828] BCM2708FB: allocated DMA memory 5e400000
[ 1.282983] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 1.302704] Console: switching to colour frame buffer device 82x26
[ 1.312896] uart-pl011 dev:f1: no DMA platform data
[ 1.319225] kgdb: Registered I/O driver kgdboc.
[ 1.325801] vc-cma: Videocore CMA driver
[ 1.331075] vc-cma: vc_cma_base = 0x00000000
[ 1.337131] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.343902] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.359758] brd: module loaded
[ 1.369398] loop: module loaded
[ 1.374155] vchiq: vchiq_init_state: slot_zero = 0xde000000, is_master = 0
[ 1.383292] Loading iSCSI transport class v2.0-870.
[ 1.390578] usbcore: registered new interface driver smsc95xx
[ 1.397887] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.605081] Core Release: 2.80a
[ 1.609495] Setting default values for core params
[ 1.615603] Finished setting default values for core params
[ 1.822509] Using Buffer DMA mode
[ 1.827112] Periodic Transfer Interrupt Enhancement - disabled
[ 1.834236] Multiprocessor Interrupt Enhancement - disabled
[ 1.841066] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.846714] Dedicated Tx FIFOs mode
[ 1.852014] dwc_otg: Microframe scheduler enabled
[ 1.852251] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.858533] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.867150] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.873974] Init: Port Power? op_state=1
[ 1.879170] Init: Power Port (0)
[ 1.883845] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.892018] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 1.900648] usb usb1: Product: DWC OTG Controller
[ 1.906770] usb usb1: Manufacturer: Linux 3.10.27+ dwc_otg_hcd
[ 1.914013] usb usb1: SerialNumber: bcm2708_usb
[ 1.920686] hub 1-0:1.0: USB hub found
[ 1.925891] hub 1-0:1.0: 1 port detected
[ 1.931459] dwc_otg: FIQ enabled
[ 1.931477] dwc_otg: NAK holdoff enabled
[ 1.931487] dwc_otg: FIQ split fix enabled
[ 1.931507] Module dwc_common_port init
[ 1.931947] usbcore: registered new interface driver usb-storage
[ 1.939788] mousedev: PS/2 mouse device common for all mice
[ 1.947426] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[ 1.954720] bcm2835-cpufreq: switching to governor powersave
[ 1.961687] bcm2835-cpufreq: switching to governor powersave
[ 1.968633] cpuidle: using governor ladder
[ 1.973985] cpuidle: using governor menu
[ 1.979148] sdhci: Secure Digital Host Controller Interface driver
[ 1.986605] sdhci: Copyright© Pierre Ossman
[ 1.992247] sdhci: Enable low-latency mode
[ 2.042445] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platfor m’s DMA
[ 2.052976] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 2.060226] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.067373] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.076961] hidraw: raw HID events driver © Jiri Kosina
[ 2.091339] usbcore: registered new interface driver usbhid
[ 2.098391] usbhid: USB HID core driver
[ 2.108241] TCP: cubic registered
[ 2.115009] Initializing XFRM netlink socket
[ 2.122815] Indeed it is in host mode hprt0 = 00021501
[ 2.129409] NET: Registered protocol family 17
[ 2.145674] Key type dns_resolver registered
[ 2.163001] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 2.183394] registered taskstats version 1
[ 2.203245] Waiting for root device /dev/mmcblk0p3…
[ 2.224810] mmc0: read SD Status register (SSR) after 2 attempts
[ 2.250787] mmc0: new high speed SDHC card at address b368
[ 2.258429] mmcblk0: mmc0:b368 SDC 3.72 GiB
[ 2.265857] mmcblk0: p1 p3
[ 2.328309] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. O pts: (null)
[ 2.339447] VFS: Mounted root (ext4 filesystem) on device 179:3.
[ 2.357530] devtmpfs: mounted
[ 2.362508] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.370588] Indeed it is in host mode hprt0 = 00001101
[ 2.377387] Freeing unused kernel memory: 144K (c0573000 - c0597000)
[ 2.583164] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.591825] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.602461] hub 1-1:1.0: USB hub found
[ 2.608166] hub 1-1:1.0: 3 ports detected
[ 2.892814] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.003323] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.011863] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber =0
[ 3.029040] smsc95xx v1.0.4
[ 3.097645] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-bcm2708_usb-1 .1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f8:6e:03
[ 3.901320] udevd[156]: starting version 175
[ 4.687255] bcm2708_i2c_init_pinmode(0,0)
[ 4.806883] bcm2708_i2c_init_pinmode(0,1)
[ 4.891436] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100000)
[ 5.088214] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 5.184066] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 5.267420] bcm2708_i2c_init_pinmode(1,2)
[ 5.301312] bcm2708_i2c_init_pinmode(1,3)
[ 5.389654] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[ 5.827800] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[ 12.167653] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 12.579745] EXT4-fs (mmcblk0p3): Mount option “nouser_xattr” will be removed by 3.5
[ 12.579745] Contact linux-ext4@vger.kernel.org if you think we should keep it .
[ 12.579745]
[ 12.604056] EXT4-fs (mmcblk0p3): re-mounted. Opts: nouser_xattr,errors=remoun t-ro
[ 18.135149] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 20.577730] NET: Registered protocol family 10
[ 20.999664] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[ 21.008952] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 22.589387] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 22.598198] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE 1
[ 29.924539] Installing knfsd (copyright © 1996 okir@monad.swb.de).
root@volumio:~#
[/code]

First activate it on volumio gui, and after that edit modules and reboot

Sent from my Nexus 4 using Tapatalk

Hi,
Check the connections of your selfmade solder joints.

Karsten

Thank you!
finally hear the music! :smiley:

I am glad that I can help you

Sent from my Nexus 4 using Tapatalk

Use the beta1, then activate the i2s driver. Then reboot. It works. Don’t update the firmware .

For the others, the problem on beta 1.1 resides on different naming of the i2s modules. You should be good to go by just editing /etc/modules

nano /etc/modules

and making it look like that

snd_soc_bcm2708 snd_soc_bcm2708_i2s bcm2708_dmaengine snd_soc_pcm5102a snd_soc_hifiberry_dac snd_soc_rpi_dac

Save with ctrl+x and reboot. Don’t enable i2s modules again!

Thank you very much, it works like a charm :slight_smile:

This was just what I needed to get the hifiberry running. Maybe this subject could be a sticky ?

And Hi to the forum :slight_smile: