Can't get HiFiBerry DAC ADC working

#1

Hey people,

for using MODEP with the HiFiBerry DAC+ ADC I need to update the kernel to a newer version (at least 4.18). How to do so? The official way with apt-get update & upgrade, etc. is not working here…

Thanks,
Chris

0 Likes

#2

sudo rpi-update

0 Likes

#3

Well, if it would be so easy, I wouldn’t create a topic about it. The kernel stays at 4.14. even after rpi-update.

0 Likes

#4

You have to reboot after the update, see the output:

modep@modep:~ $ sudo rpi-update

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for modep:
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13545  100 13545    0     0  66397      0 --:--:-- --:--:-- --:--:-- 66724
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 4.14.59-rt37-v7+
#############################################################
WARNING: This update bumps to rpi-4.19.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=224931
##############################################################
Would you like to proceed? (y/N)
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    416      0 --:--:-- --:--:-- --:--:--   417
100 58.5M  100 58.5M    0     0   705k      0  0:01:24  0:01:24 --:--:--  624k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 4.19.37-v7+
 *** depmod 4.19.37+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to 18e0a0f9a31e7a3a47d9c4301c7705b980ab0516
 *** A reboot is needed to activate the new firmware
modep@modep:~ $ sudo reboot
...
$ ssh modep@192.168.1.150
modep@192.168.1.150's password:
Linux modep 4.19.37-v7+ #1216 SMP Thu May 2 13:32:40 BST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon May  6 15:40:36 2019 from 192.168.1.134
modep@modep:~ $ uname -a
Linux modep 4.19.37-v7+ #1216 SMP Thu May 2 13:32:40 BST 2019 armv7l GNU/Linux
0 Likes

#5

Hi,

thanks for your reply again.
I have to excuse myself. You were totally right. The problem was the script from the link posted above.

So, in case someone else has problems to get it working, just follow the following steps and DO NOT FOLLOW THE LINK ABOVE AND DO NOT EXECUTE THE BASH-STRING THAT IS MENTIONED IN THAT LINK.

  • connect your pi to a internet connection
  • type sudo rpi-update and enter as suggested above.
  • reboot
  • type sudo nano /boot/config.txt and enter
  • uncomment dtparam=audio=on
  • add kernel=kernel7-hb.img
  • add dtoverlay=hifiberry-dacplusadc
  • CTRL-X + Y and enter
  • reboot
  • now follow the steps from this page Link

It’s working now! Thanks! :slight_smile:

1 Like