Hifiberry DAC+ not detected after kernel update (Rpi3)

Raspberry Pi related support

Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby truckinve » 19 Nov 2016, 19:29

Hello everyone , first post here!,

Some days ago, I decided to get a Spotify premium trial and check it with Runeaudio. I got some pops and swapping in the channels while playing only in the Spotify option.

So I updated the kernel via SSH as described here and gitpull also. But now I can`t find my DAC+ and even I tried these settings:

- Un-comment Hifiberry DAC+ in config.txt like the first time I installed Rune. Then sync ,then reboot.
- Checking settings for I2S kernel devices (no list displayed).
- MPD audio output says "Nothing Selected"
- Alsa only detects onboard audio and hdmi. If I disable in config.txt, it doesn't detect any card.

I tried every possible option described on some posts.

This is the debug info http://pastebin.com/pjJGdkXR

And a snapshot of the settings. Is that ARCH kernel the correct one :lol: :lol: ?

Thank you!
Attachments
runecapture1.png
runecapture1.png (223.8 KiB) Viewed 5024 times
truckinve
 
Posts: 4
Joined: 19 Nov 2016, 18:49

Re: Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby surfninja » 19 Nov 2016, 21:22

Truckin,
Here is what my MPD config looks like. I'm running Linux runeaudio 4.1.20-1 kernel. I don't think I changed this. This is on a Rpi2. Not sure if it matters. I did ssh into my RP and update the config file to:

# Uncomment one of these lines to enable an audio interface
#dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
#dtoverlay=hifiberry-digi
#dtoverlay=hifiberry-amp
#dtoverlay=iqaudio-dac
#dtoverlay=iqaudio-dacplus
Attachments
Selection_056.png
Selection_056.png (22.35 KiB) Viewed 5013 times
rAudio 1, Raspberry Pi 2B
rAudio 1, Raspberry Pi 4B
rAudio 1, Raspberry Pi Zero W
surfninja
 
Posts: 95
Joined: 13 Mar 2015, 22:06
Location: Minnesota

Re: Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby truckinve » 19 Nov 2016, 22:00

surfninja wrote:Truckin,
Here is what my MPD config looks like. I'm running Linux runeaudio 4.1.20-1 kernel. I don't think I changed this. This is on a Rpi2. Not sure if it matters. I did ssh into my RP and update the config file to:

# Uncomment one of these lines to enable an audio interface
#dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
#dtoverlay=hifiberry-digi
#dtoverlay=hifiberry-amp
#dtoverlay=iqaudio-dac
#dtoverlay=iqaudio-dacplus



Hi !

Yeap, I did the same and it seems the code is correct, but no soundcard :( .

Maybe it is the newer kernel, strange it doesn't say on the settings Runeaudio kernel or something like that.

Thank you
truckinve
 
Posts: 4
Joined: 19 Nov 2016, 18:49

Re: Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby surfninja » 19 Nov 2016, 23:26

here is what I have. Also, my debug says:
###### System info ######
Linux version 4.4.27-1-ARCH (builduser@leming) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP Sun Oct 23 17:26:59 MDT 2016
Attachments
Selection_057.png
Selection_057.png (27.33 KiB) Viewed 5003 times
rAudio 1, Raspberry Pi 2B
rAudio 1, Raspberry Pi 4B
rAudio 1, Raspberry Pi Zero W
surfninja
 
Posts: 95
Joined: 13 Mar 2015, 22:06
Location: Minnesota

Re: Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby hondagx35 » 20 Nov 2016, 00:36

Hi truckinve,

updating the kernel:
* get access to the console (ssh)

* check the free space on your sd card (<=85%). If not resize your partition (see documentation)

* update the kernel and firmware
Code: Select all
pacman -Sy --force raspberrypi-firmware-bootloader linux-raspberrypi

EDIT: should now be
Code: Select all
pacman -Sy --force raspberrypi-firmware raspberrypi-bootloader linux-raspberrypi


* add "dtparam=audio=on" to your /boot/config.txt
Code: Select all
    # Uncomment one of these lines to enable an audio interface
    #dtoverlay=hifiberry-dac
    dtoverlay=hifiberry-dacplus
    #dtoverlay=hifiberry-digi
    #dtoverlay=hifiberry-amp
    #dtoverlay=iqaudio-dac
    #dtoverlay=iqaudio-dacplus
    dtparam=audio=on


* delete the file /etc/modules-load.d/ras....conf

* change the kernel name in data base
Code: Select all
uname -a
Linux runeaudio 4.4.33-1-ARCH #1 SMP Sat Nov 19 14:09:17 MST 2016 armv7l GNU/Linux

Code: Select all
redis-cli set kernel "Linux runeaudio 4.4.33-1-ARCH"


This works for me without problems (RP2 with Hifiberry DAC+)

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

Re: Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby surfninja » 20 Nov 2016, 01:07

Frank, thanks for the redis-cli command. I would have never thought that the kernel is a db value and not a uname(2) system call.

I did
Code: Select all
redis-cli set kernel "`uname -snr`"


your method is probably safer.
Attachments
Selection_058.png
Selection_058.png (27.23 KiB) Viewed 4984 times
rAudio 1, Raspberry Pi 2B
rAudio 1, Raspberry Pi 4B
rAudio 1, Raspberry Pi Zero W
surfninja
 
Posts: 95
Joined: 13 Mar 2015, 22:06
Location: Minnesota

Re: Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby truckinve » 20 Nov 2016, 17:12

Hi again

Aplay detected the Dac, thank you very much guys! . Will check the output on Spotify and give a response later.

Thank you!
truckinve
 
Posts: 4
Joined: 19 Nov 2016, 18:49

Re: Hifiberry DAC+ not detected after kernel update (Rpi3)

Postby kolia » 23 Feb 2017, 11:45

Hello,
I followed guidelines posted here. I'm currently setting up a Digi + Pro. aplay -l now displays the correct sound interface. However Rune Audio interface menu still shows HifiBerry (I2s)
Shall I consider that everything is fine?

FWIW: I had to remove raspberrypi-bootloader from this command pacman -Sy --force raspberrypi-firmware raspberrypi-bootloader linux-raspberrypi to get it working

Thank you
kolia
 
Posts: 4
Joined: 23 Feb 2017, 10:38

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 8 guests
cron